canonical/microcloud

latest/stable lxd required for microcloud cluster

maozhanglei opened this issue · 2 comments

Please describe the question or issue you're facing with "Get started with MicroCloud".
No local storage can be setup due to error of "erase key" during cluster bootstrap which seems caused by default lxd 5.0.2 of lxd.
To update steps
2. Enter the following command to install LXD:
sudo snap install lxd

to
sudo snap refresh snapd
sudo snap remove lxd --purge
sudo snap install lxd --channel latest/stable

can fix this.

Reported from: https://canonical-microcloud.readthedocs-hosted.com/en/latest/tutorial/get_started/

Hi @maozhanglei, the guide you have posted explicitly states that you have to refresh the version of LXD to latest/stable (https://canonical-microcloud.readthedocs-hosted.com/en/latest/tutorial/get_started/#install-microcloud-on-each-vm):

The LXD snap is already installed. Refresh it to the latest version:
snap refresh lxd --channel=latest/stable --cohort="+"

Are you missing anything on the docs?