yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10772
[Bug 889299] Re: volume/snapshots takes very long to delete
** Changed in: nova
Status: Fix Committed => Fix Released
--
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/889299
Title:
volume/snapshots takes very long to delete
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
I have a large number of snapshots created from a volume. These are
COW snapshots so the actual disk space they take is not large, but
when I try to delete them using the OSAPI, it takes a very long time
to delete each one of them. The volumes and snapshots are based on
LVM.
Looking at the code, nova-volumes clears the volume/snapshots using
"dd if=/dev/zero of=/dev/mapper/<vol-name>", which is what takes a
long time for large volumes/snapshots. This should be done in a lazy
fashion (as mentioned in a TODO comment in the code).
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/889299/+subscriptions