Uninstalling replica leaves RUVs not cleaned. Corresponding CI test is failing.
Test test_integration/test_topology.py::TestCASpecificRUVs::test_replica_uninstall_deletes_ruvs is failing with:
2017-12-05 20:39:53,610 DEBUG master.config.dirman_password]).stdout_text 2017-12-05 20:39:53,610 DEBUG assert(res1.count(replica.hostname) == 2), ( 2017-12-05 20:39:53,611 DEBUG "Did not find proper number of replica hostname (%s) occurrencies" 2017-12-05 20:39:53,611 DEBUG " in the command output: %s" % (replica.hostname, res1)) 2017-12-05 20:39:53,611 DEBUG tasks.uninstall_master(replica) 2017-12-05 20:39:53,611 DEBUG res2 = master.run_command(['ipa-replica-manage', 'list-ruv', '-p', 2017-12-05 20:39:53,611 DEBUG master.config.dirman_password]).stdout_text 2017-12-05 20:39:53,611 DEBUG > assert(replica.hostname not in res2), ( 2017-12-05 20:39:53,611 DEBUG "Replica RUVs were not clean during replica uninstallation") 2017-12-05 20:39:53,612 DEBUG E AssertionError: Replica RUVs were not clean during replica uninstallation 2017-12-05 20:39:53,612 DEBUG E assert 'replica0.ipa.test' not in 'Replica Update V...ipa.test:389: 8\n' 2017-12-05 20:39:53,612 DEBUG E 'replica0.ipa.test' is contained here: 2017-12-05 20:39:53,612 DEBUG E Replica Update Vectors: 2017-12-05 20:39:53,612 DEBUG E \tmaster.ipa.test:389: 4 2017-12-05 20:39:53,612 DEBUG E \treplica0.ipa.test:389: 7 2017-12-05 20:39:53,612 DEBUG E \treplica1.ipa.test:389: 3 2017-12-05 20:39:53,613 DEBUG E Certificate Server Replica Update Vectors: 2017-12-05 20:39:53,613 DEBUG E \tmaster.ipa.test:389: 6... 2017-12-05 20:39:53,613 DEBUG E 2017-12-05 20:39:53,613 DEBUG E ...Full output truncated (2 lines hidden), use '-vv' to show
Test case: https://www.freeipa.org/page/V4/Manage_replication_topology_4_4/Test_Plan#Test_case:_.2A-ruv_subcommands_of_ipa-replica-manage_are_extended _to_handle_CA-specific_RUVs
Metadata Update from @pvoborni: - Issue private status set to: False (was: True)
Metadata Update from @rcritten: - Issue priority set to: normal - Issue set to the milestone: FreeIPA 4.6.4
master:
Metadata Update from @cheimes: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
ipa-4-6: