boot n-cpu from a clean database lead to pci passthrough stop work
Bug #1536509 reported by
Yongli He
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Yongli He |
Bug Description
first time boot nova or clean the pci devices from nova database then reboot n-cpu, will leading to scheduling the VM with pci devices fail. if then reboot the n-cpu, everything is ok.
this bug now block the third-party pci-test.
description: | updated |
description: | updated |
Changed in nova: | |
assignee: | Eli Qiao (taget-9) → nobody |
status: | In Progress → New |
Changed in nova: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
the reason of this problem because reported pci devices's "status" is "none" when saved to pci_devices
2016-01-21 16:49:15.830 DEBUG oslo_concurrenc y.lockutils [req-a2b7a457- c473-4bff- 92b1-ef15b3d63b 4a None None] Lock "compute_resources" released by "nova.compute. resource_ tracker. _update_ available_ resource" :: held 0.159s inner /usr/local/ lib/python2. 7/dist- packages/ oslo_concurrenc y/lockutils. py:282 manager [req-a2b7a457- c473-4bff- 92b1-ef15b3d63b 4a None None] Error updating resources for node shci-pci-1. manager Traceback (most recent call last): manager File "/opt/stack/ nova/nova/ compute/ manager. py", line 6300, in update_ available_ resource manager rt.update_ available_ resource( context) manager File "/opt/stack/ nova/nova/ compute/ resource_ tracker. py", line 492, in update_ available_ resource manager self._update_ available_ resource( context, resources) manager File "/usr/local/ lib/python2. 7/dist- packages/ oslo_concurrenc y/lockutils. py", line 271, in inner manager return f(*args, **kwargs) manager File "/opt/stack/ nova/nova/ compute/ resource_ tracker. py", line 554, in _update_ available_ resource manager self._update( context) manager File "/opt/stack/ nova/nova/ compute/ resource_ tracker. py", line 664, in _update manager self.pci_ tracker. save(context) manager File "/opt/stack/ nova/nova/ pci/manager. py", line 87, in save manager dev.save() manager File "/usr/local/ lib/python2. 7/dist- packages/ oslo_versionedo bjects/ base.py" , line 205, in wrapper manager ctxt, self, fn.__name__, args, kwargs) manager File "/opt/stack/ nova/nova/ conductor/ rpcapi. py", line 246, in object_action manager objmethod= objmethod, args=args, kwargs=kwargs) manager File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ rpc/client. py", line 158, in call manager retry=self.retry) manager File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ transport. py", line 90, in _send manager timeout=timeout, retry=retry) manager File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ _drivers/ amqpdriver. py", line 464, in send
2016-01-21 16:49:15.830 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.compute.
2016-01-21 16:49:15.830 796 ERROR nova.com...