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

Notify missing services #53

Merged
merged 3 commits into from
Mar 16, 2023
Merged

Notify missing services #53

merged 3 commits into from
Mar 16, 2023

Conversation

masnax
Copy link
Contributor

@masnax masnax commented Mar 16, 2023

Closes #32

Properly notifies the user of init and add that the server may be missing services. By default (i.e. --auto) we will continue anyway.

In the event that a peer detected over mDNS is missing a service, it will be ignored.

The previous method of creating a whole struct just to stat the state
directory was rather inefficient, so this makes it a bit dumber, but
also a bit clearer.

Additionally, on init, MicroCloud will now ask for confirmation before
going ahead with the cluster formation if a service is missing.

Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
@stgraber stgraber merged commit 4bca576 into canonical:main Mar 16, 2023
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.

Allow running microcloud with microceph or microovn missing
2 participants