Repository navigation
Conversation
Collaborator
|
@ahmad-can
Can we have a list of scenarios and how the complete solution behaves |
Author
I will retest these 3 scenarios scenario 1
scenario 2
scenario 3
|
…Masakari - track fencing steps per outage generation; redelivery re-fences - persist recovery request before acking nic-up; resume after restart - retry failed recovery cycles via sweeper (cap 3, then operator) - fail closed when Masakari status is unknown; use workload region - stability window on already-active nova-compute; socket 0600
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the consul-client detector cannot reach the Consul servers, it sends
nic-downtopre-evacuation-setup-service. The service stops nova-computeand shuts down all libvirt domains. It had no way back, so the node stayed
out of service after connectivity returned until someone restarted
nova-compute by hand.
This PR adds recovery only. The detector (consul-client-operator, separate
PR) sends
nic-up, and the service restarts nova-compute unless Masakarihas marked the host
on_maintenance.##Testing
Sunbeam on Juju with MAAS VM computes, running the patched
script on compute-1 together with the patched detector.
nic-down→ nova-compute stopped. After the network was restored andnic-upwas sent, the service restarted nova-compute and the computeservice came back up in Nova.
nic-upwhile the check was failingintermittently. Recovery ran only after the required run of
consecutive successes.
ExecStartPre=/bin/false)→ the service retried and the state file was kept. After the drop-in was
removed, the next attempt succeeded.
Related PR
OPEN-4890