xci: Record deployment scenario when collecting XCI info 03/51203/1
authorMarkos Chandras <mchandras@suse.de>
Fri, 26 Jan 2018 15:09:01 +0000 (15:09 +0000)
committerMarkos Chandras <mchandras@suse.de>
Fri, 26 Jan 2018 15:09:01 +0000 (15:09 +0000)
Add the DEPLOY_SCENARIO variable to the list of information we
collect when deployment fails.

Change-Id: I7081b80feea1d3d2ff83e54bd5e614b4ea98964d
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/xci-deploy.sh

index c1f14b7..908889c 100755 (executable)
@@ -23,8 +23,9 @@ submit_bug_report() {
     echo "openstack/openstack-ansible version: $OPENSTACK_OSA_VERSION"
     echo "xci flavor: $XCI_FLAVOR"
     echo "xci installer: $XCI_INSTALLER"
+    echo "xci scenario: $DEPLOY_SCENARIO"
     echo "Environment variables:"
-    env | grep --color=never '\(OPNFV\|XCI\|OPENSTACK\)'
+    env | grep --color=never '\(OPNFV\|XCI\|OPENSTACK\|SCENARIO\)'
     echo "-------------------------------------------------------------------------"
 }