Bug 1175793

Summary: [hosted-engine] setup fails with "Failed to execute stage 'Misc configuration': image_uuid or volume_uuid is missing or None"
Product: Red Hat Enterprise Virtualization Manager Reporter: Elad <ebenahar>
Component: ovirt-hosted-engine-haAssignee: Doron Fediuck <dfediuck>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: acanan, ecohen, gklein, iheim, lsurette
Target Milestone: ---Keywords: Regression
Target Release: 3.5.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-19 09:50:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1164308    
Description Flags
logs from the host none

Description Elad 2014-12-18 15:32:18 UTC
Created attachment 970626 [details]
logs from the host

Description of problem:
hosted-engine deployment fails everytime using iSCSI and NFS.

[ INFO  ] Verifying sanlock lockspace initialization
[ ERROR ] Failed to execute stage 'Misc configuration': image_uuid or volume_uuid is missing or None
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20141218172040.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination

Version-Release number of selected component (if applicable):
rhev 3.5 vt13.4

How reproducible:
Always, using rhel6.6 with both iSCSI and NFS

Steps to Reproduce:
1. deploy hosted engine, use iSCSI or NFS

Actual results:
Deployment fails with the following exception:

20**FILTERED**4-**FILTERED**2-**FILTERED**8 **FILTERED**7:**FILTERED**5:5**FILTERED** DEBUG otopi.context context._executeMethod:**FILTERED**52 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/otopi/context.py", line **FILTERED**42, in _executeMethod
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/sanlock/lockspace.py", line **FILTERED**50, in _misc
  File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 228, in __init__
  File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 227, in <lambda>
    (service, self.Device.device_from_str(device)),
  File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line **FILTERED**93, in device_from_str
    dev = cls(None, None, None)
  File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line **FILTERED**52, in __init__
    "image_uuid or volume_uuid is missing or None"
ValueError: image_uuid or volume_uuid is missing or None
20**FILTERED**4-**FILTERED**2-**FILTERED**8 **FILTERED**7:**FILTERED**5:5**FILTERED** ERROR otopi.context context._executeMethod:**FILTERED**6**FILTERED** Failed to execute stage 'Misc configuration': image_uuid o
r volume_uuid is missing or None

Expected results:
Deployment should succeed.

Additional info:
logs from the host

Comment 1 Sandro Bonazzola 2014-12-19 09:50:40 UTC
Elad thanks for reporting. this was introduced as regression while fixing bug #1171452 and already addressed there.

I see you're using ovirt-hosted-engine-ha-1.2.4-4.el6ev.noarch, the fix is in ovirt-hosted-engine-ha-1.2.4-5.el6ev.noarch

Closing as duplicate.

*** This bug has been marked as a duplicate of bug 1171452 ***