Unset default COMPUTE_USER at the beginning of tests 05/17405/1
authorCarlos Goncalves <carlos.goncalves@neclab.eu>
Fri, 22 Jul 2016 10:44:01 +0000 (12:44 +0200)
committerCarlos Goncalves <carlos.goncalves@neclab.eu>
Fri, 22 Jul 2016 10:45:13 +0000 (12:45 +0200)
Each installer has different compute users and we set a default for each
in get_compute_host_info. Having COMPUTE_USER set at the beginning as is
and not passing in a value will default to 'none' and thus overriding
the default user of the installer. For example, COMPUTE_USER would be
set to 'none' instead of 'heat-admin' for Apex installer.

Change-Id: Ia60a88f68c52604bac6b7eef18e97e11328f1a6e
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
tests/run.sh

index 4d9a5c7..f646113 100755 (executable)
@@ -28,7 +28,6 @@ DOCTOR_ROLE=admin
 SUPPORTED_INSTALLER_TYPES="apex local"
 INSTALLER_TYPE=${INSTALLER_TYPE:-apex}
 INSTALLER_IP=${INSTALLER_IP:-none}
-COMPUTE_USER=${COMPUTE_USER:-none}
 
 ssh_opts="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"