glance update won't update custom properties
Bug #747665 reported by
Tom vN
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Dan Prince |
Bug Description
Using glance revno: 100
I ran "glance update 8" which wiped off all custom properties, which might also be a bug but isn't this bug.
To correct this I run "glance update 8 image_location=
I can see the x-image-
What's strange is if I "glance update 8 ' image_location'
Changed in glance: | |
milestone: | cactus-2011-04-07 → 2011.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I have seen a similar issue (which is probably another symptom of the same bug):
When I run a glance update, it will blast any previously defined custom properties. If I then try to re-add those properties, I cannot. For example:
glance show 5 0.0.0.0/ images/ 5 /var/lib/ glance/ images/ 5
URI: http://
Id: 5
Public: Yes
Name: Centos5-5.5-Base_VM
Size: 816906240
Location: file://
Disk format: ami
Container format: ami
Property 'flavor': CentOS 5
Property 'type': machine
Property 'creator': Kevin
glance update 5 build_date= "04-01- 2011"
Updated image 5
root@e3ab3:~# glance show 5 0.0.0.0/ images/ 5 /var/lib/ glance/ images/ 5
URI: http://
Id: 5
Public: Yes
Name: Centos5-5.5-Base_VM
Size: 816906240
Location: file://
Disk format: ami
Container format: ami
Property 'build_date': 04-01-2011
glance update 5 build_date= "04-01- 2011" flavor="CentOS 5" type="machine" creator="Kevin" 0.0.0.0/ images/ 5 /var/lib/ glance/ images/ 5
Updated image 5
root@e3ab3:~# glance show 5
URI: http://
Id: 5
Public: Yes
Name: Centos5-5.5-Base_VM
Size: 816906240
Location: file://
Disk format: ami
Container format: ami
Property 'build_date': 04-01-2011
The original custom properties are also gone when I visit http:// 0.0.0.0: 9292/images/ detail
I think I need to enable glance logging as I don't see any traces, so once I find some I'll add some additional information.