Skip to content
Snippets Groups Projects
  • Thomas Woerner's avatar
    22d8784d
    ipahost: Do not fail on missing DNS or zone when no IP address given · 22d8784d
    Thomas Woerner authored
    If no IP address is given and either DNS is not configured or if the zone is
    not found then ipahost may not fail in dnsrecord_find.
    
    The error happened for example by ensuring the absence of a host that is not
    part of the domain or for a host that has been added with force and is using
    a domain that is not served by the DNS server in the domain. It also
    happened if there was no DNS server in the domain at all.
    
    A new test case has been added to test_host_ipaddresses.yml
    
    The fix requires ipalib_errors provided by ansible_freeipa_module.
    
    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1804838
    22d8784d
    History
    ipahost: Do not fail on missing DNS or zone when no IP address given
    Thomas Woerner authored
    If no IP address is given and either DNS is not configured or if the zone is
    not found then ipahost may not fail in dnsrecord_find.
    
    The error happened for example by ensuring the absence of a host that is not
    part of the domain or for a host that has been added with force and is using
    a domain that is not served by the DNS server in the domain. It also
    happened if there was no DNS server in the domain at all.
    
    A new test case has been added to test_host_ipaddresses.yml
    
    The fix requires ipalib_errors provided by ansible_freeipa_module.
    
    Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1804838