canonical / microceph

Ceph for a one-rack cluster and appliances
https://snapcraft.io/microceph
GNU Affero General Public License v3.0
193 stars 27 forks source link

Microceph error during microcloud init #312

Closed VMsanity closed 4 months ago

VMsanity commented 4 months ago

I've tested this in a VM and on a bare metal server. When attempting to to build a 3 node cluster with "microcloud init" it fails out when microceph tries to add disks with the message

Initializing a new cluster
Local MicroCloud is ready
Local LXD is ready
Local MicroOVN is ready
Local MicroCeph is ready
Error: Failed adding new disk: json: cannot unmarshal string into Go struct field DisksPost.path of type []string

If I tell it no for for setting up local and remote disks

Would you like to set up local storage? (yes/no) [default=yes]: no
Would you like to set up distributed storage? (yes/no) [default=yes]: no

the cluster configures and can add the disks later

tomponline commented 4 months ago

This is due to a breaking api change in microceph reef. You should stick to quincy snap channel for now as that is the supported version for microcloud.

sabaini commented 4 months ago

This should be fixed in #310 and be available shortly on reef/edge, hope to promote to /stable next week