Instance snapshots no longer filterable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I need help in verifying that this is in fact a bug (confirm that behavior has changed) and if so, then we need to consider the ramifications.
Nova has historically set image_type to snapshot when creating snapshots. This is a custom property (not a core glance property). This property is ONLY set if the image is of type snapshot.
Horizon uses this property to filter for snapshots using the Glance client and we were also adding support for it in Searchlight [0]
Using a devstack as of Jun 13th, 2016 I can not seem to get nova to create a snapshot where that image_type property is set. I've tried this from CLI and horizon.
Whenever I create the snapshot from the instance it comes through as an image initially. Sometimes it seems to stay and sometimes it immediately goes to the deleted state.
[0] https:/
[1] https:/
See comments here on Patchset 7: https:/ /review. openstack. org/#/c/ 317741/
With a fresh devstack today (2016-06-20) I was able to successfully create snapshots from nova. I don't know if it was a change in nova / glance, etc or if the steps I took made the difference. As a note, I used Ubuntu 14.04 server image and ensured that it was fully booted before creating a snapshot. I also logged into the image and created a file in tmp. Doing this I was able to test a variety of scenarios for the facet.