Fixes a problem where SR-IOV VF count configuration will fail if a
physical function is in use by a guest when 'puppet apply' is executed.
This change substitutes warnings for failures and skips complaints if a
PCI device is unavailable.
Note: this patch has the side-effect of allowing the same configuration
data on hosts that may *not* or *ever* have PCI SR-IOV devices on the
hardware. Time will tell how evil this is in practice.
Reviewed: https:/ /review. openstack. org/478503 /git.openstack. org/cgit/ openstack/ puppet- tripleo/ commit/ ?id=d71697a419f 459b8fa4b748a64 ac6580b3a82456
Committed: https:/
Submitter: Jenkins
Branch: master
commit d71697a419f459b 8fa4b748a64ac65 80b3a82456
Author: Brent Eagles <email address hidden>
Date: Tue Jun 27 09:55:37 2017 -0230
Do not fail if PCI device is missing
Fixes a problem where SR-IOV VF count configuration will fail if a
physical function is in use by a guest when 'puppet apply' is executed.
This change substitutes warnings for failures and skips complaints if a
PCI device is unavailable.
Note: this patch has the side-effect of allowing the same configuration
data on hosts that may *not* or *ever* have PCI SR-IOV devices on the
hardware. Time will tell how evil this is in practice.
Closes-Bug: #1701284 193741c37ce977d d11172401e6
Change-Id: I71edc135432ab2