Problem installing hosted engine on CentOS 7 host

Hi, I'm just trying to set up ovirt 3.5 for testing and am unable to get hosted engine installed. The problem appears to be something to do with multipath iscsi setup. I run 'hosted-engine --deploy' and answer all the questions. See the config preview below. --== CONFIGURATION PREVIEW ==-- Engine FQDN : ovirt.domain.local Bridge name : ovirtmgmt SSH daemon port : 22 Firewall manager : iptables Gateway address : 192.168.42.254 Host name for web application : hosted_engine iSCSI Target Name : iqn.2014-10.storage.domain.san0:iscsi0 iSCSI Portal port : 3260 Host ID : 1 iSCSI LUN ID : 0 Image size GB : 25 iSCSI Portal IP Address : 10.50.0.200 iSCSI Portal user : myuser Console type : vnc Memory size MB : 4096 MAC address : 00:16:3e:23:b4:c2 Boot type : cdrom Number of CPUs : 2 ISO image (for cdrom boot) : /tmp/CentOS-7.0-1406-x86_64-DVD.iso CPU Type : model_Nehalem At the iscsi target question it shows both target names (for each of the multipath options) but you only seem to be able to choose one. After confirming the settings above I get the following. [ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Creating Volume Group [ ERROR ] Failed to execute stage 'Misc configuration': Failed to initialize physical device: ("['/dev/mapper/36001405fbaac4f30dd647b083c6a0116']",) [ 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 The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue. https://bugzilla.redhat.com/show_bug.cgi?id=1154353 Cheers, Justin.

----- Original Message -----
From: "Justin Clacherty" <justin@redfish.com.au> To: Users@ovirt.org Sent: Monday, October 27, 2014 3:25:44 AM Subject: [ovirt-users] Problem installing hosted engine on CentOS 7 host
Hi,
I'm just trying to set up ovirt 3.5 for testing and am unable to get hosted engine installed. The problem appears to be something to do with multipath iscsi setup. I run 'hosted-engine --deploy' and answer all the questions. See the config preview below.
--== CONFIGURATION PREVIEW ==--
Engine FQDN : ovirt.domain.local Bridge name : ovirtmgmt SSH daemon port : 22 Firewall manager : iptables Gateway address : 192.168.42.254 Host name for web application : hosted_engine iSCSI Target Name : iqn.2014-10.storage.domain.san0:iscsi0 iSCSI Portal port : 3260 Host ID : 1 iSCSI LUN ID : 0 Image size GB : 25 iSCSI Portal IP Address : 10.50.0.200 iSCSI Portal user : myuser Console type : vnc Memory size MB : 4096 MAC address : 00:16:3e:23:b4:c2 Boot type : cdrom Number of CPUs : 2 ISO image (for cdrom boot) : /tmp/CentOS-7.0-1406-x86_64-DVD.iso CPU Type : model_Nehalem
At the iscsi target question it shows both target names (for each of the multipath options) but you only seem to be able to choose one. After confirming the settings above I get the following.
[ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Creating Volume Group [ ERROR ] Failed to execute stage 'Misc configuration': Failed to initialize physical device: ("['/dev/mapper/36001405fbaac4f30dd647b083c6a0116']",) [ 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
The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue.
Seems similar indeed. Can you please attach your logs to that bug? Thanks! -- Didi

-----Original Message----- From: Yedidyah Bar David [mailto:didi@redhat.com]
----- Original Message -----
From: "Justin Clacherty" <justin@redfish.com.au>
The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue.
Seems similar indeed.
Can you please attach your logs to that bug? Thanks! -- Didi
Log attached. Let me know if you need anything else. I just noticed in that bug report that there's a workaround listed. If you can let me know how to kill the partial nfs deployment I did I'll retry iscsi with the workaround. At the moment if I try to deploy I get: [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20141027171154-mct4mj.log Version: otopi-1.3.0 (otopi-1.3.0-1.el7) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ ERROR ] The following VMs has been found: 55bae22d-03dd-40b8-830d-67fcb73066e1 [ ERROR ] Failed to execute stage 'Environment setup': Cannot setup Hosted Engine with other VMs running [ 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

----- Original Message -----
From: "Justin Clacherty" <justin@redfish.com.au> To: "Yedidyah Bar David" <didi@redhat.com> Cc: Users@ovirt.org Sent: Monday, October 27, 2014 9:15:13 AM Subject: RE: [ovirt-users] Problem installing hosted engine on CentOS 7 host
-----Original Message----- From: Yedidyah Bar David [mailto:didi@redhat.com]
----- Original Message -----
From: "Justin Clacherty" <justin@redfish.com.au>
The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue.
Seems similar indeed.
Can you please attach your logs to that bug? Thanks! -- Didi
Log attached. Let me know if you need anything else.
I just noticed in that bug report that there's a workaround listed. If you can let me know how to kill the partial nfs deployment I did I'll retry iscsi with the workaround. At the moment if I try to deploy I get:
[ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20141027171154-mct4mj.log Version: otopi-1.3.0 (otopi-1.3.0-1.el7) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ ERROR ] The following VMs has been found: 55bae22d-03dd-40b8-830d-67fcb73066e1 [ ERROR ] Failed to execute stage 'Environment setup': Cannot setup Hosted Engine with other VMs running [ 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
You can try: hosted-engine --vm-poweroff -- Didi

----- Original Message -----
From: "Justin Clacherty" <justin@redfish.com.au> To: "Yedidyah Bar David" <didi@redhat.com> Cc: Users@ovirt.org Sent: Monday, October 27, 2014 9:15:13 AM Subject: RE: [ovirt-users] Problem installing hosted engine on CentOS 7 host
-----Original Message----- From: Yedidyah Bar David [mailto:didi@redhat.com]
----- Original Message -----
From: "Justin Clacherty" <justin@redfish.com.au>
The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue.
Seems similar indeed.
Can you please attach your logs to that bug? Thanks! -- Didi
Log attached. Let me know if you need anything else.
Thanks a lot! Please attach vdsm logs (/var/log/vdsm/*). Thanks, -- Didi

----- Original Message -----
From: "Justin Clacherty" <justin@redfish.com.au>
The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue.
Seems similar indeed.
Can you please attach your logs to that bug? Thanks! -- Didi
Log attached. Let me know if you need anything else.
Thanks a lot!
Please attach vdsm logs (/var/log/vdsm/*). Thanks, -- Didi
Those logs were a bit of a mess as I'd deployed and re-deployed a few times. I've just reinstalled the host from scratch and run deploy. The new vdsm and hosted-engine logs are attached to the bug. Cheers, Justin.

----- Original Message -----
From: "Justin Clacherty" <justin@redfish.com.au>
The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue.
Seems similar indeed.
Can you please attach your logs to that bug? Thanks! -- Didi
Log attached. Let me know if you need anything else.
Thanks a lot!
Please attach vdsm logs (/var/log/vdsm/*). Thanks, -- Didi
Those logs were a bit of a mess as I'd deployed and re-deployed a few times. I've just reinstalled the host from scratch and run deploy. The new vdsm and hosted-engine logs are attached to the bug.
Cheers, Justin.
BTW, the workaround in the bug report doesn't work for me.

----- Original Message -----
From: "Justin Clacherty" <justin@redfish.com.au> To: "Yedidyah Bar David" <didi@redhat.com> Cc: Users@ovirt.org Sent: Monday, October 27, 2014 12:17:28 PM Subject: RE: [ovirt-users] Problem installing hosted engine on CentOS 7 host
----- Original Message -----
From: "Justin Clacherty" <justin@redfish.com.au>
The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue.
Seems similar indeed.
Can you please attach your logs to that bug? Thanks! -- Didi
Log attached. Let me know if you need anything else.
Thanks a lot!
Please attach vdsm logs (/var/log/vdsm/*). Thanks, -- Didi
Those logs were a bit of a mess as I'd deployed and re-deployed a few times. I've just reinstalled the host from scratch and run deploy. The new vdsm and hosted-engine logs are attached to the bug.
Thanks! -- Didi
participants (2)
-
Justin Clacherty
-
Yedidyah Bar David