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

Stop networks during cluster evacuations #747

Merged
merged 2 commits into from
Apr 19, 2024
Merged

Conversation

Abhiram824
Copy link
Contributor

@Abhiram824 Abhiram824 commented Apr 12, 2024

Closes #340

cmd/incusd/api_cluster.go Outdated Show resolved Hide resolved
cmd/incusd/api_cluster.go Outdated Show resolved Hide resolved
cmd/incusd/api_cluster.go Outdated Show resolved Hide resolved
@stgraber
Copy link
Member

On top of the few comments left in-line, note that your commit messages are missing the Signed-off-by line that we required for all commits (see CONTRIBUTING.md).

You can usually get that line added to the current commit with git commit --amend -s, assuming a properly configured git client.

@Abhiram824
Copy link
Contributor Author

Hello, thanks for the feedback! Made updates to the PR

stgraber and others added 2 commits April 18, 2024 22:24
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Abhiram824 <abhisuhaas1@gmail.com>
@stgraber
Copy link
Member

Okay, got this one ready for Github testing and merging, I've done:

  • Merged all the commits together
  • Applied the result of gofmt -s -w ./
  • Removed a TODO comment that was leftover
  • Removed duplicate networkStartup call in restoreClusterMember (only needed at the start)
  • Reworded the comments a bit.
  • Reworded the commit message a bit.
  • Ran make static-analysis and cleaned up some new-line issues in daemon.go

@stgraber stgraber marked this pull request as ready for review April 19, 2024 02:33
@stgraber stgraber changed the title cmd/incusd: initial changes to disable ovn gateway chassis when evacuated (WIP) Stop networks during cluster evacuations Apr 19, 2024
@stgraber stgraber merged commit f2e3d04 into lxc:main Apr 19, 2024
25 checks passed
tomponline added a commit to canonical/lxd that referenced this pull request Aug 27, 2024
Stop networks when a cluster member has been evacuated.

Includes cherry-picks from lxc/incus#747
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Disable OVN gateway chassis when evacuated
2 participants