Test upgrade of FreeIPA server and client deployment
ClosedPublic

Authored by adamwill on Jun 1 2017, 8:53 AM.

Details

Summary

This adds an upgrade variant of the FreeIPA tests, with only
the simplest client enrolment (sssd) for now. The server test
starts from the N-1 release and deploys the domain controller
role. The client test similarly starts from the N-1 release
and, when the server is deployed, enrols as a domain client.
Then the server upgrades itself, while the client waits (as the
server is its name server). Then the client upgrades itself,
while the server does some self-checks. The server then waits
for the client to do its checks before decommissioning itself,
as usual. So, summary: *deployment* of both server and client
occurs on N-1, then both are upgraded, then the actual *checks*
occur on N.

In my testing, this all more or less works, except the role
decommission step fails. This failure seems to be a genuine one
so far as I can tell; I intend to file a bug for it soon.

Test Plan

Run the new tests, check they work. Run the existing
FreeIPA tests (both the compose and the update variants), check
they both behave the same.

Diff Detail

Repository
rOPENQATESTS os-autoinst-distri-fedora
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
adamwill created this revision.Jun 1 2017, 8:53 AM
jsedlak accepted this revision.Jun 2 2017, 12:02 PM

Marvelous.

This revision is now accepted and ready to land.Jun 2 2017, 12:02 PM
Closed by commit rOPENQATESTSdf2c3cd90648: Test upgrade of FreeIPA server and client deployment (authored by Adam Williamson <awilliam@redhat.com>). · Explain WhyJun 2 2017, 7:17 PM
This revision was automatically updated to reflect the committed changes.