Merge "Removing sctp module load from Apex"
authorTim Rozet <trozet@redhat.com>
Tue, 28 Feb 2017 16:20:47 +0000 (16:20 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Tue, 28 Feb 2017 16:20:47 +0000 (16:20 +0000)
config/deploy/deploy_settings.yaml
lib/post-install-functions.sh
lib/python/apex/deploy_settings.py

index 9d028a4..b3d3ac2 100644 (file)
@@ -88,3 +88,6 @@ deploy_options:
 
   # Set yardstick option to install yardstick
   #yardstick: false
+
+  # Set dovetail option to install dovetail
+  #dovetail: false
index c09383d..abc4395 100755 (executable)
@@ -213,16 +213,29 @@ EOI
     overcloud_connect "compute0" "sudo sh -c 'cd /var/opt/vsperf/systems/ && ./build_base_machine.sh 2>&1 > /var/log/vsperf.log'"
   fi
 
-  # install docker and pull yardstick image
-  if [[ "${deploy_options_array['yardstick']}" == 'True' ]]; then
+  # install docker
+  if [ "${deploy_options_array['yardstick']}" == 'True' ] || [ "${deploy_options_array['dovetail']}" == 'True' ]; then
     ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI
 sudo yum install docker -y
 sudo systemctl start docker
 sudo systemctl enable docker
+EOI
+  fi
+
+  # pull yardstick image
+  if [ "${deploy_options_array['yardstick']}" == 'True' ]; then
+    ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI
 sudo docker pull opnfv/yardstick
 EOI
   fi
 
+  # pull dovetail image
+  if [ "${deploy_options_array['dovetail']}" == 'True' ]; then
+    ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI
+sudo docker pull opnfv/dovetail
+EOI
+  fi
+
   # Collect deployment logs
   ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI
 mkdir -p ~/deploy_logs
index 2a9d5a6..0d1939a 100644 (file)
@@ -25,7 +25,11 @@ REQ_DEPLOY_SETTINGS = ['sdn_controller',
                        'ceph',
                        'gluon']
 
-OPT_DEPLOY_SETTINGS = ['performance', 'vsperf', 'ceph_device', 'yardstick']
+OPT_DEPLOY_SETTINGS = ['performance',
+                       'vsperf',
+                       'ceph_device',
+                       'yardstick',
+                       'dovetail']
 
 VALID_ROLES = ['Controller', 'Compute', 'ObjectStorage']
 VALID_PERF_OPTS = ['kernel', 'nova', 'vpp']