OpenVZ Forum


Home » General » Support » Live migration issues (cron, apache, exim (maybe others) cause problems)
Live migration issues [message #45480] Mon, 12 March 2012 19:48 Go to next message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
Hi,

When live migrating hosts some services inside the containers do not work anymore.

For example, for cron, I get the following error:

Mar 12 20:29:02 code CRON[27161]: Modul ist nicht bekannt

Mar 12 20:23:01 core CRON[11395]: Module is unknown


(first with German locale, second English)

And for apache I get:

[Mon Mar 12 19:30:50 2012] [error] [client 66.249.72.180] PHP Fatal error:  strftime(): Timezone database is corrupt - this should *never* happen! in /etc/horde/horde3/prefs.php on line 321
[Mon Mar 12 19:31:16 2012] [error] [client 219.89.128.127] PHP Fatal error: date_default_timezone_get(): Timezone database is c
orrupt - this should *never* happen!


I thought maybe there is a differnet time zone/time on the two hostnodes. But they have equal timezone and the timeoffet is below one second (if any):

root@hwnode1:~ # date ; ssh root@hwnode2 'date'
Mon Mar 12 20:47:36 CET 2012
Mon Mar 12 20:47:36 CET 2012


Anybody similar problems? Any ideas?

Regards
divB


PS: both nodes same system/hardware: Debian squeeze with 2.6.32-5-openvz-amd64 (Debian kernel), vzctl version 3.0.24

[Updated on: Mon, 12 March 2012 19:51]

Report message to a moderator

Re: Live migration issues [message #48273 is a reply to message #45480] Wed, 10 October 2012 16:01 Go to previous messageGo to next message
e100 is currently offline  e100
Messages: 3
Registered: July 2012
Junior Member
Ever find a solution to this problem?

I am having a similar issue when live migrating wheezy containers.
I use Proxmox running the latest version in pvetest, also happens on latest Proxmox release.

Host kernel in pvetest is based on vzkernel-2.6.32-042stab061.9.src.rpm

vzctl: 4.0-1pve2

One easy way I found to reproduce a problem is to ssh into the container, then do "sudo bash"

After the live migration I get an error:
sudo: unexpected child termination condition: 0

Re: Live migration issues [message #48278 is a reply to message #48273] Thu, 11 October 2012 00:55 Go to previous messageGo to next message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
No, I wouldnt use OpenVZ when live migration is an issue.
It never worked and caused tons of problems )everzthing documented in this forum with no replies Wink )

Re: Live migration issues [message #48279 is a reply to message #48278] Thu, 11 October 2012 02:53 Go to previous messageGo to next message
e100 is currently offline  e100
Messages: 3
Registered: July 2012
Junior Member
Thanks for the reply.

I think that many of the migration issues people have are related to the fact that the filesystem changes when migrating.
For example, maybe the inodes changing cause strange problems.

I see that ploop is available now and it might help with these issues.

Re: Live migration issues [message #48280 is a reply to message #48279] Thu, 11 October 2012 07:14 Go to previous message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
No, the issue are kernel objects ...

divB
Previous Topic: Yum fails to install package in OpenVZ container.
Next Topic: template issue.
Goto Forum:
  


Current Time: Sun Nov 27 19:39:22 GMT 2022

Total time taken to generate the page: 0.00950 seconds