glance client update metadata is_public=True fails
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://
Id: 1
Public: Yes
Name: Image-1
Size: 58520278
Location: swift:/
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://
Id: 1
Public: No
Name: Image-1
Size: 58520278
Location: swift:/
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://
Id: 1
Public: No
Name: Image-1
Size: 58520278
Location: swift:/
Disk format: raw
Container format: ovf
Property 'distro': ubuntu 10.10
Related branches
- Jay Pipes (community): Approve
- Christopher MacGown (community): Approve
- Ed Leafe (community): Approve
- Rick Harris (community): Approve
- Cory Wright: Pending requested
-
Diff: 1329 lines (+896/-329)11 files modifiedMANIFEST.in (+1/-2)
bin/glance (+1/-1)
glance/server.py (+3/-1)
glance/store/http.py (+1/-1)
tests/functional/__init__.py (+225/-0)
tests/functional/test_bin_glance.py (+152/-0)
tests/functional/test_curl_api.py (+302/-0)
tests/functional/test_logging.py (+79/-0)
tests/functional/test_misc.py (+26/-315)
tests/unit/test_utils.py (+67/-0)
tests/utils.py (+39/-9)
summary: |
- Unable to set image metadata to Public=Trueing image + Unable to set image metadata to Public=True |
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 |
Changed in glance: | |
milestone: | none → cactus-2011-04-11 |
status: | Confirmed → In Progress |
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
milestone: | cactus-2011-03-24 → 2011.2 |
status: | Fix Committed → Fix Released |