Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1298592

Summary: Deploy of the second host failed if I have root password of the first host under answer file
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Artyom <alukiano>
Component: GeneralAssignee: Artyom <alukiano>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.3.2.2CC: bugs, didi, lveyde, mavital, rmartins, sbonazzo, stirabos
Target Milestone: ovirt-4.0.0-alphaKeywords: Triaged
Target Release: 2.0.0Flags: rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
sbonazzo: devel_ack+
mavital: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: the root password of the first host is under answer file Consequence: answer file from first host wasn't fetched Fix: fixed the customization stage for fetching the answer file from first host even if the password is provided within an answer file Result: now it works.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 08:02:24 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:

Description Artyom 2016-01-14 13:56:09 UTC
Description of problem:
Deploy of the second host failed if I run deploy with the answer file and answer file has line "OVEHOSTED_FIRST_HOST/rootPassword=str:some_password"
 
Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-1.3.2.2-2.el7ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Deploy HE on the first host
2. Deploy the second host with the answer file:
[environment:default]
OVEHOSTED_FIRST_HOST/rootPassword=str:password
3.

Actual results:
Deployment failed with the traceback

2016-01-14 14:24:14 DEBUG otopi.context context._executeMethod:156 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 146, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/core/remote_answerfile.py", line 307, in _customization
    self._parse_answer_file()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/core/remote_answerfile.py", line 185, in _parse_answer_file
    self._config.read(self._tmp_ans)
  File "/usr/lib64/python2.7/ConfigParser.py", line 300, in read
    for filename in filenames:
TypeError: 'NoneType' object is not iterable


Expected results:
Deploy succeed

Additional info:

Comment 1 Artyom 2016-04-07 12:26:25 UTC
Verified on ovirt-hosted-engine-setup-2.0.0-0.0.master.20160325145108.gita9a3495.el7.centos.noarch

Comment 2 Sandro Bonazzola 2016-07-05 08:02:24 UTC
oVirt 4.0.0 has been released, closing current release.