I posted a new template that does not have the resume problem.
https://github.com/sdwru/glibc-debian-10/releases
https://github.com/sdwru/glibc-centos-8/releases
I believe it was because of mariadb which should not have been installed
on the template in the first place. This problem was reported years ago
so I don't think it is anything new with this template or OS. If you
stop mariadb then you can suspend/resume.
https://bugs.openvz.org/browse/OVZ-6790
Any other issues should be posted there in the issues area there.
https://github.com/sdwru/glibc-debian-10/issues
https://github.com/sdwru/glibc-centos-8/issues
I am not a fan of mail lists at all and frankly, I don't understand why
anyone still uses them.
On 16/12/19 10:21 AM, newsletter+ope...@trendymail.fr wrote:
Hello!
Le 16/12/2019 à 15:47, devops a écrit :
I posted it all on github including working templates. Source, debs,
RPM's, SRPM's etc.
https://github.com/sdwru/glibc-centos-8/releases
https://github.com/sdwru/glibc-debian-10/releases/
Thanks a lot! :)
# --- Start
# vzctl create 1101 --ostemplate debian-10-x86_64
# vzctl start 1101
# --- First issue
# vzctl suspend 1101
Setting up checkpoint...
suspend...
dump...
Can not dump container: Invalid argument
Error: iptables-save exited with 1
Checkpointing failed
# --- Google
==> https://wiki.debian.org/iptables
# --- Resolution
# vzctl enter 1101
entered into CT 1101
1101# update-alternatives --set iptables /usr/sbin/iptables-legacy
update-alternatives: using /usr/sbin/iptables-legacy to provide
/usr/sbin/iptables (iptables) in manual mode
1101# update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
update-alternatives: using /usr/sbin/ip6tables-legacy to provide
/usr/sbin/ip6tables (ip6tables) in manual mod
# --- Result
# vzctl suspend 1101
Setting up checkpoint...
suspend...
dump...
kill...
Checkpointing completed successfully
Unmounting file system at /var/lib/vz/root/1101
Unmounting device /dev/ploop29325
Container is unmounted
# --- Second issue
# vzctl resume 1105
Restoring container ...
Opening delta /var/lib/vz/private/1101/root.hdd/root.hdd
Adding delta dev=/dev/ploop29325
img=/var/lib/vz/private/1101/root.hdd/root.hdd (rw)
Mounting /dev/ploop29325p1 at /var/lib/vz/root/1101 fstype=ext4
data='balloon_ino=12,'
Container is mounted
undump...
Adding IP address(es): 10.1.0.101
Setting CPU units: 1000
Setting CPUs: 1
Restore error, undump failed: Invalid argument
Error: tar exited with 2
Error: Failed to restore mount point @4285424 dev 'tmpfs', type 'tmpfs',
path '/dev'
Error: rst_namespace: -22
Container restore failed
Unmounting file system at /var/lib/vz/root/1101
Unmounting device /dev/ploop29325
Container is unmounted
# --- Google
https://bugs.openvz.org/browse/OVZ-6790
# --- Solution
Unknown...
Have a nice day!
Philippe
_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users