Bug 1155637
Summary: | [hosted-engine][iscsi] [dirty storage] [ ERROR ] Failed to execute stage 'Misc configuration': Wrong Master domain or its version: | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Jiri Belka <jbelka> | ||||||||
Component: | ovirt-hosted-engine-setup | Assignee: | Simone Tiraboschi <stirabos> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Elad <ebenahar> | ||||||||
Severity: | urgent | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 3.5.0 | CC: | aburden, dfediuck, ebenahar, gklein, jbelka, lsurette, sbonazzo, scohen, sherold, stirabos, ykaul | ||||||||
Target Milestone: | ovirt-3.6.0-rc | Keywords: | ZStream | ||||||||
Target Release: | 3.6.0 | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | ovirt-hosted-engine-setup-1.2.1-5.el7ev | Doc Type: | Bug Fix | ||||||||
Doc Text: |
Additional VDSM flags have been added to improve handling of pre-existing storage domains in hosted engine deployments.
|
Story Points: | --- | ||||||||
Clone Of: | |||||||||||
: | 1199905 (view as bug list) | Environment: | |||||||||
Last Closed: | 2016-03-09 19:06:05 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: | 1215623, 1220824 | ||||||||||
Bug Blocks: | 1150419, 1199905 | ||||||||||
Attachments: |
|
(existing) 'metadata' lv is doesn't have filesystem, strings against raw lv and output is in attachment. [root@dell-r210ii-04 ~]# multipath -ll /dev/dm-4 1jbelka03 dm-4 RH-str01,VIRTUAL-DISK size=30G features='0' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=1 status=active `- 7:0:0:3 sdd 8:48 active ready running [root@dell-r210ii-04 ~]# pvs /dev/mapper/1jbelka03 PV VG Fmt Attr PSize PFree /dev/mapper/1jbelka03 e133f938-1bce-4777-b3da-e9f951a377f8 lvm2 a-- 29.62g 25.50g [root@dell-r210ii-04 ~]# lvs e133f938-1bce-4777-b3da-e9f951a377f8 LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert 33a2ea30-7e68-4c24-9920-c478772cbc2b e133f938-1bce-4777-b3da-e9f951a377f8 -wi-a----- 128.00m 63374fb6-94be-4d40-be5a-5c91b451be72 e133f938-1bce-4777-b3da-e9f951a377f8 -wi-a----- 128.00m ids e133f938-1bce-4777-b3da-e9f951a377f8 -wi-a----- 128.00m inbox e133f938-1bce-4777-b3da-e9f951a377f8 -wi-a----- 128.00m leases e133f938-1bce-4777-b3da-e9f951a377f8 -wi-a----- 2.00g master e133f938-1bce-4777-b3da-e9f951a377f8 -wi-a----- 1.00g metadata e133f938-1bce-4777-b3da-e9f951a377f8 -wi-a----- 512.00m outbox e133f938-1bce-4777-b3da-e9f951a377f8 -wi-a----- 128.00m [root@dell-r210ii-04 ~]# blkid | grep e133 /dev/mapper/e133f938--1bce--4777--b3da--e9f951a377f8-master: UUID="ae3d2f7c-e199-4dc9-9fe3-8459f445d35c" SEC_TYPE="ext2" TYPE="ext3" Created attachment 949768 [details]
metadata lv data
i'll try with clean iscsi lun but later, now verificationthon :) Which kind of storage domain was in lun 3 before running hosted-engine --deploy? Please specify the lun id (1, 2, 3) [1]: 3 The specified storage location already contains a data domain. Is this an additional host setup (Yes, No)[Yes]? No data domain This has nothing to do with bug 1149634, removing dependency. Next time please verify with the relevant team before creating such dependency. This issue is a result of a dirty environment. It should not effect any proper upgrade or clean install. *** Bug 1158822 has been marked as a duplicate of this bug. *** Re-targeting to 3.5.0 after discussion about current implementation with storage team. Used a LUN that have a storage domain which was master domain in a different setup. Deployment still fails with the same error: RuntimeError: Wrong Master domain or its version: 'SD=ae05**FILTERED**daa-e6**FILTERED**f-42e8-8fd9-b67f338c5365, pool=00000002-0002-0002-0002-00000000037b' 20**FILTERED**4-**FILTERED**2-25 **FILTERED**2:02:2**FILTERED** ERROR otopi.context context._executeMethod:**FILTERED**6**FILTERED** Failed to execute stage 'Misc configuration': Wrong Master domain or its version : 'SD=ae05**FILTERED**daa-e6**FILTERED**f-42e8-8fd9-b67f338c5365, pool=00000002-0002-0002-0002-00000000037b' Checked using rhev 3.5 vt13.5 ovirt-hosted-engine-setup-1.2.1-8.el6ev.noarch vdsm-4.16.8.1-4.el6ev.x86_64 sanlock-2.8-1.el6.x86_64 selinux-policy-3.7.19-260.el6_6.1.noarch Re-openning Created attachment 972966 [details]
logs
Simone, this BZ is in post but I see all referenced patches have been merged. Can you sync this BZ status? Cannot be tested due to https://bugzilla.redhat.com/show_bug.cgi?id=1215623 Deployment over a dirty LUN that contained a data domain in it works as expected. Verified using 3.6.0-1 vdsm-4.17.0-912.git25a063d.el7.noarch ovirt-hosted-engine-setup-1.3.0-0.0.master.20150518075146.gitdd9741f.el7.noarch 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://rhn.redhat.com/errata/RHEA-2016-0375.html |
Created attachment 949403 [details] /var/log Description of problem: hosted-engine --deploy # with iscsi storage for the VM. ... Please specify the storage you would like to use (iscsi, nfs3, nfs4)[nfs3]: iscsi Please specify the iSCSI portal IP address: 10.34.63.202 Please specify the iSCSI portal port [3260]: Please specify the iSCSI portal user: Please specify the target name (iqn.2011-01.brq.str-01:pstehlik, iqn.2012-06.brq.str-01:brq-setup, iqn.2012-10.brq.str-01:cmestreg, iqn.2012-10.brq.str-01:kjachim, iqn .2012-10.brq.str-01:lbednar, iqn.2012-10.brq.str-01:mbetak, iqn.2013-12.brq.str-01:ha-tests, iqn.2013-12.brq.str-01:jbelka, iqn.2013-12.brq.str-01:mpavlik) [iqn.2011-01.brq.str- 01:pstehlik]: iqn.2013-12.brq.str-01:jbelka The following luns have been found on the requested target: 1 - sdb - 18432MB 2 - sdc - 18432MB 3 - sdd - 30720MB Please specify the lun id (1, 2, 3) [1]: 3 The specified storage location already contains a data domain. Is this an additional host setup (Yes, No)[Yes]? No [ INFO ] Installing on first host Please provide storage domain name. [hosted_storage]: ... --== CONFIGURATION PREVIEW ==-- Engine FQDN : jb-hostedengine.rhev.lab.eng.brq.redhat.com Bridge name : rhevm SSH daemon port : 22 Firewall manager : iptables Gateway address : 10.34.63.254 Host name for web application : hosted_engine_1 iSCSI Target Name : iqn.2013-12.brq.str-01:jbelka iSCSI Portal port : 3260 Host ID : 1 iSCSI LUN ID : 3 Image size GB : 25 iSCSI Portal IP Address : 10.34.63.202 iSCSI Portal user : Console type : vnc Memory size MB : 4096 MAC address : 00:16:3e:34:d7:a1 Boot type : pxe Number of CPUs : 2 CPU Type : model_SandyBridge ... [ INFO ] Connecting Storage Pool [ ERROR ] Failed to execute stage 'Misc configuration': Wrong Master domain or its version: 'SD=e133f938-1bce-4777-b3da-e9f951a377f8, pool=00000002-0002-0002-0002-0000000001f1' [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Answer file '/etc/ovirt-hosted-engine/answers.conf' has been updated [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination Version-Release number of selected component (if applicable): vdsm-4.16.7-1.el6ev.x86_64 vdsm-python-4.16.7-1.el6ev.noarch ovirt-hosted-engine-ha-1.2.4-1.el6ev.noarch vdsm-python-zombiereaper-4.16.7-1.el6ev.noarch ovirt-host-deploy-1.3.0-1.el6ev.noarch vdsm-xmlrpc-4.16.7-1.el6ev.noarch vdsm-yajsonrpc-4.16.7-1.el6ev.noarch ovirt-hosted-engine-setup-1.2.1-1.el6ev.noarch vdsm-cli-4.16.7-1.el6ev.noarch vdsm-jsonrpc-4.16.7-1.el6ev.noarch How reproducible: 100 % Steps to Reproduce: 1. hosted-engine --deploy # use iscsi 2. 3. Actual results: failes on some domain issue Expected results: should work Additional info: