Offline procedure preparations, p2

    Related-PROD: PROD-36856

Change-Id: I9228941dfbc84451abf803ab3a4b3e9e5579b70f
diff --git a/k8s/workspace/run-openstack-end-to-end.sh b/k8s/workspace/run-openstack-end-to-end.sh
new file mode 100644
index 0000000..169f879
--- /dev/null
+++ b/k8s/workspace/run-openstack-end-to-end.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+tenv=mos
+. $MY_PROJFOLDER/envs/${tenv}rc
+##
+echo "### Checking openstack resources"
+status=$(kubectl -n qa-space get pod | grep toolset | tr -s " " | cut -d' ' -f3)
+if [ ${status} != "Running" ]; then
+	echo "# 'toolset' container is not Running"
+	exit 1
+fi
+admin_uuid=$(kubectl exec toolset --stdin -n qa-space -- bash -c "openstack user show cvp.admin -c id -f value")
+if [ ! -z admin_uuid ]; then
+        echo "# Running check"
+	echo " "
+	kubectl exec toolset --stdin -n qa-space -- bash -c "cd /artifacts/cmp-check; bash /opt/cmp-check/cmp_check.sh -a"
+else
+        echo "# Consider creating resources using 'create-openstack-resources.sh'"
+	exit 1
+fi