yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64736
[Bug 1697391] [NEW] Can not delete the image has been launched instance when use rbd
Public bug reported:
Description
===========
When use rbd as nova and glance store backend, create an instance will directly clone image from glance, but the image did not do flatten, so When a image boot an instance, the image can not be deleted because it is in use.
There is a glance image property named 'img_linked_clone', used to
control the association of image and instance, but it can not use in
libvirt. if flatten the image after instance created, the association of
image and instance will be broken, image and instance will be
independent of each other.
Steps to reproduce
==================
A chronological list of steps which will bring off the
issue you noticed:
1.use rbd as the nova and glance backend.
2.upload a raw image.
3.use this image create an instance
4.try to delete the image
Expected result
===============
the image will be deleted.
Actual result
=============
the image can not be deleted
Environment
===========
TripleO(newton)
devstack(pike) with rbd
** Affects: nova
Importance: Undecided
Status: New
** Tags: ceph libvirt
** Tags added: rbd
** Tags removed: rbd
** Tags added: ceph
** Tags added: libvirt
** Description changed:
Description
===========
When use rbd as nova and glance store backend, create an instance will directly clone image from glance, but the image did not do flatten, so When a image boot an instance, the image can not be deleted because it is in use.
There is a glance image property named 'img_linked_clone', used to
control the association of image and instance, but it can not use in
libvirt. if flatten the image after instance created, the association of
image and instance will be broken, image and instance will be
independent of each other.
Steps to reproduce
==================
A chronological list of steps which will bring off the
issue you noticed:
1.use rbd as the nova and glance backend.
2.upload a raw image.
3.use this image create an instance
4.try to delete the image
Expected result
===============
the image will be deleted.
Actual result
=============
the image can not be deleted
+
+ Environment
+ ===========
+
+ TripleO(newton)
+ devstack(pike) with rbd
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1697391
Title:
Can not delete the image has been launched instance when use rbd
Status in OpenStack Compute (nova):
New
Bug description:
Description
===========
When use rbd as nova and glance store backend, create an instance will directly clone image from glance, but the image did not do flatten, so When a image boot an instance, the image can not be deleted because it is in use.
There is a glance image property named 'img_linked_clone', used to
control the association of image and instance, but it can not use in
libvirt. if flatten the image after instance created, the association
of image and instance will be broken, image and instance will be
independent of each other.
Steps to reproduce
==================
A chronological list of steps which will bring off the
issue you noticed:
1.use rbd as the nova and glance backend.
2.upload a raw image.
3.use this image create an instance
4.try to delete the image
Expected result
===============
the image will be deleted.
Actual result
=============
the image can not be deleted
Environment
===========
TripleO(newton)
devstack(pike) with rbd
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1697391/+subscriptions