Skip to content
Snippets Groups Projects
  • Rafael Guterres Jeffman's avatar
    92972fd1
    ipahost: fix adding host for servers without DNS configuration. · 92972fd1
    Rafael Guterres Jeffman authored
    When using ipahost module with servers where DNS was not configured
    it failed to add hosts due to an exception raised on `dnsrecord_show`
    that was not being correctly handled.
    
    As the exception was being handled twice, the This patch simply removes
    one of the handlers, allowing the exception to propagate to the caller,
    where it is handled.
    
    Fixes issue #434.
    92972fd1
    History
    ipahost: fix adding host for servers without DNS configuration.
    Rafael Guterres Jeffman authored
    When using ipahost module with servers where DNS was not configured
    it failed to add hosts due to an exception raised on `dnsrecord_show`
    that was not being correctly handled.
    
    As the exception was being handled twice, the This patch simply removes
    one of the handlers, allowing the exception to propagate to the caller,
    where it is handled.
    
    Fixes issue #434.
ipahost.py 58.79 KiB