timorunge / ansible-freeipa-server

FreeIPA Identity Management Server provisioning.
BSD 3-Clause "New" or "Revised" License
18 stars 7 forks source link

Python DNS issue stops installer task #13

Closed freekdegreef closed 3 years ago

freekdegreef commented 3 years ago

If I'm honest I'm not entirely sure that this an issue with the playbook per se but I'm curious if anyone has run into this issue as well.

When running the 'Run the FreeIPA Server installer' task it keeps failing on this error. I've already tried to reinstall the python DNS package both using PIP and source but the issue remains. Does anyone have any idea why this might happen?

" from dns.exception import DNSException", " File \"/usr/lib/python2.7/site-packages/dns/exception.py\", line 141", " raise self.exception_class(str(exc_val)) from exc_val", " ^", "SyntaxError: invalid syntax"

freekdegreef commented 3 years ago

Managed to sort this out myself, the FreeIPA installer still uses Python 2.7 but dnspython is incompatible with Pyton 2.7 after version 1.16.0 . So if you downgrade dnspython it works for now.