Race in instance_create with security_group_destroy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Low
|
Unassigned |
Bug Description
There is a race in instance_create between fetching security groups (returned by _security_
The result is currently that the SecurityGroupIn
While this intermediate state doesn't appear to cause an immediate problem, I feel it would be likely to result in unexpected behaviour at some point in the future, probably during a datamodel upgrade.
My preference would be to cause it to fail, as that feels intuitively to me to be the most useful response to the end user (they have just requested an instance with a security group, but the returned instance already does not have that security group). However, either behaviour would be correct IMO. I suspect the failure behaviour would be harder to achieve in practice.
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
As an info for potential assignees: /review. openstack. org/#/c/ 148273/
Matthew Booth tried to document this issue with this patch set: https:/