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)
Reviewed: https:/ /review. opendev. org/739593 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=247e33af8fa 1705b037e3343ec 3b72a1b520c0c5
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit 247e33af8fa1705 b037e3343ec3b72 a1b520c0c5
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)
Partial-Bug: #1883671
(cherry picked from commit af80c3ffd116837