yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #35861
[Bug 1463948] Re: MySQL backend: Updating flavor extra-specs with altered case throws conflicts
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => liberty-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1463948
Title:
MySQL backend: Updating flavor extra-specs with altered case throws
conflicts
Status in OpenStack Compute (nova):
Fix Released
Bug description:
The DB query for flavor extra-specs is case-insensitive, but the code
to handle update vs. create is case-sensitive. This causes unexpected
behavior when trying to "fix" case on extra-specs:
Steps to reproduce:
Stand up a devstack with the MySQL backend.
nova flavor-key set 1 aaa=haha
nova flavor-key set 1 AAA=lolz
Expected results:
Option 1: Two extra specs, named "aaa" and "AAA", with distinct values
Option 2: The extra spec named "aaa" replaced with "AAA"
Actual results:
a 409 Error from the client, and an exception throwing the exception
on the backend
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1463948/+subscriptions
References