[Users] Any interest in Debian 10 and CentOS 8 templates for OpenVZ 6?

newsletter+openvz at trendymail.fr newsletter+openvz at trendymail.fr
Mon Dec 16 21:21:06 MSK 2019


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


More information about the Users mailing list