I’m currently new to OpenNebula and just started with MiniOne. I was able to deploy mini one successfully and attach an LXC (LXD) node. Knowing that LXD is being deprecated I didn’t install any of the node packages for lxd. I did however install LXC packages and everything so far is swimmingly.
However, I still can’t instantiate an LXC container. Based on the errors I’m getting from oned.log. It looks to be a storage error… maybe.
Command execution fail: cat << EOT | /var/tmp/one/vmm/lxc/deploy ‘/var/lib/one//datastores/0/14/deployment.0’ ‘thehub.home.local’ 14 thehub.home.local
Wed Jul 7 19:33:02 2021 [Z0][VMM][E]: deploy: Cannot detect block device from /var/lib/one/datastores/0/14/mapper/disk.0
Wed Jul 7 19:33:02 2021 [Z0][VMM][E]: deploy: Cannot detect block device from /var/lib/one/datastores/0/14/mapper/disk.1
Wed Jul 7 19:33:02 2021 [Z0][VMM][I]: lxc-destroy: one-14: tools/lxc_destroy.c: main: 242 Container is not defined
Wed Jul 7 19:33:02 2021 [Z0][VMM][I]: mount: /var/lib/one/datastores/0/14/mapper/disk.0: wrong fs type, bad option, bad superblock on /dev/nbd0, missing codepage or helper program, or other error.
Like mentioned before, I’m brand new to this game so I didn’t set up any other storage backends… I also couldn’t find anything that indicated I needed to.
I did see this in LXC Driver page, but I’m not sure what this means.
Datablocks require formatting with a file system in order to be attached to a container.
Versions of the related components and OS (frontend, hypervisors, VMs):
Running on Ubuntu 20.04 in Node lxc and 18.04 for Minione
I’m sure I’m just missing something.