Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc #391

Merged
merged 30 commits into from
Aug 11, 2023
Merged

misc #391

merged 30 commits into from
Aug 11, 2023

Conversation

cvaroqui
Copy link
Member

No description provided.

Only "om <path> create" was allowed, which was confusing.
Fix the field paths of the data passed to template.Execute()
in the "om node events --template ..." command.
Don't stale on prov and unprov orchestrations when the local
instance is avail n/a.

There is nothing we can do in this case, so set the mon state
reached.
Use instance.Status.IsHALeader instead of instance.Status.IsLeader
as instance.Status.IsHALeader is the one used by the start
orchestration and by "om mon" to display the instance placement
leader (the ^ symbol).
IsHALeader is the flag used by "om mon" and the start
orchestration.
Remove a heading '#'. Rephrase.
Use a dedicated instance.Monitor.OrchestrationIsDone bool instead
to determine all instances have finished their orchestration
part without loosing the last state the orchestration might want
to persist.

Implement the failover after a switch attempt produced a "start
failed" on the destination node.
The "changed" bool was left to false after deleting a section
in-memory, so Commit() exited before writing the file.
Example:

$ om3 'fiz*' start
00000000-0000-0000-0000-000000000000 fiz1 400 set monitor: invalid instance monitor global expect: started: already started
1a93754a-e54a-4ca9-873a-9efe9a57500d fiz4
And document the change from v2

       standby down: s => x
       standby up:   S => o
So endOrchestration is responsible for reseting it when all
instances are done aborting.
Still expecting HALeader on a unprovisioned instance.
And factorize the done() code, by calling done() from
doneAndIdle()
Object instance must exist.
And limit the time we wait for SetObjectMonitor to reply on the
err chan.
@cvaroqui cvaroqui merged commit 737def7 into opensvc:main Aug 11, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant