Reviewed: https://review.opendev.org/c/openstack/nova/+/761825 Committed: https://opendev.org/openstack/nova/commit/420df86e23acf050e78b64315f1058ae9704c6d0 Submitter: "Zuul (22348)" Branch: stable/queens
commit 420df86e23acf050e78b64315f1058ae9704c6d0 Author: Hemanth Nakkina <[email protected]> Date: Tue Sep 1 09:36:51 2020 +0530 Update pci stat pools based on PCI device changes At start up of nova-compute service, the PCI stat pools are populated based on information in pci_devices table in Nova database. The pools are updated only when new device is added or removed but not on any device changes like device type. If an existing device is configured as SRIOV and nova-compute is restarted, the pci_devices table gets updated but the device is still listed under the old pool in pci_tracker.stats.pool (in-memory object). This patch looks for device type updates in existing devices and updates the pools accordingly. Change-Id: Id4ebb06e634a612c8be4be6c678d8265e0b99730 Closes-Bug: #1892361 (cherry picked from commit b8695de6da56db42b83b9d9d4c330148766644be) (cherry picked from commit d8b8a8193b6b8228f6e7d6bde68b5ea6bb53dd8b) (cherry picked from commit f58399cf496566e39d11f82a61e0b47900f2eafa) (cherry picked from commit 8378785f995dd4bec2a5a20f7bf5946b3075120d) (cherry picked from commit 73e631862a81e85fdf9305f3d15b201d780c8743) (cherry picked from commit 1fb4cc03e315f5b4dbebc521f0d1299273c7c396) ** Changed in: cloud-archive/queens Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1892361 Title: SRIOV instance gets type-PF interface, libvirt kvm fails To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1892361/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
