horizon/openstack_dashboard/dashboards/project
Eric Desrochers eba87483ea Not implicitly set vol_device_name to vda
Using a scsi decorated image with:
hw_disk_bus='scsi'
hw_scsi_model='virtio-scsi'

This solve the case where an instance is
launched with 'image' selected as boot
source with a new volume. This will result
in /dev/vda instead of /dev/sda as it
should.

Not specifying device name in
setFinalSpecBootImageToVolume() leaves the
decision to nova to determine it.

Example:
-------
VM boot volume without scsi meta data decoration:
Attached To
0a0cd660-7ce3-4033-9983-2e1099edc5f0 on /dev/vda

VM boot volume with scsi meta data decoration:
Attached To
91f50dbc-8bdf-4293-84ea-fc5df27b5ee4 on /dev/sda
--------

Note: This commit doesn't address cases for
where instances are launched using existing
volume and snapshot, this will involve more
work to migrate the code from BDMv1 to BDMv2.

Closes-Bug #1560965

Change-Id: I9d114c2c2e6736a8f1a8092afa568f930b656f09
(cherry picked from commit 0df60f4dba)
2019-04-01 14:08:36 +00:00
..
api_access Set PROJECT_DOMAIN_NAME in generated v3 openrc 2017-09-12 13:26:43 +00:00
backups Add enabled check in Backups panel 2018-09-28 12:20:56 +00:00
cg_snapshots Consistency Group Snapshots detail url is wrong 2019-02-03 18:14:20 +00:00
cgroups Get rid of redundant cinder api calls 2017-07-14 16:29:06 +03:00
containers Removing deprecated Swift UI code 2016-11-17 16:00:00 -07:00
floating_ips Fix pep8 errors 2018-04-12 02:40:54 +09:00
images Make get_available_images() return all the images available 2017-08-28 07:20:20 +00:00
instances Fix pep8 errors 2018-04-12 02:40:54 +09:00
key_pairs Fix tenant_quota_usages function calls caching 2017-06-26 17:36:07 +03:00
network_qos Add details to network_qos panel 2017-07-24 13:07:44 +01:00
network_topology Redirect VM console dynamically 2017-12-19 12:35:42 +00:00
networks Merge "Allow admin to create port on networks of different projects" into stable/pike 2018-02-05 05:26:19 +00:00
overview Fix pep8 errors 2018-04-12 02:40:54 +09:00
routers Fix pep8 errors 2018-04-12 02:40:54 +09:00
security_groups Make icmp_type/code optional 2018-01-16 15:51:37 +00:00
snapshots Add the Snapshots tab on the Volume Details page 2017-07-27 13:30:34 +00:00
stacks Fix pep8 errors 2018-04-12 02:40:54 +09:00
static/dashboard/project Not implicitly set vol_device_name to vda 2019-04-01 14:08:36 +00:00
trunks Trunks panel: details for trunks and subports 2017-07-27 10:48:55 +02:00
volumes Fix pep8 errors 2018-04-12 02:40:54 +09:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
dashboard.py Retrieve domain scoped token 2016-03-08 15:17:38 -08:00