I installed lxd from apt on the first host, had problems copying from an old lxd host to the new lxd host.
So I installed the snap version, problems copying containers were resolved.
Once my base OS upgrades were completed on the other machines I installed lxd only from snap.
Snap doesn’t install requirements or perform some configuration that apt does.
Solution was to remove, install apt versions, purge them, reinstall snap version.
Everything is working as expected, the question of is it shared?
Yes, it is shared. Thanks for your work on this project everyone!
Is the ceph pool shared now?
If not during lxd init for additional lxd members to an existing cluster you are not prompted to create a new ceph pool on each host.
Is that on purpose or do I need to manually create the storage pool now?
How do you specify which pool is for which cluster host or does it just know automatically?
If everything should be working then I tried to move a container using lxc move container --target new_host which appeared to work but the container fails to startup:
lxc container 20181217063106.757 WARN conf - conf.c:lxc_map_ids:2917 - newuidmap binary is missing
lxc container 20181217063106.758 WARN conf - conf.c:lxc_map_ids:2923 - newgidmap binary is missing
lxc container 20181217063106.852 WARN conf - conf.c:lxc_map_ids:2917 - newuidmap binary is missing
lxc container 20181217063106.852 WARN conf - conf.c:lxc_map_ids:2923 - newgidmap binary is missing
lxc container 20181217063106.876 ERROR dir - storage/dir.c:dir_mount:198 - No such file or directory - Failed to mount “/var/snap/lxd/common/lxd/containers/container/rootfs” on “/var/snap/lxd/common/lxc/”
lxc container 20181217063106.876 ERROR conf - conf.c:lxc_mount_rootfs:1326 - Failed to mount rootfs “/var/snap/lxd/common/lxd/containers/container/rootfs” onto “/var/snap/lxd/common/lxc/” with options “(null)”
lxc container 20181217063106.876 ERROR conf - conf.c:lxc_setup_rootfs_prepare_root:3445 - Failed to setup rootfs for
lxc container 20181217063106.876 ERROR conf - conf.c:lxc_setup:3498 - Failed to setup rootfs
lxc container 20181217063106.876 ERROR start - start.c:do_start:1263 - Failed to setup container “container”
lxc container 20181217063106.876 ERROR sync - sync.c:__sync_wait:62 - An error occurred in another process (expected sequence number 5)
lxc container 20181217063106.876 WARN network - network.c:lxc_delete_network_priv:2589 - Operation not permitted - Failed to remove interface “eth0” with index 10
lxc container 20181217063106.876 ERROR lxccontainer - lxccontainer.c:wait_on_daemonized_start:842 - Received container state “ABORTING” instead of “RUNNING”
lxc container 20181217063106.877 ERROR start - start.c:__lxc_start:1939 - Failed to spawn container “container”
lxc container 20181217063106.877 WARN conf - conf.c:lxc_map_ids:2917 - newuidmap binary is missing
lxc container 20181217063106.877 WARN conf - conf.c:lxc_map_ids:2923 - newgidmap binary is missing
lxc 20181217063106.880 WARN commands - commands.c:lxc_cmd_rsp_recv:132 - Connection reset by peer - Failed to receive response for command “get_state”
The directory it’s referencing for the rootfs is empty, no links or anything.
This is with the candidate snap branch.