Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some deprecation issues, add support for DNS URI records #223

Merged
merged 4 commits into from Sep 17, 2021

Conversation

rcritten
Copy link
Collaborator

@rcritten rcritten commented Sep 3, 2021

Fix a couple of deprecation warnings coming from IPA and python3-dns.

Also add support for DNS URI records. If the underlying IPA during the test execution contains support for URI records but that support isn't built into healthcheck then some tests will fail and output like this will be seen:

ERROR root:idns.py:73 Unhandled rdtype 256
ERROR root:idns.py:73 Unhandled rdtype 256
ERROR root:idns.py:73 Unhandled rdtype 256
ERROR root:idns.py:73 Unhandled rdtype 256
ERROR root:idns.py:73 Unhandled rdtype 256
ERROR root:idns.py:73 Unhandled rdtype 256
ERROR root:idns.py:73 Unhandled rdtype 256
ERROR root:idns.py:73 Unhandled rdtype 256

rdtype 256 == URI

So do this as an all-in-one shot since the DNS changes are related.

The ipaserver.install.installutils version is deprecated

freeipa#221

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Loosely based on ipa commit 49e643783d22ded7a44d84599020af4e8a3d4d5a

freeipa#221

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
URI records are not required but if they exist they are
validated.

freeipa#222

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
@rcritten rcritten force-pushed the issue_221 branch 2 times, most recently from 33310b3 to e39cdd1 Compare September 3, 2021 20:33
This is mostly from the freeip commit
eefbe8558b25ca9e9da10b391ec41e2987b8bd2d

Also fix a few legitimate issues the newer pylint uncovered.

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Copy link
Collaborator

@fcami fcami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@fcami fcami added the ack label Sep 17, 2021
@fcami fcami merged commit 0bdd0f8 into freeipa:master Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants