yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06947
[Bug 1250032] Re: libvirt's _create_ephemeral must accept max_size
*** This bug is a duplicate of bug 1251152 ***
https://bugs.launchpad.net/bugs/1251152
** Also affects: nova/havana
Importance: Undecided
Status: New
--
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/1250032
Title:
libvirt's _create_ephemeral must accept max_size
Status in OpenStack Compute (Nova):
Fix Committed
Status in OpenStack Compute (nova) havana series:
New
Bug description:
Running libvirt / KVM with QCow2, local ephemeral storage.
With revision f6810be4, Change-Id:
I3d47adaa2ad07434853f447feb27d7aae0e2e717, a max_size parameter was
introduced to calls to prepare_template. For ephemeral images, this
introduced a regression.
prepare_template triggers a call to _create_ephemeral in the case
where an ephemeral backing file (of some size) is required, which
doesn't yet exist on the host.
This causes an error since nova/virt/libvirt/driver.py's
LibvirtDriver._create_ephemeral doesn't recognise that kwarg.
The fix ought to be trivial - teaching _create_ephemeral to understand
the max_size kwarg (even if it ignores it).
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1250032/+subscriptions