diff options
author | Michele Baldessari <michele@acksyn.org> | 2016-09-25 10:49:15 +0200 |
---|---|---|
committer | Michele Baldessari <michele@acksyn.org> | 2016-09-25 10:49:15 +0200 |
commit | 9593981149aededef621ebda17962b1e02318328 (patch) | |
tree | bee3fda6c4d5ec67a426cf247e9775199821cf6c /extraconfig/tasks/major_upgrade_check.sh | |
parent | 5d49b75b6e8c608ede6fc7bd63b06055ce5f6317 (diff) |
Start mongod before calling ceilometer-dbsync
Currently we in major_upgrade_controller_pacemaker_2.sh we are calling
ceilometer-dbsync before mongod is actually started (only galera is
started at this point). This will make the dbsync hang indefinitely
until the heat stack times out.
Now this approach should be okay, but do note that when we start mongod
via systemctl we are not guaranteed that it will be up on all nodes
before we call ceilometer-dbsync. This *should* be okay because
ceilometer-dbsync keeps retrying and eventually one of the nodes will
be available. A completely clean fix here would be to add another
step in heat to have the guarantee that all mongo servers are up and
running before the dbsync call.
Change-Id: I10c960b1e0efdeb1e55d77c25aebf1e3e67f17ca
Closes-Bug: #1627453
Diffstat (limited to 'extraconfig/tasks/major_upgrade_check.sh')
0 files changed, 0 insertions, 0 deletions