diff options
author | Martin Kosek <mkosek@redhat.com> | 2011-10-06 11:26:03 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-10-06 11:27:50 +0200 |
commit | 5b968f96328a3044c89d2499b91aa38aa9cf0c80 (patch) | |
tree | a2fcc92a9a1e8065a6085ca065b93eb3ed8119df /ipalib/plugins/internal.py | |
parent | 652d315b3e486abb0b51e02437cd0f1243425a6e (diff) | |
download | freeipa-5b968f96328a3044c89d2499b91aa38aa9cf0c80.tar.gz freeipa-5b968f96328a3044c89d2499b91aa38aa9cf0c80.tar.xz freeipa-5b968f96328a3044c89d2499b91aa38aa9cf0c80.zip |
Improve ipa-replica-prepare DNS check
Currently, verify_fqdn() function raises RuntimeError for every
problem with the hostname. This makes it difficult for tools
like ipa-replica-prepare to behave differently for a subset of
raised errors (for example to be able to create a DNS record for
new replica when verify_fqdn() reports a lookup error).
Implement own exceptions for verify_fqdn() that they can be safely
used to distinguish the error type.
https://fedorahosted.org/freeipa/ticket/1899
Diffstat (limited to 'ipalib/plugins/internal.py')
0 files changed, 0 insertions, 0 deletions