[Users] Cannot live migrate CT running mariadb server

Karl Johnson karljohnson.it at gmail.com
Mon Feb 5 19:46:24 MSK 2018


On Mon, Feb 5, 2018 at 11:33 AM, Roman Haefeli <reduzent at gmail.com> wrote:

> Hey all
>
> Since I upgraded my CT from Debian Jessie to Debian Stretch (9.3), I
> cannot online migrate it anymore. I figured out that the issue only
> appears while the CT is running mariadb-server (10.1). When I suspend
> the CT while mariadb is running, I get the following errors when I try
> to restore:
>
> # vzctl restore roman
> Restoring container ...
> Opening delta /virtual/vz/private/115/root.hdd/root.hdd
> Adding delta dev=/dev/ploop42803 img=/virtual/vz/private/115/root.hdd/root.hdd
> (rw)
> Mounting /dev/ploop42803p1 at /virtual/vz/root/115 fstype=ext4
> data='balloon_ino=12,'
> Container is mounted
>         undump...
> Setting CPU units: 1000
> Setting devices
> Configure veth devices: veth115.0
> Adding interface veth115.0 to bridge A-SRV-L-2 on CT0 for CT115
> Restore error, undump failed: Invalid argument
> Error: Can't remount fs read-only
> Error: Failed to restore mount point @8518776 dev 'tmpfs', type 'tmpfs',
> path '/dev'
> Error: rst_namespace: -22
> Container restore failed
> Unmounting file system at /virtual/vz/root/115
> Unmounting device /dev/ploop42803
> Container is unmounted
>
> When mariadb server is stopped, I can normally suspend and restore the
> CT.
>
>
> This is with:
>
> * Debian wheezy hostnode running:
> * OpenVZ kernel: 2.6.32-openvz-042stab127.2-amd64
> * Debian Stretch CT
> * mariadb 10.1.26
>
> Thanks,
> Roman
>

It seems to be related to this bug: https://bugs.openvz.org/browse/OVZ-6790

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20180205/46ca79b4/attachment.html>


More information about the Users mailing list