summaryrefslogtreecommitdiffstats
path: root/qa/qa_scripts/openstack/execs/start_openstack.sh
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa_scripts/openstack/execs/start_openstack.sh')
-rwxr-xr-xqa/qa_scripts/openstack/execs/start_openstack.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/qa/qa_scripts/openstack/execs/start_openstack.sh b/qa/qa_scripts/openstack/execs/start_openstack.sh
new file mode 100755
index 000000000..f5f12fe50
--- /dev/null
+++ b/qa/qa_scripts/openstack/execs/start_openstack.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+set -fv
+
+#
+# start the Openstack services
+#
+sudo cp /root/keystonerc_admin ./keystonerc_admin
+sudo chmod 0644 ./keystonerc_admin
+source ./keystonerc_admin
+sudo service httpd stop
+sudo service openstack-keystone restart
+sudo service openstack-glance-api restart
+sudo service openstack-nova-compute restart
+sudo service openstack-cinder-volume restart
+sudo service openstack-cinder-backup restart