Updating a snapshot makes it turn up under images

Bug #1014226 reported by Sam Morrison
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Undecided
Unassigned
OpenStack Dashboard (Horizon)
Fix Released
Medium
Jay Pipes

Bug Description

This is because either horizon or glance marks the image properties as deleted. Specifically the image_type property is marked as deleted.

Revision history for this message
Jay Pipes (jaypipes) wrote :

Marking invalid in Glance as this is correct behaviour. Will comment about how to "fix" this in Horizon...

Changed in glance:
status: New → Invalid
Changed in horizon:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Jay Pipes (jaypipes)
Revision history for this message
Jay Pipes (jaypipes) wrote :

I'll handle this. Basically, Horizon needs to pass the X-Glance-Registry-Purge-Props: false header in the call to update_image().

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/8652

Changed in horizon:
status: Triaged → In Progress
Jay Pipes (jaypipes)
Changed in horizon:
milestone: none → folsom-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/8652
Committed: http://github.com/openstack/horizon/commit/5e20e7cc11a15820ebc8b829ee485780268eb8e1
Submitter: Jenkins
Branch: master

commit 5e20e7cc11a15820ebc8b829ee485780268eb8e1
Author: Jay Pipes <email address hidden>
Date: Sun Jun 17 13:21:46 2012 -0400

    Ensure existing image properties are not deleted

    Fixes LP #1014226

    Passing the X-Glance-Registry-Purge-Props: false
    header to the image_update Glance client method
    prevents previously-set image properties from being
    marked deleted.

    Change-Id: I91e927f8c95205cae11bad0d93361f1c9951d62d

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: folsom-2 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.