Bug 2027420
| Summary: | [SNO] SR-IOV operator fails to install after CNV is installed | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Kedar Bidarkar <kbidarka> |
| Component: | Virtualization | Assignee: | Jed Lejosne <jlejosne> |
| Status: | CLOSED ERRATA | QA Contact: | Kedar Bidarkar <kbidarka> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.10.0 | CC: | cnv-qe-bugs, jlejosne, phoracek, sgott |
| Target Milestone: | --- | ||
| Target Release: | 4.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-03-16 15:57:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Kedar Bidarkar
2021-11-29 15:36:17 UTC
The operator reboots nodes as part of the configuration. Due to virt components refusing to move out of the node, it cannot perform that operation. Jed, I assume this is due to the fact that we still have 2 replicas and PDB's present? ]$ oc logs daemonset/sriov-network-config-daemon --namespace=openshift-sriov-network-operator --container=sriov-network-config-daemon | grep "error when evicting"
]$ oc get nodes
NAME STATUS ROLES AGE VERSION
node-23.cnvqe.redhat.com Ready master,worker 3h18m v1.22.1+6859754
]$
---
+ sed /home/kbidarka/git_world/cnv-qe-automation/ocp/bm/sriov/10_sriov_network_node_policy_cr.yaml -e 's/^\( \+pfNames\): .*/\1: ["eno1"]/' -e 's/^\( \+rootDevices\): .*/\1: ["0000:19:00.0"]/' -e 's/^\( \+numVfs\): .*/\1: 32/'
+ oc create --filename=-
sriovnetworknodepolicy.sriovnetwork.openshift.io/sriov-network-policy created
+ oc create --filename=/home/kbidarka/git_world/cnv-qe-automation/ocp/bm/sriov/11_sriov_network_cr.yaml
sriovnetwork.sriovnetwork.openshift.io/sriov-network created
---
]$ oc get vmi vm-rhel84-nfs3 -o yaml | grep -A 4 interfaces
interfaces:
- interfaceName: eth0
mac: 02:0c:a5:00:00:00
name: sriov-net
[kbidarka@localhost sriov]$ virtctl console vm-rhel84-nfs3
Successfully connected to vm-rhel84-nfs3 console. The escape sequence is ^]
Red Hat Enterprise Linux 8.4 (Ootpa)
Kernel 4.18.0-305.30.1.el8_4.x86_64 on an x86_64
Activate the web console with: systemctl enable --now cockpit.socket
vm-rhel84-nfs3 login: cloud-user
Password:
[cloud-user@vm-rhel84-nfs3 ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 02:0c:a5:00:00:00 brd ff:ff:ff:ff:ff:ff
inet xx.yy.zz.aa/24 brd xx.yy.zz.255 scope global dynamic noprefixroute eth0
valid_lft 1769sec preferred_lft 1769sec
[cloud-user@vm-rhel84-nfs3 ~]$ ping google.com -4
PING google.com (142.250.188.206) 56(84) bytes of data.
64 bytes from iad23s94-in-f14.1e100.net (142.250.188.206): icmp_seq=1 ttl=54 time=7.68 ms
64 bytes from iad23s94-in-f14.1e100.net (142.250.188.206): icmp_seq=2 ttl=54 time=7.60 ms
--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 7.601/7.683/7.755/0.054 ms
[cloud-user@vm-rhel84-nfs3 ~]$
---
Once this bug got fixed, https://bugzilla.redhat.com/show_bug.cgi?id=2026336
This bug automatically got fixed too.
---
VERIFIED with the build,
"image": "registry-proxy.engineering.redhat.com/rh-osbs/iib:146913",
"hcoVersion": "v4.10.0-464"
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 |