Bug 2061904 - Unable to attach a RHV Host back into cluster after removing due to networking
Summary: Unable to attach a RHV Host back into cluster after removing due to networking
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.4.7
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Ales Musil
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-08 17:08 UTC by Robert McSwain
Modified: 2022-05-26 16:24 UTC (History)
6 users (show)

Fixed In Version: ovirt-engine-4.5.0
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-26 16:23:55 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-engine pull 134 0 None open core: Fix wrong IP comparison in NetworkConfigurator 2022-03-10 12:26:41 UTC
Red Hat Issue Tracker RHV-45061 0 None None None 2022-03-08 17:19:49 UTC
Red Hat Product Errata RHSA-2022:4711 0 None None None 2022-05-26 16:24:06 UTC

Comment 2 Ales Musil 2022-03-10 12:26:41 UTC
Hi,

thanks for the detailed analysis, indeed the wrong string comparison seems to be the case, as Java's InetAddress expands the IPv6 by default. 
It went unnoticed for so long because the problem only applies to IPv6 as IPv4 addresses are by default expanded.

Comment 7 Michael Burman 2022-03-22 06:33:30 UTC
Verified on - rhvm-4.5.0-0.237.el8ev.noarch with vdsm-4.50.0.10-1.el8ev.x86_64

Comment 10 Robert McSwain 2022-04-28 16:46:32 UTC
Just a little more info from this customer:

"Making the change in the GUI is not possible as it only provides 3 fields for 3 DNS IP's.

On a separate note, I now have 2 RHV Hosts in the Cluster and I am now adding a 3rd one. I am using the new method of dropping the ovirtmgmt network and recreating it as we previously did. In this case, I have done those steps and the server continuously fails adding it to the cluster."

What is the current expectation prior to the release of a bug fix to implement changes to DNS servers when there are more than 3 fields needed, and what is the current workaround for adding the networking so that the RHV host can be added?

Comment 11 Ales Musil 2022-05-17 05:23:13 UTC
(In reply to Robert McSwain from comment #10)
> Just a little more info from this customer:
> 
> "Making the change in the GUI is not possible as it only provides 3 fields
> for 3 DNS IP's.
> 
> On a separate note, I now have 2 RHV Hosts in the Cluster and I am now
> adding a 3rd one. I am using the new method of dropping the ovirtmgmt
> network and recreating it as we previously did. In this case, I have done
> those steps and the server continuously fails adding it to the cluster."
> 
> What is the current expectation prior to the release of a bug fix to
> implement changes to DNS servers when there are more than 3 fields needed,
> and what is the current workaround for adding the networking so that the RHV
> host can be added?

Hi, sorry for the delay.

If they need more than 3 DNS records they will probably need to configure it manually via
nmstate, however this flow is not officially supported and any change to the host networking 
or reboot might revert it back. Truth be told I don't think there is a really a point in having
more than 3 DNS. The customer should probably consider why do they need it or if they can deploy an instance
of dnsmasq that will hold all the DNS that they need. 

For the workaround, only one that I can think of is deploying the host via IPv4 and changing it later on
if possible.

Comment 16 errata-xmlrpc 2022-05-26 16:23:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.0] security update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHSA-2022:4711


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