we added the MysqlClustercheckPassword property which sets the password
for the clustercheck user. When a user runs a minor update via "openstack
overcloud update" he will get the following error:
Property error: resources[1].properties: Property MysqlClustercheckPassword not assigned
This happens because the new property does not yet have a set value.
This new property is not set unless we do an "overcloud deploy", because
the tripleoclient code generating the passwords does not get invoked
during a minor update.
We want to make sure that it has a value set. It is not used during a
minor update in any case but heat does require it.
Since the process of fixing the galera root password requires a full
overcloud deploy command anyway, it is okay to give the
MysqlClustercheckPassword property a default empty value. Upgrades are
not affected because they do run a a full overcloud deploy command.
Reviewed: https:/ /review. openstack. org/343253 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=758fa37bbd2 d110f68f6dc5488 7d8245db9a5bc0
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 758fa37bbd2d110 f68f6dc54887d82 45db9a5bc0
Author: Michele Baldessari <email address hidden>
Date: Sun Jul 17 08:35:45 2016 +0200
Minor updates might fail with missing MysqlClusterche ckPassword property
With the fixes for the galera root password: tripleoclient: https:/ /review. openstack. org/317542 heat-template: https:/ /review. openstack. org/316297
- python-
- tripleo-
we added the MysqlClusterche ckPassword property which sets the password
for the clustercheck user. When a user runs a minor update via "openstack
overcloud update" he will get the following error:
Property error: resources[ 1].properties: Property MysqlClusterche ckPassword not assigned
This happens because the new property does not yet have a set value.
This new property is not set unless we do an "overcloud deploy", because
the tripleoclient code generating the passwords does not get invoked
during a minor update.
We want to make sure that it has a value set. It is not used during a
minor update in any case but heat does require it.
Since the process of fixing the galera root password requires a full rcheckPassword property a default empty value. Upgrades are
overcloud deploy command anyway, it is okay to give the
MysqlCluste
not affected because they do run a a full overcloud deploy command.
Closes-bug: #1598890
Change-Id: I4ab82e6fba0827 9b96e84c48e2232 62f656f1120