Description of problem:
ovirt-ha-broker service not being turned off on undeployed ha-host, while it should be turned off.
puma19 ~]# systemctl status ovirt-ha-agent
● ovirt-ha-agent.service - oVirt Hosted Engine High Availability Monitoring Agent
Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; disabled; vendor preset: disabled)
Active: inactive (dead)
puma19 ~]# systemctl status ovirt-ha-broker
● ovirt-ha-broker.service - oVirt Hosted Engine High Availability Communications Broker
Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-broker.service; disabled; vendor preset: disabled)
Active: active (running) since Sun 2017-05-21 14:35:19 IDT; 24h ago
Main PID: 16527 (ovirt-ha-broker)
└─16527 /usr/bin/python /usr/share/ovirt-hosted-engine-ha/ovirt-ha-broker --no-daemon
If you'll follow the https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html/self-hosted_engine_guide/removing_a_host_from_a_self-hosted_engine_environment , you should see there in "5.2. REMOVING A HOST FROM A SELF-HOSTED ENGINE ENVIRONMENT" that "3.Click the Hosted Engine sub-tab and select the Undeploy radio button. This action stops the ovirt-ha-agent and ovirt-ha-broker services and removes the self-hosted engine configuration file.
Version-Release number of selected component (if applicable):
Linux version 3.10.0-514.21.1.el7.x86_64 (email@example.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Sat Apr 22 02:41:35 EDT 2017
Linux 3.10.0-514.21.1.el7.x86_64 #1 SMP Sat Apr 22 02:41:35 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.3 (Maipo)
Steps to Reproduce:
1.Deploy HE on pair of hosts over NFS and add one or more NFS data storage domains to get hosted-storage auto-imported.
2.Undeploy one of the ha-hosts.
3.Check for "systemctl status ovirt-ha-agent" and "systemctl status ovirt-ha-broker" on undeployed host.
ovirt-ha-broker service is running.
ovirt-ha-broker service should be properly stopped.
Logs from undeplloyed host and the engine being attached.
This bug being opened from one of three different issues risen from https://bugzilla.redhat.com/show_bug.cgi?id=1442580.
Created attachment 1281035 [details]
Created attachment 1281036 [details]
undeployed host with active broker
Created attachment 1281037 [details]
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Sandro, is this an oVirt GA blocker? If it is, please make sure it's being worked on. Otherwise, please defer to 4.2.1.
https://github.com/oVirt/ovirt-ansible/pull/130 should address this
(In reply to Simone Tiraboschi from comment #6)
> https://github.com/oVirt/ovirt-ansible/pull/130 should address this
Right, adding dependency on BZ1463653
Followed reproduction steps and now its working as expected.
Moving to verified.
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.
Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.
If the solution does not work for you, please open a new bug report.