Open termie opened 13 years ago
(by tpatil) Tested on nova revision 897 and glance revision 96.
(by vishvananda) Nice catch
On Mar 28, 2011, at 12:41 PM, Tushar Patil wrote:
Tested on nova revision 897 and glance revision 96.
You received this bug notification because you are a member of Nova Bug Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/744519
Title: euca-degister - deletes wrong image (for GlanceImageService)
Status in OpenStack Compute (Nova): New
Bug description: Steps to reproduce:- 1) Create ramdisk, kernel, machine images using glance upload.
2) $euca-describe-images IMAGE aki-00000002 (ipv6-kernel) private kernel IMAGE ari-00000001 (ipv6-ramdisk) private ramdisk IMAGE ami-00000003 (ipv6-disk-image) private machine aki-00000002 ari-00000001
3) Now try to deregister the ramdisk image using euca-deregister $euca-degister ami-000001
Here I am trying to delete the machine image with id 1 which doesn't exists. So I was expecting euca-deregister should give me some error message. But in this case it actually deletes the ramdisk image ari-00000001.
(by jaypipes) removed mention of GlanceImageService because this is agnostic to the underlying image service...
Steps to reproduce:- 1) Create ramdisk, kernel, machine images using glance upload.
2) $euca-describe-images IMAGE aki-00000002 (ipv6-kernel) private kernel IMAGE ari-00000001 (ipv6-ramdisk) private ramdisk IMAGE ami-00000003 (ipv6-disk-image) private machine aki-00000002 ari-00000001
3) Now try to deregister the ramdisk image using euca-deregister $euca-degister ami-000001
Here I am trying to delete the machine image with id 1 which doesn't exists. So I was expecting euca-deregister should give me some error message. But in this case it actually deletes the ramdisk image ari-00000001.
Imported from Launchpad using lp2gh.