Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1177270 - [hosted-engine] [iSCSI support] [RHEL7] Deployment fails with " KeyError: 'pool' "
Summary: [hosted-engine] [iSCSI support] [RHEL7] Deployment fails with " KeyError: 'po...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 3.5.0
Hardware: x86_64
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 3.5.0
Assignee: Sandro Bonazzola
QA Contact: Elad
URL:
Whiteboard: integration
Depends On:
Blocks: rhev35rcblocker rhev35gablocker
TreeView+ depends on / blocked
 
Reported: 2014-12-25 14:49 UTC by Elad
Modified: 2014-12-30 12:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-30 12:41:16 UTC
oVirt Team: ---
Target Upstream Version:


Attachments (Terms of Use)
logs and answer file (deleted)
2014-12-25 14:49 UTC, Elad
no flags Details

Description Elad 2014-12-25 14:49:42 UTC
Created attachment 973028 [details]
logs and answer file

Description of problem:
While using RHEL7 and iSCSI, the deployment fails with:

2014-12-25 16:43:46 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.storage storage._getStorageDomainInfo:399 {'status': {'message': "Storage domain does not exist: ('17b65996-8de0-4ae1-840c-93165636cc3f',)"
, 'code': 358}}
2014-12-25 16:43:46 DEBUG otopi.context context._executeMethod:152 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py", line 896, in _late_customization
    self._getExistingDomain()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py", line 304, in _getExistingDomain
    pool_list = domain_info['pool']
KeyError: 'pool'
2014-12-25 16:43:46 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Environment customization': 'pool'



Happens only using RHEL7 and iSCSI.
With RHEL6.6 host and iSCSI, hosted engine installation succeeds, also with RHEL7 using NFS.



Version-Release number of selected component (if applicable):
RHEL7.0
rhev 3.5 vt13.5
ovirt-hosted-engine-setup-1.2.1-8.el7ev.noarch
vdsm-4.16.8.1-4.el7ev.x86_64
sanlock-3.1.0-2.el7.x86_64
selinux-policy-3.12.1-153.el7_0.13.noarch


How reproducible:
Always, using RHEL7 and iSCSI

Steps to Reproduce:
1. Deploy hosted engine, pick iSCSI


Actual results:
Deployment fails with the mentioned error

Expected results:
Hosted-engine installation should succeed.


Additional info:
logs and answer file

Comment 1 Yedidyah Bar David 2014-12-30 12:41:16 UTC
Looking at the logs, it seems that the lun used was not empty.

I asked Elad and he failed to reproduce.

Please reopen if relevant. If the intention is to use a used lun, please state desired outcome.


Note You need to log in before you can comment on or make changes to this bug.