Hi, i’ve got a strange problem when I try to create a VM on a fresh install of OpenNebula (Ubuntu 22.04 - ONE 6.6.0) with an LXC node (Ubuntu 22.04 - ONE 6.6.0 - LXC driver).
I can add my host on Sunstone, I can download an image (with template), but when I try to create a VM, I’ve got a failure with this message :
DEPLOY : INFO : deploy : No block device on /var/lib/one/datastores/0/2/mapper/disk.0
On the syslog file of my LXC node, I’ve got several errors.
During the installation of opennebula-node-lxc package
Feb 12 16:42:05 lxdtest systemd[1]: Reloaded Load AppArmor profiles.
Feb 12 16:42:05 lxdtest systemd-udevd[2274]: nbd0: Process ‘/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nbd0’ failed with exit code 1.
Feb 12 16:42:05 lxdtest systemd-udevd[2383]: nbd1: Process ‘/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nbd1’ failed with exit code 1.
Feb 12 16:42:05 lxdtest systemd-udevd[2387]: nbd2: Process ‘/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nbd2’ failed with exit code 1.
Feb 12 16:42:05 lxdtest systemd-udevd[2383]: nbd4: Process ‘/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nbd4’ failed with exit code 1.
Feb 12 16:42:05 lxdtest systemd-udevd[2275]: nbd3: Process ‘/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nbd3’ failed with exit code 1.
…
And during the creation of a VM
Feb 12 17:02:39 lxdtest systemd-udevd[9266]: nbd0p1: Process ‘/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nbd0p1’ failed with exit code 1.
Feb 12 17:02:39 lxdtest systemd-udevd[9266]: message repeated 2 times: [ nbd0p1: Process ‘/usr/bin/unshare -m /usr/bin/snap auto-import --mount=/dev/nbd0p1’ failed with exit code 1.]
Feb 12 17:02:40 lxdtest kernel: [ 1277.781131] block nbd0: NBD_DISCONNECT
Feb 12 17:02:40 lxdtest kernel: [ 1277.781148] block nbd0: Disconnected due to user request.
Feb 12 17:02:40 lxdtest kernel: [ 1277.781472] print_req_error: 178 callbacks suppressed
Feb 12 17:02:40 lxdtest kernel: [ 1277.781473] blk_update_request: I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Feb 12 17:02:40 lxdtest kernel: [ 1277.781948] buffer_io_error: 182 callbacks suppressed
Feb 12 17:02:40 lxdtest kernel: [ 1277.781948] Buffer I/O error on dev nbd0, logical block 0, async page read
Feb 12 17:02:40 lxdtest kernel: [ 1277.782198] blk_update_request: I/O error, dev nbd0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Feb 12 17:02:40 lxdtest kernel: [ 1277.782649] Buffer I/O error on dev nbd0, logical block 1, async page read
Feb 12 17:02:40 lxdtest kernel: [ 1277.783360] blk_update_request: I/O error, dev nbd0, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Feb 12 17:02:40 lxdtest kernel: [ 1277.783849] Buffer I/O error on dev nbd0, logical block 2, async page read
Feb 12 17:02:40 lxdtest kernel: [ 1277.784091] blk_update_request: I/O error, dev nbd0, sector 3 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Feb 12 17:02:40 lxdtest kernel: [ 1277.784573] Buffer I/O error on dev nbd0, logical block 3, async page read
Feb 12 17:02:40 lxdtest kernel: [ 1277.784823] blk_update_request: I/O error, dev nbd0, sector 4 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Feb 12 17:02:40 lxdtest kernel: [ 1277.785319] Buffer I/O error on dev nbd0, logical block 4, async page read
Feb 12 17:02:40 lxdtest kernel: [ 1277.785574] blk_update_request: I/O error, dev nbd0, sector 5 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Feb 12 17:02:40 lxdtest kernel: [ 1277.786074] Buffer I/O error on dev nbd0, logical block 5, async page read
Feb 12 17:02:40 lxdtest kernel: [ 1277.786331] blk_update_request: I/O error, dev nbd0, sector 6 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Feb 12 17:02:40 lxdtest kernel: [ 1277.786880] Buffer I/O error on dev nbd0, logical block 6, async page read
Feb 12 17:02:40 lxdtest kernel: [ 1277.787326] blk_update_request: I/O error, dev nbd0, sector 7 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Feb 12 17:02:40 lxdtest kernel: [ 1277.787841] Buffer I/O error on dev nbd0, logical block 7, async page read
Feb 12 17:02:40 lxdtest kernel: [ 1277.788170] blk_update_request: I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Feb 12 17:02:40 lxdtest kernel: [ 1277.788739] Buffer I/O error on dev nbd0, logical block 0, async page read
Feb 12 17:02:40 lxdtest kernel: [ 1277.789025] blk_update_request: I/O error, dev nbd0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Feb 12 17:02:40 lxdtest kernel: [ 1277.789587] Buffer I/O error on dev nbd0, logical block 1, async page read
Feb 12 17:02:40 lxdtest kernel: [ 1277.789903] ldm_validate_partition_table(): Disk read failed.
Feb 12 17:02:40 lxdtest kernel: [ 1277.789963] Dev nbd0: unable to read RDB block 0
Feb 12 17:02:40 lxdtest kernel: [ 1277.790330] nbd0: unable to read partition table
Feb 12 17:02:40 lxdtest kernel: [ 1277.790574] ldm_validate_partition_table(): Disk read failed.
Feb 12 17:02:40 lxdtest kernel: [ 1277.790635] Dev nbd0: unable to read RDB block 0
Feb 12 17:02:40 lxdtest kernel: [ 1277.790994] nbd0: unable to read partition table
Any idea of what is the problem ? I’m on it for 2 days and I don’t have any clue…
Thanks !