Bug 2013455 - Guest agent reports unreliable status when mac address is changed
Summary: Guest agent reports unreliable status when mac address is changed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Networking
Version: 4.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.10.0
Assignee: oshoval
QA Contact: Adi Zavalkovsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-12 21:38 UTC by Geetika Kapoor
Modified: 2022-03-16 15:56 UTC (History)
4 users (show)

Fixed In Version: virt-handler v4.10.0-197
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-16 15:56:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt kubevirt pull 6793 0 None Merged virt-handler, Add infoSource field to vmi status 2022-01-06 08:20:54 UTC
Github kubevirt user-guide pull 504 0 None Merged guest_agent_information: Add info about vmi status infoSource 2022-01-19 12:25:57 UTC
Red Hat Product Errata RHSA-2022:0947 0 None None None 2022-03-16 15:56:20 UTC

Comment 3 oshoval 2021-11-15 16:18:38 UTC
As we discussed, the solution will be to include a new infoSource field.
This way, the vmi.status will be easier to understand when mac change occurs

https://github.com/kubevirt/kubevirt/pull/6793
https://github.com/kubevirt/user-guide/pull/504

Comment 4 Adi Zavalkovsky 2022-01-23 16:22:49 UTC
Verified. OCP version - 4.10. virt-handler version - 4.10.0-197

Deployed vmi with nad.

Before change - 

[cnv-qe-jenkins@n-adiz410-6v626-executor ~]$ oc get vmi -n adi-mac test-vm -o yaml
...
  interfaces:
  - infoSource: domain, guest-agent
    interfaceName: eth0
    ipAddress: 10.128.2.67
    ipAddresses:
    - 10.128.2.67
    mac: 02:dd:42:00:00:03
    name: default
  - infoSource: domain, guest-agent
    interfaceName: eth1
    mac: 02:dd:42:00:00:04

After mac change - 

[cnv-qe-jenkins@n-adiz410-6v626-executor ~]$ oc get vmi -n adi-mac test-vm -o yaml
  interfaces:
  - infoSource: domain, guest-agent
    interfaceName: eth0
    ipAddress: 10.128.2.67
    ipAddresses:
    - 10.128.2.67
    mac: 02:dd:42:00:00:03
    name: default
  - infoSource: guest-agent
    interfaceName: eth1
    mac: 02:00:b5:b5:b5:c9

Comment 9 errata-xmlrpc 2022-03-16 15:56:11 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: OpenShift Virtualization 4.10.0 Images security and bug fix 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:0947


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