hw_disk_bus property not properly applied to a VM running in Ceph
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
MOS Glance | ||
6.1.x |
Fix Released
|
High
|
Denis Meltsaykin | ||
7.0.x |
Fix Released
|
High
|
Anton Arefiev |
Bug Description
{"build_id": "2014-12-
[Operating System]
Ubuntu 12.04
[Reference Architecture]
HA with Ceph
1 Zabbix node
3 controller nodes
3 compute nodes
3 Ceph nodes
[Network model ]
Neutron - VLAN
Steps to reproduce
-------
- install Fuel with Ceph and Neutron VLAN network
- deploy 3 controller nodes, 3 compute nodes and 3 ceph nodes
- test 1 : create a VM NOT in Ceph with TestVM image (driver is virtio in XML, normal)
- test 2 : create a VM in Ceph with TestVM image (driver is virtio in XML, normal)
- edit TestVM image property : glance image-update TestVM --property hw_disk_bus=ide --property hw_vif_model=rtl813
- test 3 : create a VM NOT in Ceph with TestVM image (driver is ide in XML, good)
- test 4 : create a VM in Ceph with TestVM image (driver is virtio in XML, BAD)
Expected result
-------
Test 4 : disk driver should be ide (like in test 3)
Actual result
-------
Test 4 : disk driver is virtio
Example:
-------
cat /etc/libvirt/
...
<emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source file='/
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</disk>
cat /etc/libvirt/
...
<disk type='network' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<auth username='compute'>
<secret type='ceph' uuid='a5d0dd94-
</auth>
<source protocol='rbd' name='volumes/
<host name='192.168.0.6' port='6789'/>
<host name='192.168.0.7' port='6789'/>
<host name='192.168.0.8' port='6789'/>
</source>
<target dev='vda' bus='virtio'/>
<
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</disk>
glance image-update TestVM --property hw_disk_bus=ide --property hw_vif_
glance image-show TestVM
+------
| Property | Value |
+------
| Property 'hw_disk_bus' | ide |
| Property 'hw_vif_model' | rtl8139 |
| Property 'murano_image_info' | {"title": "Murano Demo", "type": "cirros.demo"} |
| checksum | 64d7c1cd2b6f60c
| container_format | bare |
| created_at | 2015-02-12T21:35:40 |
| deleted | False |
| disk_format | qcow2 |
| id | 61ba2ea6-
| is_public | True |
| min_disk | 0 |
| min_ram | 64 |
| name | TestVM |
| owner | 9e507661505748d
| protected | False |
| size | 13167616 |
| status | active |
| updated_at | 2015-02-12T21:44:09 |
+------
cat /etc/libvirt/
...
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source file='/
<target dev='hda' bus='ide'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
cat /etc/libvirt/
...
<disk type='network' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<auth username='compute'>
<secret type='ceph' uuid='a5d0dd94-
</auth>
<source protocol='rbd' name='volumes/
<host name='192.168.0.6' port='6789'/>
<host name='192.168.0.7' port='6789'/>
<host name='192.168.0.8' port='6789'/>
</source>
<target dev='vda' bus='virtio'/>
<
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</disk>
summary: |
- hw_disk_bus property and it's not properly applied to a VM running in - Ceph + hw_disk_bus property not properly applied to a VM running in Ceph |
Changed in fuel: | |
assignee: | nobody → MOS Nova (mos-nova) |
affects: | fuel → mos |
Changed in mos: | |
milestone: | 6.1 → none |
milestone: | none → 6.1 |
tags: | added: nova |
Changed in mos: | |
assignee: | MOS Nova (mos-nova) → Sergey Nikitin (snikitin) |
status: | Confirmed → In Progress |
Changed in mos: | |
assignee: | MOS Cinder (mos-cinder) → Anton Arefiev (aarefiev) |
tags: | added: customer-found support |
Could you please provide diagnostic snapshot ?