test_create_server_with_pci_dev_and_numa functional test randomly fails with "OpenStackApiNotFoundException: Item not found"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Seen here:
2017-03-21 18:29:51.237243 | nova.tests.
2017-03-21 18:29:51.237307 | -------
2017-03-21 18:29:51.237322 |
2017-03-21 18:29:51.237340 | Captured traceback:
2017-03-21 18:29:51.237358 | ~~~~~~~~~~~~~~~~~~~
2017-03-21 18:29:51.237381 | b'Traceback (most recent call last):'
2017-03-21 18:29:51.237440 | b' File "/home/
2017-03-21 18:29:51.237466 | b' return func(*args, **keywargs)'
2017-03-21 18:29:51.237530 | b' File "/home/
2017-03-21 18:29:51.237572 | b' pf_server = self._run_
2017-03-21 18:29:51.237632 | b' File "/home/
2017-03-21 18:29:51.237666 | b" found_server = self._wait_
2017-03-21 18:29:51.237731 | b' File "/home/
2017-03-21 18:29:51.237782 | b" server = self.api.
2017-03-21 18:29:51.237836 | b' File "/home/
2017-03-21 18:29:51.237870 | b" return self.api_
2017-03-21 18:29:51.237919 | b' File "/home/
2017-03-21 18:29:51.237951 | b' return APIResponse(
2017-03-21 18:29:51.238002 | b' File "/home/
2017-03-21 18:29:51.238032 | b' raise OpenStackApiNot
2017-03-21 18:29:51.238067 | b'nova.
2017-03-21 18:29:51.238085 | b''
Looks like it fails while waiting for a server to be active.
The test is polling every .1 second, so I'm wondering if we're hitting a window between the time that the instance is created and mapped to a cell and the build_request is deleted, but I thought we hit something like that in Tempest in Ocata and fixed it (but Tempest polls every 1 second, not every .1 second).
http:// logstash. openstack. org/#dashboard/ file/logstash. json?query= (message% 3A%5C%22nova. tests.functiona l.api.client. OpenStackApiNot FoundException% 3A%20Item% 20not%20found% 5C%22%20OR% 20message% 3A%5C%22b' nova.tests. functional. api.client. OpenStackApiNot FoundException% 3A%20Item% 20not%20found' %5C%22) %20AND% 20tags% 3A%5C%22console %5C%22& from=7d
189 hits in 7 days, check queue only but multiple changes.