Bug 2055304 - [4.10.z] nmstate interprets interface names as float64 and subsequently crashes on state update
Summary: [4.10.z] nmstate interprets interface names as float64 and subsequently crash...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Networking
Version: 4.8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.10.1
Assignee: Radim Hrazdil
QA Contact: Adi Zavalkovsky
URL:
Whiteboard:
Depends On: 2051461 2055786
Blocks: 2053491
TreeView+ depends on / blocked
 
Reported: 2022-02-16 16:06 UTC by Radim Hrazdil
Modified: 2022-05-18 20:27 UTC (History)
8 users (show)

Fixed In Version: kubernetes-nmstate-handler v4.10.1-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2051461
Environment:
Last Closed: 2022-05-18 20:27:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github nmstate kubernetes-nmstate pull 991/ 0 None None None 2022-02-16 16:08:31 UTC
Red Hat Product Errata RHSA-2022:4668 0 None None None 2022-05-18 20:27:23 UTC

Comment 1 Adi Zavalkovsky 2022-03-31 12:19:17 UTC
Verified.

OCP Version - 4.10.6. kubernetes-nmstate-handler v4.10.1-2.

Created veth device on node:
[core@n-adiz-410-8d2hr-worker-0-ff9wp ~]$ sudo ip link add 0e12345 type dummy
[core@n-adiz-410-8d2hr-worker-0-ff9wp ~]$ sudo ip link set 0e12345 up

NNS Succesfully updated without nmstate-handler pod crashing:
[cnv-qe-jenkins@n-adiz-410-8d2hr-executor ~]$ oc get nns n-adiz-410-8d2hr-worker-0-ff9wp -o yaml 
...
    interfaces:
    - ipv4:
        address: []
        enabled: false
      ipv6:
        address:
        - ip: fe80::2ccb:44ff:fe72:b1f4
          prefix-length: 64
        enabled: true
      mac-address: 2E:CB:44:72:B1:F4
      mtu: 1500
      name: "0e12345"
      state: up
      type: dummy
...
    routes:
      running:
      - destination: fe80::/64
        metric: 256
        next-hop-address: '::'
        next-hop-interface: "0e12345"
        table-id: 254

Comment 7 errata-xmlrpc 2022-05-18 20:27:03 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.1 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:4668


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