Enable support of multipath disks for VMs created by fuel-devops

Registered by Dennis Dmitriev

fuel-devops should be able to configure the multipath disk devices on guest VMs.

It is required for testing the feature [1].

To emulate the multipath disk device on libvirt VMs, fuel-devops should connect the same volume miltiple times as a different disk devices, for example:

<devices>
    <emulator>/usr/bin/qemu-kvm</emulator>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native'/>
      <source dev='/dev/Linux/kvm-tmp'/>
      <target dev='sda' bus='scsi'/>
      <serial>0001</serial>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native'/>
      <source dev='/dev/Linux/kvm-tmp'/>
      <target dev='sdb' bus='scsi'/>
      <serial>0001</serial>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>

[1] https://blueprints.launchpad.net/fuel/+spec/multipath-disks-support

Blueprint information

Status:
Complete
Approver:
Nastya Urlapova
Priority:
Undefined
Drafter:
Dennis Dmitriev
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 9.0
Started by
Dennis Dmitriev
Completed by
Dennis Dmitriev

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/fuel-devops-multipath-disk-devices,n,z

Addressed by: https://review.openstack.org/286804
    Create multipath disk devices with libvirt driver

Addressed by: https://review.openstack.org/309984
    Create multipath disk devices with libvirt driver - add environment variable SLAVE_MULTIPATH_DISKS_COUNT: * default = 0 : multipath disabled * if 1 or more: add specified amount of disk devices that have the same volume file and the same serial.

Addressed by: https://review.openstack.org/307918
    Add blocking traffic in network or interface

Addressed by: https://review.openstack.org/310378
    Allow create DB-independed libvirt networks

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.