How to manage the snaps

Manage MicroCloud and its components (LXD, MicroCeph, and MicroOVN) through their snap packages.

For the installation guide, refer to How to install MicroCloud. For details about the snaps, including supported and compatible releases, tracks, and release processes, refer to Releases and snaps.

View snap information

To view information about a snap, including the available channels and installed version, run:

snap info <microcloud|lxd|microceph|microovn>

To view information about the installed version only, run:

snap list <microcloud|lxd|microceph|microovn>

Sample output:

root@instance:~# snap list microcloud
Name        Version        Rev   Tracking  Publisher   Notesmicrocloud  2.1.0-3e8b183  1144  2/stable  canonical✓  in-cohort,held

The first part of the version string corresponds to the release (in this sample, 2.1.0).

Manage the MicroCloud daemon

Installing the MicroCloud snap creates the MicroCloud daemon as a snap service. Use the following snap commands to manage this daemon.

To view the status of the daemon, run:

snap services microcloud

To stop the daemon, run:

sudo snap stop microcloud

To start the daemon, run:

sudo snap start microcloud

To restart the daemon, run:

sudo snap restart microcloud

For more information about managing snap services, visit Control services in the Snap documentation.