Commit af80c3f
committed
catch libvirt exception when nodedev not found.
This is a minimal fix to workaround instance where libvirt
retruns stale data due to internal caching. In some cases
libivrt can return stale data vai the nodedev api when the
mac adress of an interface such as an sriov virtual function
canages, i.e. when a mac adress is reset after a vm with
a virtual funciton is migrated.
Change-Id: Ic5e60c8e28263365fad5867e483b6ad55cee7281
Partial-Bug: #18836711 parent 2a0cc70 commit af80c3f
File tree
2 files changed
+22
-2
lines changed- nova
- tests/unit/virt/libvirt
- virt/libvirt
2 files changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16884 | 16884 | | |
16885 | 16885 | | |
16886 | 16886 | | |
| 16887 | + | |
| 16888 | + | |
| 16889 | + | |
| 16890 | + | |
| 16891 | + | |
| 16892 | + | |
| 16893 | + | |
| 16894 | + | |
| 16895 | + | |
| 16896 | + | |
| 16897 | + | |
| 16898 | + | |
| 16899 | + | |
| 16900 | + | |
| 16901 | + | |
| 16902 | + | |
16887 | 16903 | | |
16888 | 16904 | | |
16889 | 16905 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6894 | 6894 | | |
6895 | 6895 | | |
6896 | 6896 | | |
6897 | | - | |
| 6897 | + | |
6898 | 6898 | | |
6899 | | - | |
| 6899 | + | |
| 6900 | + | |
| 6901 | + | |
| 6902 | + | |
| 6903 | + | |
6900 | 6904 | | |
6901 | 6905 | | |
6902 | 6906 | | |
| |||
0 commit comments