object get can't work when fields not valid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Lisa Li |
Bug Description
In master,
Run following commands to create backup from snapshot,
curl -g -i -X POST http://
It gave following result:
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-ac12f5a4-
Check the database, find that the field attach_status is null, availability_zone is null in new created volume.
This leads that all the interface related to get the invalid volume don't work. Cinder api/volume/schedule can't work related to volumes.
This bug is opened to track the change for objects. _from_db_ object( ).
Cinder needs to deal with exception raised by the above interface.
And to fix creation problem when backing snapshot, I will use this bug: https:/ /bugs.launchpad .net/cinder/ +bug/1549673