Bug 1322729

Summary: Hosted-engine-setup still requires to copy the answerfile from the first host via scp
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Simone Tiraboschi <stirabos>
Component: GeneralAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: sefi litmanovich <slitmano>
Severity: unspecified Docs Contact:
Priority: high    
Version: 1.3.5.0CC: bugs, dfediuck, fabian, mgoldboi, sabose, sbonazzo, stirabos
Target Milestone: ovirt-3.6.6Flags: rule-engine: ovirt-3.6.z+
mgoldboi: planning_ack+
sbonazzo: devel_ack+
mavital: testing_ack+
Target Release: 1.3.6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-30 10:52:03 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:
Bug Depends On:    
Bug Blocks: 1099562, 1330523    

Description Simone Tiraboschi 2016-03-31 08:46:01 UTC
Description of problem:
Hosted-engine-setup still requires to copy the answerfile from the first host via scp while it could be avoided since on 3.6 the answerfile is already on the shared storage.

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

How reproducible:
100%

Steps to Reproduce:
1. Deploy an additional hosted-engine host
2.
3.

Actual results:
It asks to copy the answerfile from another host

Expected results:
It just consume the answerfile on the shared storage

Additional info:
Avoiding the scp copy helps on unattended or automated flow and in the integration with other products.

Comment 1 Sandro Bonazzola 2016-03-31 09:06:56 UTC
Simone, will migration from 3.5 to 4.0 be affected by this? Maybe we should keep scp around and just don't use it if we have the answer file on shared storage.

Comment 2 Simone Tiraboschi 2016-03-31 09:39:58 UTC
Currently it's already not possible (and we are explicitly preventing it) to add a 3.6 host while the other HE hosts are at 3.5 since the new additional 3.6 host will expect to found vm.conf on the shared storage and it's created there just:
- deploying from scratch on 3.6
- uprading one host from 3.5 to 3.6

Comment 3 sefi litmanovich 2016-05-08 12:10:18 UTC
Verified with ovirt-hosted-engine-setup-1.3.6.1-1.el7ev.noarch.

1. Ran ovirt-hosted-engine-setup on first host, created vm with appliance and installed engine successfully.
2. Ran ovirt-hosted-engine-setup on second host to add to new HE.
During setup I get:

          --== SYSTEM CONFIGURATION ==--
         
[WARNING] A configuration file must be supplied to deploy Hosted Engine on an additional host.
[ INFO  ] Answer file successfully loaded

answer files was fetched from shared storage as expected.

Comment 4 Simone Tiraboschi 2016-05-17 21:01:31 UTC
*** Bug 1334920 has been marked as a duplicate of this bug. ***