Skip to content

[4.0] Fix neutron-ha-tool restart on configuration changes#2120

Merged
dirkmueller merged 2 commits into
crowbar:stable/4.0from
dirkmueller:stable/4.0
May 23, 2019
Merged

[4.0] Fix neutron-ha-tool restart on configuration changes#2120
dirkmueller merged 2 commits into
crowbar:stable/4.0from
dirkmueller:stable/4.0

Conversation

@dirkmueller

Copy link
Copy Markdown
Contributor

Backport of #2112 and Backport of #2116

When we toggle ssl/non-ssl in keystone, neutron-ha-tool
gets a new config file but doesn't get restarted, so it just
repeatedly crashes all the way until it causes a pacemaker
failcount exceeded and then its dead. We should try better.

(cherry picked from commit 65bdb6c)
When we restart via systemd, it can happen that the service already
crashed and then 'service neutron-l3-ha-service status" will (correctly)
report that the service isn't running. And then the restart is not being
executed due to:

  INFO: Ignoring restart action for neutron-l3-ha-service service since not running on this node (d52-54-77-77-01-01)

which will then later cause a pacemaker failcount. the pacemaker
resource restart hopefully does not have this problem.

(cherry picked from commit 3615437)
@dirkmueller dirkmueller merged commit 52b4995 into crowbar:stable/4.0 May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants