Commit Graph

4 Commits

Author SHA1 Message Date
Grzegorz Grasza 2ffc08c544 Move test_ipa_integration to functional tests directory
Since novajoin integrates Nova with FreeIPA, functional tests
won't be able to run without FreeIPA. Therefore, we want to run
integration tests together with functional tests.

Change-Id: I93a3ef03b8bf2141710602fd8ba5f01098767fe3
2018-11-06 13:27:36 +01:00
Ade Lee b74cae51e3 Fix novajoin-ipa-setup to set logging correctly
In freeipa f62a0fdb904d2a4bb1961847e240dbb6df3b0b67 the IPA
client library was modified to remove the log_manager.  This patch
fixes the novajoin code for all versions of IPA.

See rhbz# 1644747

Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Co-Authored-By: Grzegorz Grasza <xek@redhat.com>
Change-Id: I2da12bedfc8790ebd1005c98f2e05953d127b3b9
2018-11-04 11:39:59 +01:00
Grzegorz Grasza 01be20f981 Run pep8 tox env with python3 interpreter
This changes the pep8 environ to run pyflakes3 and
fixes python3 compatibility errors.

Change-Id: I2a57966cd60fbc54be1f07a2505ff029ab8dda41
2018-10-24 16:16:47 +02:00
Rob Crittenden 3e4c66d84c Refactor the connection code to be more robust
Remove some duplicated code, handle KerberosError and make
get_host_and_realm() a top-level method.

Add integration test for IPA connection code. It must be run
manually against a current installation at the moment.

Make the default IPA retry two so we actually do a retr

Change-Id: I6c0b52ed964851eff43c2d3fb209a90f9b1539e4
2017-02-01 10:30:22 -05:00