Bug 1543988
Summary: | hosted-engine --get-shared-config rewrites all the hosted-engine configuration files loosing spm id | |||
---|---|---|---|---|
Product: | [oVirt] ovirt-hosted-engine-ha | Reporter: | Simone Tiraboschi <stirabos> | |
Component: | General | Assignee: | Martin Sivák <msivak> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nikolai Sednev <nsednev> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | --- | CC: | bugs | |
Target Milestone: | ovirt-4.2.2 | Keywords: | Triaged, ZStream | |
Target Release: | --- | Flags: | rule-engine:
ovirt-4.1+
rule-engine: ovirt-4.2+ rule-engine: ovirt-4.3+ rule-engine: blocker+ |
|
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | ovirt-hosted-engine-ha-2.2.7-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1554283 (view as bug list) | Environment: | ||
Last Closed: | 2018-03-29 11:07:17 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1458711, 1554283 |
Description
Simone Tiraboschi
2018-02-09 18:04:19 UTC
This looks by far worst than I though. /etc/ovirt-hosted-engine/hosted-engine.conf got also rewrote by the copy on the shared storage and so all the host where hosted-engine --get-shared-config get executed will end with host_id=1 causing an spm collision almost for sure. I think it affects 4.1 as well. [root@alma03 ~]# rm -f /var/run/ovirt-hosted-engine-ha/vm.conf [root@alma03 ~]# hosted-engine --get-shared-config gateway Duplicate key gateway, please specify the key type [root@alma03 ~]# ls -l /var/run/ovirt-hosted-engine-ha/vm.conf -rw-r--r--. 1 vdsm kvm 9582 Mar 19 12:34 /var/run/ovirt-hosted-engine-ha/vm.conf ovirt-hosted-engine-ha-2.2.7-1.el7ev.noarch ovirt-hosted-engine-setup-2.2.13-1.el7ev.noarch rhvm-appliance-4.2-20180202.0.el7.noarch Linux 3.10.0-861.el7.x86_64 #1 SMP Wed Mar 14 10:21:01 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux Server release 7.5 (Maipo) Privilege is vdsm:kvm. Moving to verified. This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |