Hi DietmarNo, because I consider two node a dangerous option.
But his would add all the virtualization overhead I just wanted to avoid.You can simply run that inside a VM.
I use debian 7.8/8.1 i686 and ubuntu 14.10 i686 that was created from templates of already exisiting openvz containers from Proxmox 3.lxc-start: bdev.c: find_free_loopdev: 1907 No loop device foundlxc-start: conf.c: mount_rootfs: 883 No such file or directory - failed to get real path for 'loop:/var/lib/vz/images/110/vm-110-rootfs.raw'
lxc-start: conf.c: setup_rootfs: 1290 failed to mount rootfs
lxc-start: conf.c: do_rootfs_setup: 3693 failed to setup rootfs for '110'
lxc-start: conf.c: lxc_setup: 3775 Error setting up rootfs mount after spawn
lxc-start: start.c: do_start: 702 failed to setup the container
lxc-start: sync.c: __sync_wait: 51 invalid sequence number 1. expected 2
lxc-start: start.c: __lxc_start: 1178 failed to spawn '110'
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.
ext4-fs (loop1): couldn't mount as ext2 due to feature incompatibilities
ext4-fs (loop1): couldn't mount as ext3 due to feature incompatibilities
That makes HA simply useless - instead, you can start the VM manually.instead of configure a fence device by Hardware, I enable manual fence (fence_ack_manual), of this mode, i can see previously what's going on, and then finally take the decision more wise about of my next actions to perform.
Same error while restoring lxc backup or template from openvz backup.I have tried LXC with couple of different templates and receiving same error "TASK ERROR: Insecure dependency in unlink while running with -T switch at /usr/share/perl5/PVE/Tools.pm line 187.or " Anybody experiencing same error?
Formatting '/var/lib/vz/images/110/vm-110-rootfs.raw', fmt=raw size=4294967296
mke2fs 1.42.12 (29-Aug-2014)
Discarding device blocks: 4096/1048576 done
Creating filesystem with 1048576 4k blocks and 262144 inodes
Filesystem UUID: 11db835d-9fbe-478b-aa78-d26e2de4866b
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Allocating group tables: 0/32 done
Writing inode tables: 0/32 done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: 0/32 done
allocated image: /var/lib/vz/images/110/vm-110-rootfs.raw
extracting archive '/mnt/pve/datastore/dump/vzdump-lxc-110-2015_06_28-23_38_41.tar.gz'
Total bytes read: 759900160 (725MiB, 64MiB/s)
TASK ERROR: Insecure dependency in unlink while running with -T switch at /usr/share/perl5/PVE/Tools.pm line 187.
That's right, but when only is need execute a single command line, the task is easier to run.That makes HA simply useless - instead, you can start the VM manually.
I finally found that bug - fix is here:Creating LXC and receiving this error: TASK ERROR: Insecure dependency in unlink while running with -T switch at /usr/share/perl5/PVE/Tools.pm line 187.