2c393c0 Pre-populate IP addresses for the name server upgrades

1 file Authored by abbra 6 months ago, Committed by cheimes 6 months ago,
    Pre-populate IP addresses for the name server upgrades
    
    Setting up resolv.conf in BIND instance expects IP addresses of the
    server to be provided. This is done wiht BindInstance.setup() method
    call. However, when reusing resolver setup during upgrade BIND instance
    has no IP addresses configured and fails with an assert in
    tasks.configure_dns_resolver().
    
    Pass through the server's IP addresses during upgrade.
    
    Fixes: https://pagure.io/freeipa/issue/8518
    
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>