Bug 2019807 - Deploying Hosted-Engine using --6 flag fails in HE host adding stage becasue NM removes the route
Summary: Deploying Hosted-Engine using --6 flag fails in HE host adding stage becasue ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.4.9.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ovirt-4.4.9-1
: ---
Assignee: Ales Musil
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On: 2010640
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-03 11:28 UTC by msheena
Modified: 2021-12-15 14:03 UTC (History)
9 users (show)

Fixed In Version: ovirt-engine-4.4.9.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-20 07:42:15 UTC
oVirt Team: Network
Embargoed:
mperina: ovirt-4.4+
michal.skrivanek: blocker-
michal.skrivanek: exception+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-43914 0 None None None 2021-11-03 11:29:14 UTC
oVirt gerrit 117508 0 master MERGED ansible: Reload NM configuration instead of service restart 2021-11-09 07:52:58 UTC
oVirt gerrit 117539 0 ovirt-engine-4.4 MERGED ansible: Reload NM configuration instead of service restart 2021-11-09 13:46:41 UTC
oVirt gerrit 117540 0 ovirt-engine-4.4.9.z MERGED ansible: Reload NM configuration instead of service restart 2021-11-09 13:46:46 UTC

Description msheena 2021-11-03 11:28:32 UTC
Description of problem
======================
Given I have an IPv6 only host
When I deploy Hosted-Engine using the '--6' flag (to force deploy over IPv6)
Then the deploy fails while the newly installed RHV VM tries to add the host to the cluster

Version-Release number of selected component (if applicable)
============================================================
Host -> rhvh-4.4.9.2-0.20211011.0+1
Appliance -> rhvm-appliance-4.4-20210827.0.el8ev.x86_64.rpm


How reproducible
================
100%

Steps to Reproduce
==================
1. Provision a host with RHV-H OS: rhvh-4.4.9.2-0.20211011.0+1
2. dnf install 'rhv-release-4.4.9' on the host (rhv-release-4.4.9-7-001.noarch)
3. dnf install 'rhvm-appliance' on the host (rhvm-appliance-2:4.4-20210827.0.el8ev.x86_64)
4. Make host IPv6 only using nmcli (nmcli connection modify <interface> ipv4.method disabled ipv6.method manual ipv6.addresses <IPv6 static address> ipv6.dns <IPv6 DNS address> ipv6.gateway <IPv6 gateway address>)
5. Reload <interface> (nmcli con down <interface> ; nmcli con up <interface>)
6. Execute 'command hosted-engine --deploy --6'

Actual results
==============
Deploy fails during the stage where the host is added to the cluster
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Wait for the host to be up]
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Notify the user about a failure]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Host is not up, please check logs, perhaps also on the engine machine"}

Expected results
================
Deploy is successful

Additional info
===============
* This also reproduces on a dual-stack IP host (both IPv4 and IPv6)
* An answer file is used in the deploy
* Possibly related to https://bugzilla.redhat.com/show_bug.cgi?id=2010640

Comment 2 Martin Perina 2021-11-03 11:40:08 UTC
Tentatively targeting to 4.4.10, but it purely depends on platform bug BZ2010640

Comment 3 RHEL Program Management 2021-11-03 11:41:59 UTC
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.

Comment 4 Michal Skrivanek 2021-11-04 08:52:40 UTC
doesn't affect runtime, just deployment. workaround possible with manual hook-based route fix up.
demoting to High.

Comment 11 RHEL Program Management 2021-11-09 12:26:54 UTC
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.

Comment 13 Michael Burman 2021-11-17 09:09:26 UTC
Verified on - rhvm-4.4.9.5-0.1.el8ev.noarch with

rhvm-appliance-4.4-20211111.1.el8ev.x86_64
rhvh-4.4.9.2-0.20211104.0+1

Comment 14 Sandro Bonazzola 2021-11-20 07:42:15 UTC
This bugzilla is included in async oVirt engine release for oVirt 4.4.9 release, published on November 11th, 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.9 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.

Comment 16 Michael Burman 2021-11-21 10:23:05 UTC
This bug report has been also tested and verified without using the HE offline mode using:

rhvm-appliance-4.4-20211117.1.el8ev.x86_64 - which contains the fix for BZ 2024142
rhvh-4.4.9.2-0.20211117.0+1

Comment 17 Arik 2021-12-15 13:23:37 UTC
Ales/Martin, should engine 4.4 be able to deploy RHEL 7 hosts (on cluster-level 4.3)?
If so then this patch broke it, I removed the "nmcli general reload conf" part of it to be able to deploy

Comment 18 Martin Perina 2021-12-15 13:31:58 UTC
(In reply to Arik from comment #17)
> Ales/Martin, should engine 4.4 be able to deploy RHEL 7 hosts (on
> cluster-level 4.3)?
> If so then this patch broke it, I removed the "nmcli general reload conf"
> part of it to be able to deploy

Thanks created BZ2032919 to track this issue

Comment 19 Arik 2021-12-15 14:03:45 UTC
Thanks


Note You need to log in before you can comment on or make changes to this bug.