Bug 1573074
Summary: | The deployment fails on create_storage_domain stage when using generated answers | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-hosted-engine-setup | Reporter: | Sam McLeod <mailinglists> | ||||
Component: | General | Assignee: | Ido Rosenzwig <irosenzw> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Natalie Gavrielov <ngavrilo> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 2.2.16 | CC: | bugs, mailinglists, stirabos, ylavi | ||||
Target Milestone: | ovirt-4.2.4 | Flags: | rule-engine:
ovirt-4.2+
rule-engine: exception+ |
||||
Target Release: | 2.2.21 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | ovirt-hosted-engine-setup-2.2.21 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-06-26 08:39:37 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1581783 | ||||||
Attachments: |
|
Description
Sam McLeod
2018-04-30 06:29:52 UTC
Please provide the answerfile that you used Created attachment 1428959 [details]
engines deploy answers file
Removing the split from STORAGE_DOMAIN_ADDR and ISCSI_PORTAL_PORT in /usr/share/ovirt-hosted-engine-setup/ansible/create_storage_domain.yml provides more insight into the issue, suggesting that STORAGE_DOMAIN_ADDR is empty for some reason. Looking in /usr/share/ovirt-hosted-engine-setup/plugins/gr-he-ansiblesetup/core/target_vm.py, it appears STORAGE_DOMAIN_ADDR address is STORAGE_DOMAIN_CONNECTION: storage_domain_address = self.environment[ ohostedcons.StorageEnv.STORAGE_DOMAIN_CONNECTION ] In answers.conf it is set (by a successful deployment, not by hand): OVEHOSTED_STORAGE/storageDomainConnection=str:10.51.10.10 Interestingly if I remove the following OVEHOSTED_STORAGE parameters from the answers file but provide the *exact same* input when prompted - the deploy succeeds. OVEHOSTED_STORAGE/iSCSIPortalPort=str:3260 OVEHOSTED_STORAGE/iSCSIPortal=str:1 OVEHOSTED_STORAGE/storageDomainConnection=str:10.51.10.10 OVEHOSTED_STORAGE/iSCSIPortalIPAddress=str:10.51.10.10 OVEHOSTED_STORAGE/iSCSITargetName=str:iqn.2003-01.org.linux-iscsi.s1-san5.x8664:sn.a70bc7bf74e5 OVEHOSTED_STORAGE/LunID=str:3600140521be786300000000000000000 Verified (automation: rhv-ge-deploy-4.2 #1529) deployment using answer file that includes parameters: OVEHOSTED_STORAGE/storageDatacenterName OVEHOSTED_STORAGE/domainType OVEHOSTED_STORAGE/LunID OVEHOSTED_STORAGE/storageDomainConnection OVEHOSTED_STORAGE/iSCSIPortalIPAddress OVEHOSTED_STORAGE/iSCSIPortalPort OVEHOSTED_STORAGE/iSCSIPortalUser OVEHOSTED_STORAGE/iSCSIPortal OVEHOSTED_STORAGE/iSCSITargetName OVEHOSTED_STORAGE/storageDomainName Build: ovirt-engine-4.2.3.4-0.1.el7.noarch (rhv-4.2.4-2) This bugzilla is included in oVirt 4.2.4 release, published on June 26th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.4 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |