[Bug 962615] Re: [SRU] Unable to list volumes after building from snapshot

Chuck Short chuck.short at canonical.com
Thu Jun 7 14:54:19 UTC 2012


** Impact **

* Migrations create a snaphsot_id column that is an integer, but
models incorrectly list it as a string.
* The above issue causes errors in certain situations when trying
to list instances. It seems to be only certain db configurations
or versions of sqlalchemy that exhibit the issue.
* Issue was fixed in trunk as part of a conversion to uuids in
commit 407e16b863bac1dfbf4e954837009abf9c17f018 so a straight
backport is not possible

** Developmen Fix **

Fixed in development runk at commit
407e16b863bac1dfbf4e954837009abf9c17f018 and fixed in quantal.

** Stable Fix **

This has been addressed in the stable/essex branch https://review.openstack.org/7509
1. I create a volume (via horizon)
2. I snapshot the volume (via horizon)
2bis. I can check that everything is right (via horizon or via nova client : "nova volume-list" and "nova volume-snapshot-list")
3. I create a volume from this snapshot (via nova client : nova volume-create --snapshot_id 1 --display_name "volume from snap" --display_description "kjh" 1 )
4. I am no more able to list the volumes. Via horizon or via nova client :
#nova volume-list
ERROR: The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400)
** Test Case **

** Regression Potential **

Minimal.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/962615

Title:
  [SRU] Unable to list volumes after building from snapshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/962615/+subscriptions



More information about the Ubuntu-server-bugs mailing list