Update one property erase others
I use Glance (bzr116) on ubuntu 10.04 LTS.
if I update a property of an image, the older properties (set before) are erased.
Example:
$ glance show 71
URI: http://
Id: 71
Public: No
Name: Ubuntu_64.71
Size: 0
Location: None
Disk format: ami
Container format: ami
Property 'image_location': snapshot
Property 'image_state': available
Property 'kernel_id': 59
Property 'ramdisk_id': None
Property 'architecture': x86_64
Property 'owner_id': simple
$ glance update 71 is_public=true
$ glance show 71
URI: http://
Id: 71
Public: Yes
Name: Ubuntu_64.71
Size: 10737418240
Location: file://
Disk format: ami
Container format: ami
Another sample :
$ glance show 60
URI: http://
Id: 60
Public: Yes
Name: Ubuntu_64
Size: 3221225472
Location: file://
Disk format: ami
Container format: ami
Property 'architecture': x86_64
$ glance upload 60 kernel_id=59
$ glance show 60
URI: http://
Id: 60
Public: Yes
Name: Ubuntu_64
Size: 3221225472
Location: file://
Disk format: ami
Container format: ami
Property 'kernel_id': 59
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Glance Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Édouard Thuleau
- Solved:
- Last query:
- Last reply:
This question was originally filed as bug #767027.