summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-06-03 20:29:47 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-03 20:29:47 +0000
commitaa5efc16674b1f14fcf7f3f0dfd98e98e7184b49 (patch)
treeb521b8d3a719a1c65ed7be078ee7c2672cb81a17 /build
parente0f468ccf04c0a064b63788cc937f0f68096ff42 (diff)
parent2eaea7fdbbb95a00afb920f3381691cd67638d95 (diff)
Merge "Fix performance option handling"
Diffstat (limited to 'build')
-rw-r--r--build/build_perf_image.sh2
-rw-r--r--build/set_perf_images.sh4
2 files changed, 4 insertions, 2 deletions
diff --git a/build/build_perf_image.sh b/build/build_perf_image.sh
index 6ca9fbf8..80e615ef 100644
--- a/build/build_perf_image.sh
+++ b/build/build_perf_image.sh
@@ -27,6 +27,8 @@ fi
if [ "$CATEGORY" == "nova" ]; then
if [ "$KEY" == "libvirtpin" ]; then
sudo sed -i "s/#LibvirtCPUPinSet:.*/LibvirtCPUPinSet: '${VALUE}'/" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml
+ sudo sed -i "s/^#resource_registry:/resource_registry:/" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml
+ sudo sed -i "s/# {numa}/ OS::TripleO::ComputeExtraConfigPre: ..\/puppet\/extraconfig\/pre_deploy\/compute\/numa.yaml/" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml
fi
fi
diff --git a/build/set_perf_images.sh b/build/set_perf_images.sh
index ea31c7fa..04702a93 100644
--- a/build/set_perf_images.sh
+++ b/build/set_perf_images.sh
@@ -22,10 +22,10 @@ for ROLE in $@; do
fi
if [ "$ROLE" == "Compute" ]; then
- sudo sed -i "s/NovaImage: overcloud-full/Compute-overcloud-full/" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml
+ sudo sed -i "s/NovaImage: .*/NovaImage: Compute-overcloud-full/" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml
fi
if [ "$ROLE" == "BlockStorage" ]; then
- sudo sed -i "s/BlockStorageImage: overcloud-full/BlockStorage-overcloud-full/" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml
+ sudo sed -i "s/BlockStorageImage: .*/BlockStorageImage: BlockStorage-overcloud-full/" /usr/share/openstack-tripleo-heat-templates/environments/numa.yaml
fi
done