Make volumes appear as SCSI devices in aarch64 15/57115/1
authorCharalampos Kominos <Charalampos.Kominos@enea.com>
Fri, 27 Apr 2018 09:19:56 +0000 (11:19 +0200)
committerCedric Ollivier <cedric.ollivier@orange.com>
Mon, 7 May 2018 14:05:32 +0000 (14:05 +0000)
commit65f39928b94b04cc1a2936b0260dbc4deec080f8
treea3469082ea76b1171d5d4055aae36f82d75356e2
parent4a6864077a4989eb003efa1d18df2a78cb405155
Make volumes appear as SCSI devices in aarch64

Adding volumes in openstack by default uses virtio_blk and the
devices appear as /dev/vdX. In aarch64 however a qemu pci slot
is already in use so the tests cannot assign more than one volume
to a VM. Forcing the drives to use virtio-scsi solves the issue
and allows more volumes to be attached as /dev/sdX. The variable
defining the drive is VOLUME_DEVICE_NAME and is passed as
environmental variable when the container is created.

JIRA: ARMBAND-376

Change-Id: Ia688cff338ff319e22a3b26796fa197297c23ce0
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
(cherry picked from commit a663c33645681f66ebe6b6af79c4e9f5910fb26b)
functest/ci/config_aarch64_patch.yaml