test_reboot_deleted_server fails with 409 "Cannot 'reboot' instance while it is in vm_state building"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Matt Riedemann |
Bug Description
2017-02-01 02:06:33.592237 | tempest.
2017-02-01 02:06:33.592305 | -------
2017-02-01 02:06:33.592321 |
2017-02-01 02:06:33.592340 | Captured traceback:
2017-02-01 02:06:33.592367 | ~~~~~~~~~~~~~~~~~~~
2017-02-01 02:06:33.592398 | Traceback (most recent call last):
2017-02-01 02:06:33.592453 | File "tempest/
2017-02-01 02:06:33.593010 | server['id'], type='SOFT')
2017-02-01 02:06:33.593072 | File "/opt/stack/
2017-02-01 02:06:33.593110 | self.assertThat
2017-02-01 02:06:33.593162 | File "/opt/stack/
2017-02-01 02:06:33.593205 | mismatch_error = self._matchHelp
2017-02-01 02:06:33.593266 | File "/opt/stack/
2017-02-01 02:06:33.593294 | mismatch = matcher.
2017-02-01 02:06:33.593345 | File "/opt/stack/
2017-02-01 02:06:33.593388 | mismatch = self.exception_
2017-02-01 02:06:33.593443 | File "/opt/stack/
2017-02-01 02:06:33.593468 | mismatch = matcher.
2017-02-01 02:06:33.593515 | File "/opt/stack/
2017-02-01 02:06:33.593544 | reraise(*matchee)
2017-02-01 02:06:33.593597 | File "/opt/stack/
2017-02-01 02:06:33.593618 | result = matchee()
2017-02-01 02:06:33.593667 | File "/opt/stack/
2017-02-01 02:06:33.593699 | return self._callable_
2017-02-01 02:06:33.593736 | File "tempest/
2017-02-01 02:06:33.593777 | return self.action(
2017-02-01 02:06:33.593814 | File "tempest/
2017-02-01 02:06:33.594170 | post_body)
2017-02-01 02:06:33.594219 | File "tempest/
2017-02-01 02:06:33.594261 | return self.request(
2017-02-01 02:06:33.594298 | File "tempest/
2017-02-01 02:06:33.594328 | method, url, extra_headers, headers, body, chunked)
2017-02-01 02:06:33.594360 | File "tempest/
2017-02-01 02:06:33.594392 | self._error_
2017-02-01 02:06:33.594449 | File "tempest/
2017-02-01 02:06:33.594496 | raise exceptions.
2017-02-01 02:06:33.594555 | tempest.
2017-02-01 02:06:33.594641 | Details: {u'code': 409, u'message': u"Cannot 'reboot' instance d9978a80-
The test creates a server, then deletes the server and waits for it to be gone and then tries to reboot it and expects a 404 but gets a 409 because the instance is building.
We're probably hitting a window of time between when we have a build request and a real instance due to the recent change of moving instance creation from nova-api to nova-conductor.
Looks like this started on 1/27:
Which is when this merged: https:/
tags: | added: ocata-rc-potential |
Changed in nova: | |
assignee: | nobody → Matt Riedemann (mriedem) |
tags: | removed: ocata-rc-potential |
Looks like it's more than just that test:
http:// logs.openstack. org/48/ 426448/ 2/gate/ gate-tempest- dsvm-neutron- full-ubuntu- xenial/ ecb3d0a/ console. html#_2017- 01-31_14_ 47_05_827109
Details: {u'code': 409, u'message': u"Cannot 'rebuild' instance b7279ba1- 1847-4942- 912c-d1f148f00c a3 while it is in vm_state building"}