placement functional tests can collide when synchronising the traits table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Chris Dent |
Bug Description
The placement functional tests make use of the traits table. At the start of most requests to the objects in resource_
A global flag is present which says "I've already synchronised". Functional tests are responsible for making sure this is in the right state.
It turns out that this management was not complete, and after a recent move of db/test_
The fix is to ensure that functional tests manage the related db flags both during setup and teardown and not rely solely on one or the other (as people can easily get it wrong).
Here is at least one fingerprint:
http:// logstash. openstack. org/#dashboard/ file/logstash. json?query= ((message% 3A%5C%22% 5C%5C%5C% 22DELETE% 20%2Ftraits% 2F%5C%22% 20AND%20message %3A%5C% 22status% 3A%20404% 5C%22)% 20OR%20( message% 3A%5C%22Asserti onError% 3A%20'MISC_ SHARES_ VIA_AGGREGATE' %20not% 20found% 20in%5C% 22))%20AND% 20tags% 3A%5C%22console %5C%22& from=7d