Bug 1449547

Summary: ovirt-hosted-engine-setup assumes ovirtmgmt as management bridge even when upgrading
Product: Red Hat Enterprise Virtualization Manager Reporter: Andreas Bleischwitz <ableisch>
Component: ovirt-hosted-engine-setupAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: high    
Version: 4.0.7CC: danken, fgarciad, lsurette, ykaul, ylavi
Target Milestone: ovirt-4.1.5Flags: lsvaty: testing_plan_complete-
Target Release: ---   
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: 2017-08-02 12:24:26 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 Andreas Bleischwitz 2017-05-10 08:59:09 UTC
Description of problem:
During an upgrade of RHEV-3.6.10 (upgraded since RHEV-3.3) and additionally migrating from out-of-band cluster for the manager to self-hosted, we ran into the issue that the manager was not able to add the hosted-engine host.


Version-Release number of selected component (if applicable):
* Running RHEV-3.6.10 with "rhevm" as management bridge
* Upgrading to RHV-4.0 by installing ovirt-hosted-engine-setup and bringing up a new engine, applying the backup from RHEV-3.6.10

How reproducible:
Always

Steps to Reproduce:
1. Install RHEV-manager with "rhevm" as management bridge (has been default until 3.5/3.6??)
2. Create backup of database
3. Install RHV-4 host with hosted-engine (a separated BZ will be filed because ovirt-hosted-engine-setup pulls in RHV-4.1 appliance during setup)
4. Restore backup from RHEV-3.6.10 on RHV-4.0 engine for upgrade
5. run "engine-setup"
6. shutdown engine as directed when engine-setup finished.
7. find ovirt-hosted-engine-setup starting the engine with "ovirtmgmt" as management interface whereas the hosts use "rhevm". 

Actual results:
ovirt-hosted-engine-setup creates unconditionally "ovirtmgmt" as bridge for the management interface.

Expected results:
ovirt-hosted-engine-setup asks if the installation is an upgrade and if so asks for the name of the currently used management bridge. Also the question about starting "engine-setup" could then be defaulting to "no".

Additional info:

Comment 3 Simone Tiraboschi 2017-08-02 12:24:26 UTC
There is a workaround for that described in https://access.redhat.com/solutions/2292861

*** This bug has been marked as a duplicate of bug 1369690 ***