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

Bug 1121057

Summary: answers.conf is replaced if configuration is not complete
Product: [Retired] oVirt Reporter: George Machitidze <giomac>
Component: ovirt-hosted-engine-setupAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: high    
Version: 3.4CC: bugs, didi, ecohen, gklein, iheim, lsurette, lveyde, rbalakri, sbonazzo, stirabos, yeylon
Target Milestone: ---   
Target Release: 3.5.1   
Hardware: Unspecified   
OS: Linux   
Whiteboard: integration
Fixed In Version: ovirt-3.5.1_rc1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 16:03:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1155170, 1192937    

Description George Machitidze 2014-07-18 09:37:32 UTC
Description of problem:
When running ovirt-hsted-engine-setup on already provisioned host with running vms, answers.conf file is generated even in case configuration process is terminated by the user.

[root@ovirt1 ~]# ovirt-hosted-engine-setup
[ INFO  ] Stage: Initializing
          Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards.
          Are you sure you want to continue? (Yes, No)[Yes]: no
[WARNING] Aborted
[ INFO  ] Generating a temporary VNC password.
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[root@ovirt1 ~]#


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

How reproducible:
Always

Actual results:
/etc/ovirt-hosted-engine/answers.conf is generated and replaced 

Expected results:
file shouldn't be replaced until configuration is complete

Additional info:
[root@ovirt1 ~]# cat /etc/redhat-release
CentOS release 6.5 (Final)
[root@ovirt1 ~]# rpm -qa|grep ovirt|sort
ovirt-engine-cli-3.4.0.5-1.el6.noarch
ovirt-engine-sdk-python-3.4.3.0-1.el6.noarch
ovirt-host-deploy-1.2.2-1.el6.noarch
ovirt-hosted-engine-ha-1.1.5-1.el6.noarch
ovirt-hosted-engine-setup-1.1.5-1.el6.noarch
ovirt-iso-uploader-3.4.3-1.el6.noarch
ovirt-node-plugin-ipmi-3.0.4-1.0.el6.noarch
ovirt-node-plugin-snmp-3.0.4-1.0.el6.noarch
ovirt-release34-1.0.1-1.noarch

Comment 1 Sandro Bonazzola 2015-01-15 14:36:04 UTC
This is an automated message: 
This bug should be fixed in oVirt 3.5.1 RC1, moving to QA

Comment 2 Sandro Bonazzola 2015-01-21 16:03:22 UTC
oVirt 3.5.1 has been released. If problems still persist, please make note of it in this bug report.