← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1449858] [NEW] nova don't create local disk if specify device=vda in block_device_mapping_v2

 

Public bug reported:

I wish to create a instance with local disk(1G) and attaching a
blank(new created) volume(2G).

using follow nova command line api, but I specify the bdm's device=vda

nova --debug boot --image baaece45-58a2-4e4c-b8b7-7b3f12fe4bc6 --flavor
1 --nic net-id=9af3d913-dd65-4864-88b5-cd42bce3f672 --block-device
source=blank,dest=volume,device=vda,size=2 test12

I got a instance , by checking domain xml
I only got 1 block device(2G), but no local disk was created.

============
expect result.
1. raise badrequest if sepcify device=vda in block-device.
or
2. just ignore device=vda in block-device and create 2 device for this instance.

I prefer option 1.

** Affects: nova
     Importance: Undecided
     Assignee: Eli Qiao (taget-9)
         Status: New

** Description changed:

  I wish to create a instance with local disk(1G) and attaching a
  blank(new created) volume(2G).
  
  using follow nova command line api, but I specify the bdm's device=vda
  
  nova --debug boot --image baaece45-58a2-4e4c-b8b7-7b3f12fe4bc6 --flavor
  1 --nic net-id=9af3d913-dd65-4864-88b5-cd42bce3f672 --block-device
  source=blank,dest=volume,device=vda,size=2 test12
  
  I got a instance , by checking domain xml
  I only got 1 block device(2G), but no local disk was created.
  
  ============
  expect result.
  1. raise badrequest if sepcify device=vda in block-device.
  or
  2. just ignore device=vda in block-device and create 2 device for this instance.
  
- I am prefer option 1.
+ I prefer option 1.

** Changed in: nova
     Assignee: (unassigned) => Eli Qiao (taget-9)

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

Title:
  nova don't create local disk if specify device=vda in
  block_device_mapping_v2

Status in OpenStack Compute (Nova):
  New

Bug description:
  I wish to create a instance with local disk(1G) and attaching a
  blank(new created) volume(2G).

  using follow nova command line api, but I specify the bdm's device=vda

  nova --debug boot --image baaece45-58a2-4e4c-b8b7-7b3f12fe4bc6
  --flavor 1 --nic net-id=9af3d913-dd65-4864-88b5-cd42bce3f672 --block-
  device source=blank,dest=volume,device=vda,size=2 test12

  I got a instance , by checking domain xml
  I only got 1 block device(2G), but no local disk was created.

  ============
  expect result.
  1. raise badrequest if sepcify device=vda in block-device.
  or
  2. just ignore device=vda in block-device and create 2 device for this instance.

  I prefer option 1.

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


Follow ups

References