Bug 1338540
| Summary: | Failed to deploy additional host to HE environment | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-hosted-engine-setup | Reporter: | Artyom <alukiano> | ||||
| Component: | General | Assignee: | Rafael Martins <rmartins> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | meital avital <mavital> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 2.0.0 | CC: | bugs, dfediuck, stirabos | ||||
| Target Milestone: | ovirt-4.0.1 | Keywords: | AutomationBlocker, Regression | ||||
| Target Release: | --- | Flags: | dfediuck:
ovirt-4.0.z?
rule-engine: blocker? rule-engine: planning_ack? rule-engine: devel_ack? rule-engine: testing_ack? |
||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-06-01 13:10:07 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: | |||||||
| Attachments: |
|
||||||
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. *** This bug has been marked as a duplicate of bug 1339593 *** |
Created attachment 1160330 [details] ovirt-hosted-engine-setup log Description of problem: Failed to deploy additional host to HE environment Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod method['method']() File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/core/remote_answerfile.py", line 171, in _customization self._fetch_answer_file() File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/core/remote_answerfile.py", line 67, in _fetch_answer_file self.environment[ohostedcons.StorageEnv.CONF_VOL_UUID], File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/heconflib.py", line 266, in get_volume_path vol_uuid, File "/usr/lib64/python2.7/posixpath.py", line 75, in join if b.startswith('/'): AttributeError: 'NoneType' object has no attribute 'startswith' Version-Release number of selected component (if applicable): ovirt-hosted-engine-setup-2.0.0-0.2.master.20160518095239.git7459b63.el7.centos.noarch How reproducible: Always Steps to Reproduce: 1. Deploy HE on the first host 2. Run HE deployment on the second host 3. Actual results: Deployment failed with above traceback Expected results: Deploy succeed without any problems Additional info: The problem that values: ohostedcons.StorageEnv.CONF_IMG_UUID and ohostedcons.StorageEnv.CONF_VOL_UUID equals to None, so when we run command: source = heconflib.get_volume_path( self.environment[ohostedcons.StorageEnv.DOMAIN_TYPE], self.environment[ohostedcons.StorageEnv.SD_UUID], self.environment[ohostedcons.StorageEnv.CONF_IMG_UUID], self.environment[ohostedcons.StorageEnv.CONF_VOL_UUID], ) if fails. W/A: append to answer file from the first host OVEHOSTED_FIRST_HOST/skipSharedStorageAF=bool:True and run hosted-engine --deploy --config-append=your_answer_file