registry error message omits image id

Bug #1026072 reported by Tom Hancock
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Tom Hancock

Bug Description

This code in registry/api/v1/images.py is not picking up the image ID and so

msg = (_("Image with identifier %s already exists!") % id)

prints out

ERROR Image with identifier <built-in function id> already exists!

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

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

Changed in glance:
assignee: nobody → Tom Hancock (tom-hancock)
status: New → In Progress
Brian Waldon (bcwaldon)
Changed in glance:
importance: Undecided → Low
milestone: none → folsom-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/9960
Committed: http://github.com/openstack/glance/commit/35d865a48cbeb7b21ff68b74c39dde6639469c74
Submitter: Jenkins
Branch: master

commit 35d865a48cbeb7b21ff68b74c39dde6639469c74
Author: Tom Hancock <email address hidden>
Date: Tue Jul 17 17:25:50 2012 +0000

    Fix registry error message and exception contents

    The variable image_id should have been used instead of the global
    identifier id

    Fixes LP Bug #1026072

    Change-Id: I2e73810e3165dd8b7032359b5fb8a874e592736f

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: folsom-3 → 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.