From 6292a126503af27728e3ef73183c36f9fd3d4be9 Mon Sep 17 00:00:00 2001 From: gvrangan Date: Tue, 9 Jan 2018 06:50:54 +0530 Subject: [PATCH] Fix for Pike Jobs Failure Problems: a. qemu-img not installed in Control Node b. Images forcefully converted as raw in compute node Fixes a. Installed qemu-img in the nodes, before stacking b. set force_raw_images as False in nova.conf, this will ensurethe images arenot forcefully converted. Change-Id: I0305447504c676997fadd867954e43bd35f8c0ad Signed-off-by: gvrangan --- jjb/integration/integration-deploy-openstack-run-test.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jjb/integration/integration-deploy-openstack-run-test.sh b/jjb/integration/integration-deploy-openstack-run-test.sh index d2a000599..2b66677df 100644 --- a/jjb/integration/integration-deploy-openstack-run-test.sh +++ b/jjb/integration/integration-deploy-openstack-run-test.sh @@ -264,6 +264,7 @@ enable_isolated_metadata = True [[post-config|/etc/nova/nova.conf]] [DEFAULT] force_config_drive = False +force_raw_images = False [scheduler] discover_hosts_in_cells_interval = 30 @@ -344,6 +345,7 @@ EOF auth_strategy = keystone [DEFAULT] use_neutron = True +force_raw_images = False EOF echo "Compute local.conf created:" @@ -814,6 +816,10 @@ echo "workaround: adjust wait from 60s to 1800s (30m)" sed -i 's/wait_for_compute 60/wait_for_compute 1800/g' /opt/stack/devstack/lib/nova # TODO: modify sleep 1 to sleep 60, search wait_for_compute, then first sleep 1 # that would just reduce the number of logs in the compute stack.log + +#Install qemu-img command in Control Node for Pike +echo "Install qemu-img application" +sudo yum install -y qemu-img EOF cat > "${WORKSPACE}/setup_host_cell_mapping.sh" << EOF -- 2.36.6