yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #59664
[Bug 1648109] Re: Libvirt LVM storage backend doesn't initialise filesystems of ephemeral disks
Reviewed: https://review.openstack.org/408152
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=de5bb0c3fe9e86166e81aa2465a8e7791f64ba39
Submitter: Jenkins
Branch: master
commit de5bb0c3fe9e86166e81aa2465a8e7791f64ba39
Author: Matthew Booth <mbooth@xxxxxxxxxx>
Date: Wed Dec 7 14:45:40 2016 +0000
libvirt: Fix initialising of LVM ephemeral disks
The LVM backend expects to write directly to the target disk rather
than to the image cache when initialising an ephemeral disk. This is
confounded by Image.cache(), which doesn't call the given callback
(_create_ephemeral in this case), if the target already exists.
Closes-Bug: #1648109
Co-authored-by: Feodor Tersin <ftersin@xxxxxxxxxxx>
Change-Id: Ic9178d6c013670611e63d54a7669f35dc9770e91
** Changed in: nova
Status: In Progress => 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/1648109
Title:
Libvirt LVM storage backend doesn't initialise filesystems of
ephemeral disks
Status in OpenStack Compute (nova):
Fix Released
Bug description:
N.B. This is from code inspection only.
When creating an LVM-backed instance with an ephemeral disk, the
ephemeral disk will not be initialised with the requested filesystem.
This is because Image.cache() wraps the _create_ephemeral callback in
fetch_func_sync, which will not call _create_ephemeral if the target
already exists. Because the Lvm backend must create the disk first,
this is never called.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1648109/+subscriptions
References