From cbb0697fb931122b4a9eefe90f758ad8e69309c1 Mon Sep 17 00:00:00 2001 From: Delia Popescu Date: Fri, 5 Oct 2018 10:41:02 +0300 Subject: Add image extra properties for fuel installer in functest test With using scsi volume device type, additional image extra_properties are needed. Set environment variable IMAGE_PROPERTIES when installer is fuel for functest test run. Related to: https://gerrit.opnfv.org/gerrit/#/c/61913/ https://gerrit.opnfv.org/gerrit/#/c/63225/ Change-Id: If35aa282abaf5dab1a5bacc2f26fe89292b09605 Signed-off-by: Delia Popescu --- jjb/functest/functest-alpine.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jjb/functest/functest-alpine.sh b/jjb/functest/functest-alpine.sh index c82147489..2e21fb6b7 100755 --- a/jjb/functest/functest-alpine.sh +++ b/jjb/functest/functest-alpine.sh @@ -135,7 +135,8 @@ ssh_options="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" if [ "${INSTALLER_TYPE}" == 'fuel' ]; then COMPUTE_ARCH=$(ssh -l ubuntu ${INSTALLER_IP} -i ${SSH_KEY} ${ssh_options} \ "sudo salt 'cmp*' grains.get cpuarch --out yaml | awk '{print \$2; exit}'") - envs="${envs} -e POD_ARCH=${COMPUTE_ARCH}" + IMAGE_PROPERTIES="hw_disk_bus: scsi, hw_scsi_model: virtio-scsi" + envs="${envs} -e POD_ARCH=${COMPUTE_ARCH} -e ${IMAGE_PROPERTIES}" fi -- cgit 1.2.3-korg