Bug 1563165
| Summary: | [SR-IOV] - vdsm no longer persisting and restoring the number on VFs after reboot | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [oVirt] vdsm | Reporter: | Michael Burman <mburman> | ||||||||||
| Component: | Core | Assignee: | Edward Haas <edwardh> | ||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Burman <mburman> | ||||||||||
| Severity: | high | Docs Contact: | |||||||||||
| Priority: | urgent | ||||||||||||
| Version: | 4.20.19 | CC: | bugs, danken, lveyde, mburman, ylavi | ||||||||||
| Target Milestone: | ovirt-4.2.3 | Keywords: | Regression | ||||||||||
| Target Release: | --- | Flags: | rule-engine:
ovirt-4.2+
rule-engine: blocker+ |
||||||||||
| Hardware: | x86_64 | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | vdsm v4.20.27.1 | Doc Type: | If docs needed, set a value | ||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2018-05-10 06:28:56 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: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Michael Burman
2018-04-03 10:13:20 UTC
This is the state before the reboot - [root@puma22 ~]# tree /var/lib/vdsm/persistence/netconf/virtual_functions/ /var/lib/vdsm/persistence/netconf/virtual_functions/ └── 0000:05:00.0 0 directories, 1 file [root@puma22 ~]# tree /var/lib/vdsm/staging/netconf/virtual_functions/ /var/lib/vdsm/staging/netconf/virtual_functions/ └── 0000:05:00.0 0 directories, 1 file This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. Note for my self - make sure to enable VFs before vdsm update, to test the upgrade scenario for this bug. Edy, Although we did a pre-integration test for this bug, it is failedQA -> The scenario was - 1) Enable 2 VFs on vdsm- vdsm-4.20.25-1.el7ev.x86_64 2) Update to vdsm-4.20.26-1.el7ev.x86_64 - VFs not gone from host 3) Reboot host - VFs are gone from host Created attachment 1425324 [details]
failedQA vdsm logs
Edy, i think that the problem here is in the upgrade, after upgrade var/lib/vdsm/persistence/netconf/devices/ was empty although is had 2 VFs enabled. And it's why they didn't restored on boot. Michael, don't you have any upgrade.log on your machine? Can you reproduce the non-peristence if you start with an old-style numvfs persistence and run vdsm-tool --vvverbose --append --logfile=/tmp/upgrade.log upgrade-networks Yes Created attachment 1425983 [details]
upgrade log
Created attachment 1425984 [details]
upgrade log, ignpre the first one
This is after update
[root@puma22 ~]# tree /var/lib/vdsm/persistence/netconf/devices/
/var/lib/vdsm/persistence/netconf/devices/
0 directories, 0 files
I have 2 Vfs enabled though on the host prior the upgrade -
41: enp5s16f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 02:00:00:00:00:01 brd ff:ff:ff:ff:ff:ff
42: enp5s16: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 02:00:00:00:00:01 brd ff:ff:ff:ff:ff:ff
Verified on - vdsm-4.20.27.1-1.el7ev.x86_64 This bugzilla is included in oVirt 4.2.3 release, published on May 4th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.3 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. |