Fall back to generated snmp password with --no-undercloud
Running devtest_overcloud.sh via devtest with --no-undercloud seems to result in some puppet errors recently, due to the zero-length password in the heiradata key. So instead of passing a zero length password, fall back to generating one in the event no password is found via the undercloud key of the test environment. Change-Id: Ia5f9fff1ea3b50f372489a42647e3f47bc219df8 Closes-Bug: #1428726
This commit is contained in:
parent
f219a1af96
commit
310b557430
|
@ -337,6 +337,9 @@ wait_for -w $((60 * $expected_nodes)) --delay 10 -- wait_for_hypervisor_stats $e
|
|||
## #. Set password for Overcloud SNMPd, same password needs to be set in Undercloud Ceilometer
|
||||
|
||||
UNDERCLOUD_CEILOMETER_SNMPD_PASSWORD=$(os-apply-config -m $TE_DATAFILE --key undercloud.ceilometer_snmpd_password --type raw --key-default '')
|
||||
if [ -z "$UNDERCLOUD_CEILOMETER_SNMPD_PASSWORD" ]; then #nodocs
|
||||
UNDERCLOUD_CEILOMETER_SNMPD_PASSWORD=$(os-make-password)
|
||||
fi #nodocs
|
||||
|
||||
## #. Create unique credentials::
|
||||
|
||||
|
|
Loading…
Reference in New Issue