Skip to content

Onboarding: Undo forceDown#140

Merged
fwiesel merged 1 commit into
mainfrom
undo_force_down
Oct 10, 2025
Merged

Onboarding: Undo forceDown#140
fwiesel merged 1 commit into
mainfrom
undo_force_down

Conversation

@fwiesel

@fwiesel fwiesel commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

An HA event on a node will cause the HA service to force down the node.
This is apparently persisted, so when the node comes up again, it stays forced down,
even though the service was deleted.

Either way, we can only onboard a node if it isn't forcedDown, so we might as well ensure that.

We need to duplicate the gophercloud code until v3 is released, as the bugfix is unfortunately a breaking api change. See: gophercloud/gophercloud#3531

In compliance with the Apache License, I kept the attribution and wrote down where the code came from and what has been changed.

An HA event on a node will cause the HA service to force down the node.
This is apparently persisted, so when the node comes up again, it stays
forced down, even though the service was deleted.

Either way, we can only onboard a node if it isn't `forcedDown`, so we
might as well ensure that.

We need to duplicate the gophercloud code until v3 is released, as the
bugfix is unfortunately a breaking api change.
See: gophercloud/gophercloud#3531

In compliance with the Apache License, I kept the attribution and wrote
down where the code came from and what has been changed.
@fwiesel fwiesel merged commit 99b6c64 into main Oct 10, 2025
6 checks passed
@fwiesel fwiesel deleted the undo_force_down branch October 10, 2025 08:31
Comment thread internal/openstack/services.go
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.

3 participants