[Users] Cannot live migrate CT running mariadb server

Roman Haefeli reduzent at gmail.com
Mon Feb 5 19:33:01 MSK 2018


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openvz.org/pipermail/users/attachments/20180205/1e958159/attachment.sig>


More information about the Users mailing list