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

Add service list and service add #260

Closed
wants to merge 8 commits into from
Closed

Commits on Jun 25, 2024

  1. 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]>
    masnax committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    e76be10 View commit details
    Browse the repository at this point in the history
  2. microcloud/service: Export MicroCloud unix client function

    Signed-off-by: Max Asnaashari <[email protected]>
    masnax committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    1936502 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a8b63f5 View commit details
    Browse the repository at this point in the history
  4. microcloud/cmd/microcloud: Check existing networks before asking

    Signed-off-by: Max Asnaashari <[email protected]>
    masnax committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    4baa724 View commit details
    Browse the repository at this point in the history
  5. 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]>
    masnax committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    772ba00 View commit details
    Browse the repository at this point in the history
  6. 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]>
    masnax committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    7fe9166 View commit details
    Browse the repository at this point in the history
  7. microcloud/test/suites: Add tests for adding services

    Signed-off-by: Max Asnaashari <[email protected]>
    masnax committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    15825dd View commit details
    Browse the repository at this point in the history
  8. doc/how-to: Add service command docs

    Signed-off-by: Max Asnaashari <[email protected]>
    masnax committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    f17b914 View commit details
    Browse the repository at this point in the history