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

1 file Authored by abbra 3 years ago, Committed by cheimes 3 years 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>