Bug 1177270 - [hosted-engine] [iSCSI support] [RHEL7] Deployment fails with " KeyError: 'pool' "
Summary: [hosted-engine] [iSCSI support] [RHEL7] Deployment fails with " KeyError: 'po...
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
Target Milestone: ---
: 3.5.0
Assignee: Sandro Bonazzola
QA Contact: Elad
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:
Last Closed: 2014-12-30 12:41:16 UTC
oVirt Team: ---
Target Upstream Version:

Attachments (Terms of Use)
logs and answer file (261.10 KB, application/x-gzip)
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
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py", line 896, in _late_customization
  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):
rhev 3.5 vt13.5

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.