Bug 2055786 - [4.9.4] nmstate interprets interface names as float64 and subsequently crashes on state update
Summary: [4.9.4] nmstate interprets interface names as float64 and subsequently crashe...
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.9.4
Assignee: Petr Horáček
QA Contact: Adi Zavalkovsky
URL:
Whiteboard:
Depends On: 2051461
Blocks: 2053491 2055304
TreeView+ depends on / blocked
 
Reported: 2022-02-17 16:08 UTC by Radim Hrazdil
Modified: 2022-04-26 16:54 UTC (History)
10 users (show)

Fixed In Version: kubernetes-nmstate-handler v4.9.4-6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2051461
Environment:
Last Closed: 2022-04-26 16:54:31 UTC
Target Upstream Version:
Embargoed:
cstabler: needinfo-
diflores: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt cluster-network-addons-operator pull 1232 0 None open bump nmstate to v0.52.14 2022-02-22 07:34:37 UTC
Github nmstate kubernetes-nmstate pull 993 0 None Merged [release 0.52] Fix numeric iface name in route 2022-02-22 07:36:31 UTC
Red Hat Product Errata RHEA-2022:1596 0 None None None 2022-04-26 16:54:46 UTC

Comment 3 Petr Horáček 2022-03-17 12:16:39 UTC
This can be moved to QA once 4.9 errata contains nmstate v0.52.14

Comment 9 Adi Zavalkovsky 2022-04-07 15:03:58 UTC
Verified.

OCP Version - 4.9.28. kubernetes-nmstate-handler v4.9.4-7.

Created veth device on node:
[core@n-adiz49-8s5rp-worker-0-bzxdz ~]$  sudo ip link add 0e12345 type dummy
[core@n-adiz49-8s5rp-worker-0-bzxdz ~]$  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::7c5e:20ff:fe0f:46c
          prefix-length: 64
        enabled: true
      mac-address: 7E:5E:20:0F:04:6C
      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 15 errata-xmlrpc 2022-04-26 16:54:31 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 (OpenShift Virtualization 4.9.4 Images), 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/RHEA-2022:1596


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