glance client update metadata is_public=True fails

Bug #736295 reported by Marcelo Martins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
High
Jay Pipes

Bug Description

root@swtester1:~# glance add name="Image-1" distro="ubuntu 10.10" is_public=True < /root/images.tgz
Added new image with ID: 1

root@swtester1:~# glance index
Found 1 public images...
ID Name Disk Format Container Format Size
---------------- ------------------------------ -------------------- -------------------- --------------
1 Image-1 raw ovf 58520278

root@swtester1:~# glance show 1
URI: http://0.0.0.0/images/1
Id: 1
Public: Yes
Name: Image-1
Size: 58520278
Location: swift://ACC:marcelo:<email address hidden>:8443/v1.0/glance/1
Disk format: raw
Container format: ovf
Property 'distro': ubuntu 10.10

root@swtester1:~# glance update 1 is_public=False
Updated image 1

root@swtester1:~# glance show 1
URI: http://0.0.0.0/images/1
Id: 1
Public: No
Name: Image-1
Size: 58520278
Location: swift://ACC:marcelo:<email address hidden>:8443/v1.0/glance/1
Disk format: raw
Container format: ovf
Property 'distro': ubuntu 10.10

root@swtester1:~# glance update 1 is_public=True
Updated image 1

root@swtester1:~# glance show 1
URI: http://0.0.0.0/images/1
Id: 1
Public: No
Name: Image-1
Size: 58520278
Location: swift://ACC:marcelo:<email address hidden>:8443/v1.0/glance/1
Disk format: raw
Container format: ovf
Property 'distro': ubuntu 10.10

Related branches

Marcelo Martins (btorch)
summary: - Unable to set image metadata to Public=Trueing image
+ Unable to set image metadata to Public=True
Jay Pipes (jaypipes)
summary: - Unable to set image metadata to Public=True
+ glance client update metadata is_public=True fails
Changed in glance:
assignee: nobody → Jay Pipes (jaypipes)
importance: Undecided → High
status: New → Confirmed
Jay Pipes (jaypipes)
Changed in glance:
milestone: none → cactus-2011-04-11
status: Confirmed → In Progress
Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: cactus-2011-03-24 → 2011.2
status: Fix Committed → Fix Released
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.