Bug 1020506 - openstack-nova: the creation of instance with a used bootable volume should fail
openstack-nova: the creation of instance with a used bootable volume should fail
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 4.0
Assigned To: RHOS Maint
Ami Jeain
Depends On:
  Show dependency treegraph
Reported: 2013-10-17 15:29 EDT by Yogev Rabl
Modified: 2013-10-17 17:00 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-10-17 17:00:19 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Yogev Rabl 2013-10-17 15:29:24 EDT
Description of problem:
related to the bug 1020501 , if more than one instance is created with the same bootable volume the creation procedure should fail and the instance should even be created with an error in the nova list

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:
Comment 2 Russell Bryant 2013-10-17 16:57:04 EDT
This is expected behavior.  Server creation is an async operation.  As long as the input passes initial sanity checks, there are a bunch of ways that it may fail and result in being put in an ERROR state.  Even if we did do this check on the API side, it wouldn't catch all cases.  There is a bit of a race condition here if two such requests came in at the same time.

Note You need to log in before you can comment on or make changes to this bug.