yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #27363
[Bug 1415768] [NEW] the pci deivce assigned to instance is inconsistent with DB record when restarting nova-compute
Public bug reported:
After restarting nova-compute process, I found that the pci device
assigned to instance in libvirt.xml was different with the record in
'pci_devices' DB table.
Every time nova-compute was restarted, pci_tracker.allocations was reset
to empty dict, it didn't contain the pci devices had been allocated to
instances, so some pci devices would be reallocated to the instances,
and record these pci into DB, maybe they was inconsistent with the
libvirt.xml.
IOW, nova-compute would reallocated the pci device for the instance with
pci request when restarting.
See details:
http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/resource_tracker.py#n347
This is a probabilistic problem, not always can be reproduced. If the
instance have a lot of pci devices, it happen more.
Face this bug in kilo master.
** Affects: nova
Importance: Undecided
Assignee: Rui Chen (kiwik-chenrui)
Status: New
** Tags: compute
** Changed in: nova
Assignee: (unassigned) => Rui Chen (kiwik-chenrui)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1415768
Title:
the pci deivce assigned to instance is inconsistent with DB record
when restarting nova-compute
Status in OpenStack Compute (Nova):
New
Bug description:
After restarting nova-compute process, I found that the pci device
assigned to instance in libvirt.xml was different with the record in
'pci_devices' DB table.
Every time nova-compute was restarted, pci_tracker.allocations was
reset to empty dict, it didn't contain the pci devices had been
allocated to instances, so some pci devices would be reallocated to
the instances, and record these pci into DB, maybe they was
inconsistent with the libvirt.xml.
IOW, nova-compute would reallocated the pci device for the instance
with pci request when restarting.
See details:
http://git.openstack.org/cgit/openstack/nova/tree/nova/compute/resource_tracker.py#n347
This is a probabilistic problem, not always can be reproduced. If the
instance have a lot of pci devices, it happen more.
Face this bug in kilo master.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1415768/+subscriptions
Follow ups
References