Bug 1535791
Summary: | Upgrading node brings back previous hosted-engine configuration | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Germano Veit Michel <gveitmic> | ||||
Component: | imgbased | Assignee: | Ryan Barry <rbarry> | ||||
Status: | CLOSED ERRATA | QA Contact: | Yihui Zhao <yzhao> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.1.8 | CC: | bgraveno, cshao, dfediuck, gveitmic, huzhao, lveyde, qiyuan, rbarry, sbonazzo, yaniwang, ycui, yzhao | ||||
Target Milestone: | ovirt-4.2.1 | Flags: | lsvaty:
testing_plan_complete-
|
||||
Target Release: | 4.2.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | imgbased-1.0.7 | Doc Type: | Bug Fix | ||||
Doc Text: |
Red Hat Virtualization Host now ensures that deleted configuration files are no longer restored from previous layers when upgrading.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-05-15 17:57:44 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Germano Veit Michel
2018-01-18 06:12:37 UTC
Can reproduce. Additional host to the hostedengine cluster: 1. Deploy HostedEngine on one host, then add the another host to the HostedEngine cluster as the hostedengine additional host --------------------------------------------------------------------- [root@localhost ~]# imgbase w You are on rhvh-4.1-0.20171101.0+1 ll /etc/ovirt-hosted-engine total 8 -rw-r--r--. 1 root root 1039 Jan 22 15:12 hosted-engine.conf -rw-------. 1 root root 103 Nov 2 04:34 virsh_auth.conf [root@localhost ~]# systemctl status ovirt-ha-agent | grep Active Active: active (running) since Mon 2018-01-22 15:12:45 CST; 32min ago --------------------------------------------------------------------- 2. Upgrade to 4.1.8 (not async yet), reboot. --------------------------------------------------------------------- [root@hp-dl385pg8-11 ~]# imgbase w You are on rhvh-4.1-0.20171207.0+1 [root@hp-dl385pg8-11 ~]# ll /etc/ovirt-hosted-engine total 8 -rw-r--r--. 1 root root 1039 Jan 22 15:12 hosted-engine.conf -rw-------. 1 root root 103 Dec 8 04:16 virsh_auth.conf [root@hp-dl385pg8-11 ~]# systemctl status ovirt-ha-agent | grep Active Active: active (running) since Mon 2018-01-22 16:00:24 CST; 1min 18s ago ---------------------------------------------------------------------------- 3. Undeploy Hosted Engine (Maintenance -> Re-install -> Hosted-Engine -> Undeploy) ----------------------------------------------------------------------- ll /etc/ovirt-hosted-engine total 8 -rw-r--r--. 1 root root 1039 Jan 22 15:12 hosted-engine.conf.20180122160414 -rw-------. 1 root root 103 Dec 8 04:16 virsh_auth.conf # systemctl status ovirt-ha-agent | grep Active Active: failed (Result: exit-code) since Mon 2018-01-22 16:05:41 CST; 1min 21s ago # systemctl status ovirt-ha-agent | grep Loaded Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; disabled; vendor preset: disabled) --------------------------------------------------------------------------- 4. Upgrade to latest (4.1.8 async as of today) and reboot -------------------------------------------------------------------------- [root@hp-dl385pg8-11 ~]# imgbase w You are on rhvh-4.1-0.20180102.0+1 [root@hp-dl385pg8-11 ~]# ll /etc/ovirt-hosted-engine total 12 -rw-r--r--. 1 root root 1039 Jan 22 16:17 hosted-engine.conf -rw-r--r--. 1 root root 1039 Jan 22 15:12 hosted-engine.conf.20180122160414 -rw-------. 1 root root 103 Jan 3 07:17 virsh_auth.conf [root@hp-dl385pg8-11 ~]# systemctl status ovirt-ha-agent | egrep 'Loaded|Active' Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2018-01-22 16:29:35 CST; 29s ago ------------------------------------------------------------------------------ Created attachment 1384248 [details]
/var/log/*
The bug was fixed. Here is the verified process. Additional host to the hostedengine cluster: 1. Deploy HostedEngine on one host, then add the another host to the HostedEngine cluster as the hostedengine additional host --------------------------------------------------------------------- [root@hp-dl385pg8-11 ~]# imgbase w You are on rhvh-4.1-0.20171101.0+1 ll /etc/ovirt-hosted-engine total 8 -rw-r--r--. 1 root root 1039 Jan 30 14:00 hosted-engine.conf -rw-------. 1 root root 103 Nov 2 04:34 virsh_auth.conf [root@hp-dl385pg8-11 ~]# systemctl status ovirt-ha-agent | grep Active Active: active (running) since Tue 2018-01-30 14:00:46 CST; 2min 19s ago --------------------------------------------------------------------- 2. Upgrade to 4.1.8 (not async yet), reboot. --------------------------------------------------------------------- [root@hp-dl385pg8-11 ~]# imgbase w You are on rhvh-4.1-0.20171207.0+1 [root@hp-dl385pg8-11 ~]# ll /etc/ovirt-hosted-engine total 8 -rw-r--r--. 1 root root 1039 Jan 30 14:00 hosted-engine.conf -rw-------. 1 root root 103 Dec 8 04:16 virsh_auth.conf [root@hp-dl385pg8-11 ~]# systemctl status ovirt-ha-agent | grep Active Active: active (running) since Tue 2018-01-30 14:22:36 CST; 2min 56s ago ---------------------------------------------------------------------------- 3. Undeploy Hosted Engine (Maintenance -> Re-install -> Hosted-Engine -> Undeploy) ----------------------------------------------------------------------- [root@hp-dl385pg8-11 ~]# ll /etc/ovirt-hosted-engine total 8 -rw-r--r--. 1 root root 1039 Jan 30 14:00 hosted-engine.conf.20180130142716 -rw-------. 1 root root 103 Dec 8 04:16 virsh_auth.conf [root@hp-dl385pg8-11 ~]# systemctl status ovirt-ha-agent | grep Active Active: failed (Result: exit-code) since Tue 2018-01-30 14:28:07 CST; 1min 18s ago [root@hp-dl385pg8-11 ~]# systemctl status ovirt-ha-agent | grep Loaded Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; disabled; vendor preset: disabled) --------------------------------------------------------------------------- 4. Upgrade to latest (latest 4.2.1) and reboot -------------------------------------------------------------------------- [root@hp-dl385pg8-11 ~]# imgbase w You are on rhvh-4.2.1.2-0.20180126.0+1 [root@hp-dl385pg8-11 ~]# ll /etc/ovirt-hosted-engine total 8 -rw-r--r--. 1 root root 1039 Jan 30 14:00 hosted-engine.conf.20180130142716 -rw-------. 1 root root 103 Jan 26 20:16 virsh_auth.conf [root@hp-dl385pg8-11 ~]# systemctl status ovirt-ha-agent | egrep 'Loaded|Active' Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; disabled; vendor preset: disabled) Active: inactive (dead) ----------------------------------------------------------------------------- So, change ths bug's status to verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:1524 BZ<2>Jira Resync sync2jira sync2jira |