Fix for Pike Jobs Failure 36/66936/7
authorgvrangan <venkatrangang@hcl.com>
Tue, 9 Jan 2018 01:20:54 +0000 (06:50 +0530)
committerJamo Luhrsen <jluhrsen@redhat.com>
Wed, 10 Jan 2018 20:49:43 +0000 (20:49 +0000)
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 <venkatrangang@hcl.com>
jjb/integration/integration-deploy-openstack-run-test.sh

index d2a000599301c9a6c6faf431859e01b5516e2b8a..2b66677df0b2f14a35c1fc6dfcbb419bf1377fdd 100644 (file)
@@ -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