← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1461638] Re: when booting with a blank volume without supplied size - it will just get ignored

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => liberty-2

-- 
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/1461638

Title:
  when booting with a blank volume without supplied size - it will just
  get ignored

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  $ nova boot --image cirros-0.3.4-x86_64-uec --flavor 1 --block-device
  source=blank,dest=volume testvm-blank

  The above line would be accepted as a valid boot request, but no blank
  volume would be created. The reason is that:

  https://github.com/openstack/nova/blob/46bba88413c99ddbb8080f68c1a32a64ef908150/nova/compute/api.py#L1210

  will not check if the size was provided (like it checks when
  source=image volume is requested), and then it will just get
  completely disregarded here:

  https://github.com/openstack/nova/blob/46bba88413c99ddbb8080f68c1a32a64ef908150/nova/compute/api.py#L1204

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1461638/+subscriptions


References