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>
[[post-config|/etc/nova/nova.conf]]
[DEFAULT]
force_config_drive = False
[[post-config|/etc/nova/nova.conf]]
[DEFAULT]
force_config_drive = False
+force_raw_images = False
[scheduler]
discover_hosts_in_cells_interval = 30
[scheduler]
discover_hosts_in_cells_interval = 30
auth_strategy = keystone
[DEFAULT]
use_neutron = True
auth_strategy = keystone
[DEFAULT]
use_neutron = True
+force_raw_images = False
EOF
echo "Compute local.conf created:"
EOF
echo "Compute local.conf created:"
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
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
EOF
cat > "${WORKSPACE}/setup_host_cell_mapping.sh" << EOF