-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add service list
and service add
#260
Commits on Jun 25, 2024
-
microcloud/service: Include TLS cert in LXD remote client
To add a service, we need to talk to existing cluster members, so we can use TLS authentication instead of the mDNS auth secret. Signed-off-by: Max Asnaashari <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e76be10 - Browse repository at this point
Copy the full SHA e76be10View commit details -
microcloud/service: Export MicroCloud unix client function
Signed-off-by: Max Asnaashari <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1936502 - Browse repository at this point
Copy the full SHA 1936502View commit details -
microcloud/cmd/microcloud: Check existing storage pools before asking
Signed-off-by: Max Asnaashari <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8b63f5 - Browse repository at this point
Copy the full SHA a8b63f5View commit details -
microcloud/cmd/microcloud: Check existing networks before asking
Signed-off-by: Max Asnaashari <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4baa724 - Browse repository at this point
Copy the full SHA 4baa724View commit details -
microcloud/cmd/microcloud: Don't fully overwrite the default profile
Rather than overwriting the default profile when adding devices, this appends the devices and config to the default profile. When adding a new service to microcloud that was skipped during initial setup, we may have to add a new device to the default profile but we shouldn't remove anything we added during first init. Signed-off-by: Max Asnaashari <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 772ba00 - Browse repository at this point
Copy the full SHA 772ba00View commit details -
microcloud/cmd/microcloud: Add services CLI command
Adds `microcloud service list` and `microcloud service add` commands. `list` lists all cluster members for every installed and initialized service. `add` is used to add services that were skipped during initialization. MicroCloud's direct cluster members will be compared against MicroCeph and MicroOVN if installed, across all other systems in the cluster. If a cluster exists, the user will be prompted to reuse it. By the end, all cluster members in MicroCloud should also be present in MicroOVN and MicroCeph if chosen. Additionally, if LXD storage pools and networks were not set up initially, they can be set up now. Signed-off-by: Max Asnaashari <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fe9166 - Browse repository at this point
Copy the full SHA 7fe9166View commit details -
microcloud/test/suites: Add tests for adding services
Signed-off-by: Max Asnaashari <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15825dd - Browse repository at this point
Copy the full SHA 15825ddView commit details -
doc/how-to: Add service command docs
Signed-off-by: Max Asnaashari <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f17b914 - Browse repository at this point
Copy the full SHA f17b914View commit details