Bug 1738423
Summary: | [rhel8.1] vdsm override ovirtmgmt with static IPv4 instead of the origin dhcpv4 NIC during host deploy in RHV | ||
---|---|---|---|
Product: | [oVirt] vdsm | Reporter: | Michael Burman <mburman> |
Component: | General | Assignee: | Ales Musil <amusil> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Burman <mburman> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.40.0 | CC: | amusil, bugs, dholler, lsurette, srevivo, ycui |
Target Milestone: | ovirt-4.4.0 | Flags: | sbonazzo:
ovirt-4.4?
|
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: | 2020-05-20 20:01:20 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1765057 | ||
Bug Blocks: |
Description
Michael Burman
2019-08-07 06:58:37 UTC
The underlying problem is that getCapabilities does report dhcpv4: false, even if nmstate reports dhcp: true (In reply to Dominik Holler from comment #2) > The underlying problem is that getCapabilities does report dhcpv4: false, > even if nmstate reports dhcp: true sorry, this is irrelevant, because there is no nmstate The interesting thing here is that vdsm-client Host getCapabilities reports static IPv4 before the deploy also, but ifcfg shows dhcpv4 "nics": { "eno1": { "addr": "10.y.z.x", "dhcpv4": false, "dhcpv6": false, "gateway": "10.y.z.x", "hwaddr": "d4:00:00:xx:xx:xx", "ipv4addrs": [ "10.y.z.x/24" ], "ipv4defaultroute": true, cat /etc/sysconfig/network-scripts/ifcfg-eno1 # Generated by dracut initrd NAME="eno1" DEVICE="eno1" ONBOOT=yes NETBOOT=yes UUID="ff01e959-bbb3-4ef2-9bbe-28a09b3c633a" IPV6INIT=yes BOOTPROTO=dhcp TYPE=Ethernet Ales, I think this bug is about initscripts, not using nmstate. Can you please verify if your change addresses this bug? I have actually tested this change without nmstate installed on the host. It's because RHEL8 uses NetworkManager as default for managing networks so it's in charge before host deploy. (In reply to Ales Musil from comment #6) > I have actually tested this change without nmstate installed on the host. > It's because RHEL8 uses NetworkManager as default for managing networks so > it's in charge before host deploy. Okay, thanks. Verified on - vdsm-4.40.0-164.git38a19bb.el8ev.x86_64 with rhvm-4.4.0-0.9.master.el7.noarch This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 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. |