Back to bug 1044562

Who When What Removed Added
Stephen Gordon 2014-01-03 20:57:28 UTC CC sgordon
Scott Lewis 2014-01-07 14:05:17 UTC Keywords ZStream
Ami Jeain 2014-01-08 14:15:21 UTC QA Contact ajeain gszasz
Vladan Popovic 2014-01-08 15:01:04 UTC Status ASSIGNED MODIFIED
Fixed In Version openstack-nova-2013.1.4-3.el6ost
Doc Text Cause: The max_size argument is passed to the _create_ephemeral and _create_swap methods which don't recognize it and crash dramatically while trying to create the images.

Consequence:
Booting an instance with an swap and/or ephemeral disk(s) will fail moving the instance to ERROR. This is the default if the flavor specifies an swap or ephemeral disk.

This bug was introduced in https://review.openstack.org/54767 which introduces a new argument in the fetch_image/fetch_to_raw methods to enforce the maximum size an image can have. Erroneously, this argument is also passed to the _create_ephemeral and _create_swap methods which don't recognize it and crash dramatically while trying to create the images.
Fix:
Add missing argument max_size in LibvirtDriver _create_ephemeral and _create_swap methods
Result:
Instance boots with the swap and/or ephemeral disks.
Vladan Popovic 2014-01-09 15:24:35 UTC Doc Text Cause: The max_size argument is passed to the _create_ephemeral and _create_swap methods which don't recognize it and crash dramatically while trying to create the images.

Consequence:
Booting an instance with an swap and/or ephemeral disk(s) will fail moving the instance to ERROR. This is the default if the flavor specifies an swap or ephemeral disk.

This bug was introduced in https://review.openstack.org/54767 which introduces a new argument in the fetch_image/fetch_to_raw methods to enforce the maximum size an image can have. Erroneously, this argument is also passed to the _create_ephemeral and _create_swap methods which don't recognize it and crash dramatically while trying to create the images.
Fix:
Add missing argument max_size in LibvirtDriver _create_ephemeral and _create_swap methods
Result:
Instance boots with the swap and/or ephemeral disks.
Scott Lewis 2014-01-09 19:19:13 UTC Target Milestone async ---
John Skeoch 2014-01-13 01:19:30 UTC CC hateya
Xavier Queralt 2014-01-13 14:51:15 UTC Target Milestone --- A4
errata-xmlrpc 2014-01-21 21:44:51 UTC Status MODIFIED ON_QA
Stephen Gordon 2014-01-22 14:21:15 UTC Keywords Triaged
Gabriel Szasz 2014-01-28 13:38:55 UTC Status ON_QA VERIFIED
errata-xmlrpc 2014-01-30 00:03:41 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2014-01-30 20:00:22 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2014-01-30 15:00:22 UTC
John Skeoch 2014-08-31 23:19:34 UTC CC pmyers
Perry Myers 2016-04-26 13:55:56 UTC CC pmyers
Russell Bryant 2019-09-09 16:53:48 UTC CC rbryant

Back to bug 1044562