canonical / microceph

Ceph for a one-rack cluster and appliances

Home Page:https://snapcraft.io/microceph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microceph error during microcloud init

VMsanity opened this issue · comments

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

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.

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