cells: test_create_ebs_image_and_check_boot fails intermittently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Andrew Laski |
Bug Description
2015-08-28 18:41:12.128 | tempest.
2015-08-28 18:41:12.128 | -------
2015-08-28 18:41:12.128 |
2015-08-28 18:41:12.128 | Captured traceback:
2015-08-28 18:41:12.128 | ~~~~~~~~~~~~~~~~~~~
2015-08-28 18:41:12.128 | Traceback (most recent call last):
2015-08-28 18:41:12.128 | File "tempest/test.py", line 126, in wrapper
2015-08-28 18:41:12.128 | return f(self, *func_args, **func_kwargs)
2015-08-28 18:41:12.128 | File "tempest/
2015-08-28 18:41:12.128 | instance = self.create_
2015-08-28 18:41:12.129 | File "tempest/
2015-08-28 18:41:12.129 | **create_kwargs)
2015-08-28 18:41:12.129 | File "tempest/
2015-08-28 18:41:12.129 | resp, body = self.post(
2015-08-28 18:41:12.129 | File "/opt/stack/
2015-08-28 18:41:12.129 | return self.request(
2015-08-28 18:41:12.129 | File "/opt/stack/
2015-08-28 18:41:12.129 | resp, resp_body)
2015-08-28 18:41:12.129 | File "/opt/stack/
2015-08-28 18:41:12.129 | raise exceptions.
2015-08-28 18:41:12.129 | tempest_
2015-08-28 18:41:12.130 | Details: {u'code': 400, u'message': u'Block Device Mapping is Invalid: Boot sequence for the instance and image/block device mapping combination is not valid.'}
as seen at http://
The cause appears to be a race with processing messages to create_or_update a bdm in the parent cell. Rather than creating then updating the two messages both create due to the quickness with which they are sent and processed. One solution is to send a create message and then an update. A followup to enhance that would include adding a unique constraint so that two identical bdms can't be created.
tags: | added: cells |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-3 → 12.0.0 |
Fix proposed to branch: master /review. openstack. org/218450
Review: https:/