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: #1883671
(cherry picked from commit af80c3ffd116837b296e79858595d42c893708a6)
(cherry picked from commit 247e33af8fa1705b037e3343ec3b72a1b520c0c5)
Reviewed: https:/ /review. opendev. org/745116 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2442344fa1a fd8d0a4c58b4df3 5f1b896129a0a1
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 2442344fa1afd8d 0a4c58b4df35f1b 896129a0a1
Author: Sean Mooney <email address hidden>
Date: Thu Jul 2 10:43:08 2020 +0000
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: Ic5e60c8e282633 65fad5867e483b6 ad55cee7281 b296e79858595d4 2c893708a6) b037e3343ec3b72 a1b520c0c5)
Partial-Bug: #1883671
(cherry picked from commit af80c3ffd116837
(cherry picked from commit 247e33af8fa1705