Bug 1005767 - Wrong parsing of the getStorageDomainInfo output on case of ISCSI domains are used.
Summary: Wrong parsing of the getStorageDomainInfo output on case of ISCSI domains are...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.3.0
Assignee: Sandro Bonazzola
QA Contact: Leonid Natapov
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-09 11:25 UTC by Leonid Natapov
Modified: 2015-09-22 13:09 UTC (History)
6 users (show)

Fixed In Version: ovirt-hosted-engine-setup-1.0.0-0.4.beta.el6ev
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-16 09:23:57 UTC
oVirt Team: ---
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0083 0 normal SHIPPED_LIVE new package: ovirt-hosted-engine-setup 2014-01-21 21:42:22 UTC
oVirt gerrit 19115 0 None MERGED packaging: setup: correctly parse stroage domain info 2020-08-29 12:07:18 UTC

Description Leonid Natapov 2013-09-09 11:25:14 UTC
Description of problem:
when the ovirt-hosted-engine setup ask vdsm to list known domains it lists also iscsi ones. ISCSI output differes from NFS. We have a probkem to parse ISCSI output and therefore the setup fails with the following errror:
[ ERROR ] Failed to execute stage 'Environment customization': 'remotePath'
When the setup ask vdsm to list known domains it lists also iscsi ones and we fail to parse it.

That will not be an issue on fresh installations where no other domains exists

vdsm log:

getStorageDomainInfo:268 {'status': {'message': 'OK', 'code': 0}, 'info': {'uuid': '2c5db63b-64fa-4633-9e96-ad8b43368169
', 'vguuid': 'P5r0bB-n5j5-mLEx-5fGR-pqAZ-KZhA-lq84yP', 'lver': -1, 'state': 'OK', 'version': '3', 'role': 'Master', 'pool': ['c2b8fd64-0884-4140-90fc-c74a642b9840'], 'spm_id': -1, 'type': 'ISCSI', 'class': 'Data
', 'master_ver': 0, 'name': 'elad2'}}

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Try to run ovirt-hosted-engine-setup on host that was previously connected to ISCSI domain.


Actual results:
installation fails.

Expected results:
installation succeeds.

Additional info:

Comment 1 Sandro Bonazzola 2013-09-09 11:27:17 UTC
Thanks, I've all the info needed.

Comment 2 Sandro Bonazzola 2013-09-11 08:37:16 UTC
patch pushed to upstream master:

previously the getStorageDomainInfo parser assumed that
remotePath was always defined in the dictionary returned
by the call to getStorageDomainInfo.
The key is not defined for iSCSI domains so now the
parser check for remotePath availability before
trying to use its value.

Comment 3 Sandro Bonazzola 2013-09-12 09:31:42 UTC
patch merged upstream master.

Comment 6 Charlie 2013-11-28 01:19:58 UTC
This bug is currently attached to errata RHBA-2013:15257. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to 
minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 7 Sandro Bonazzola 2013-12-05 10:48:38 UTC
hosted engine is a new package, does not need errata for specific bugs during its development.


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