nova don't create local disk if specify device=vda in block_device_mapping_v2
Bug #1449858 reported by
Eli Qiao
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Low
|
Unassigned |
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-
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.
description: | updated |
Changed in nova: | |
assignee: | nobody → Eli Qiao (taget-9) |
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: | added: volumes |
Changed in nova: | |
assignee: | Eli Qiao (taget-9) → wanghao (wanghao749) |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | wanghao (wanghao749) → nobody |
status: | In Progress → Confirmed |
Changed in nova: | |
assignee: | nobody → wanghao (wanghao749) |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | wanghao (wanghao749) → Stephen Finucane (stephenfinucane) |
Changed in nova: | |
assignee: | Stephen Finucane (stephenfinucane) → wanghao (wanghao749) |
Changed in nova: | |
status: | In Progress → New |
assignee: | wanghao (wanghao749) → nobody |
Changed in nova: | |
status: | New → Confirmed |
To post a comment you must log in.
+-----+ ------- ----+-- ------- --+---- --+---- ------- +------ +------ -+----- ------- -+----- ------+ ------- ----+-- ------- --+---- --+---- ------- +------ +------ -+----- ------- -+----- ------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+-----+
| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
if flavor 1 this ? why need 2 devices ? no ephemeral , no swap disk?