Interpret BDM None size field as 0 on compute side
This patch makes sure that even if we receive an ephemeral or swap BDM
without size information - it is defaulted to 0 by the compute service
prior to booting the VM, as the size is expected to be present and an
integer number by the driver code that uses it.
Reviewed: https:/ /review. openstack. org/44669 github. com/openstack/ nova/commit/ a957beb94720ca3 f171149155f9dca bd20e6141b
Committed: http://
Submitter: Jenkins
Branch: master
commit a957beb94720ca3 f171149155f9dca bd20e6141b
Author: Nikola Dipanov <email address hidden>
Date: Mon Sep 2 11:49:08 2013 +0200
Interpret BDM None size field as 0 on compute side
This patch makes sure that even if we receive an ephemeral or swap BDM
without size information - it is defaulted to 0 by the compute service
prior to booting the VM, as the size is expected to be present and an
integer number by the driver code that uses it.
Closes-bug: #1218861
Change-Id: Ic6fc15d1cf876a a4fd99e17c582c1 ab55e3a18c1