OpenVZ Forum


Home » General » Support » online container migration fails with Remote exception I/O operation on closed file (Trying to lie migrate container using vzmigrate or prlctl, getting Remote exception I/O operation on closed file)
Re: online container migration fails with Remote exception I/O operation on closed file [message #53516 is a reply to message #53303] Fri, 10 May 2019 19:38 Go to previous messageGo to previous message
HHawk is currently offline  HHawk
Messages: 32
Registered: September 2017
Location: Europe
Member
I have the same issue.

OpenVZ release 7.0.10 (252)
Virtuozzo Linux release 7.6.0 (618)
Linux name.of.server 3.10.0-957.10.1.vz7.85.17 #1 SMP Thu Apr 11 18:11:44 MSK 2019 x86_64 x86_64 x86_64 GNU/Linux


I run the following command: prlctl migrate root@192.168.0.1/10012 root@192.168.0.2/10012 -v 10

Result:
Quote:

05-10 20:49:01.414 W /disp:3647:199402/ handleClientConnected
05-10 20:49:01.414 F /disp:3647:199402/ Processing command 'DspCmdUserEasyLoginLocal' 2186 (PJOC_SRV_LOGIN_LOCAL)
05-10 20:49:01.415 F /disp:3647:199402/ VM Directory /vz/vmprivate does not exists.
05-10 20:49:01.415 F /disp:3647:199402/ Virtuozzo user [root@.] successfully logged on( LOCAL ). [sessionId = {dfe639bf-d805-4d7c-9075-092877108e0a} ]
05-10 20:49:01.415 F /disp:3647:199402/ Session with uuid[ {dfe639bf-d805-4d7c-9075-092877108e0a} ] was started.
05-10 20:49:01.522 I /IOCommunication:3647:199402/ IO server ctx [read thr] (handle 70, sender 2): Socket graceful shutdown detected. No worries, everything goes fine.
05-10 20:49:01.522 W /disp:3647:199402/ handleClientDisconnected
05-10 20:51:57.623 F /disp:3647:199166/ Sending SIGKILL to 199168...
05-10 20:51:57.624 F /IOCommunication:3647:199166/ IO client ctx [read thr] (sender 2): WARNING: callback took too much time: about 300051 msecs. This is absolutely incorrect! Callback must be rewritten!
05-10 20:51:57.625 F /disp:3647:199165/ Task '20Task_MigrateCtSource' with uuid = {cd73d895-9131-4107-9a5e-bcbdff8d7323} was finished with result PRL_ERR_CT_MIGRATE_INTERNAL_ERROR (0x80031035) )
05-10 20:51:57.626 I /IOCommunication:3647:199166/ IO client ctx [read thr] (sender 2): Stop in progress for read thread
05-10 20:51:57.712 F /disp:3647:199153/ Processing command 'DspCmdUserLogoff' 2042 (PJOC_SRV_LOGOFF)
05-10 20:51:57.712 F /disp:3647:199153/ Virtuozzo user [root@.] successfully logged off. [sessionId = {653e6805-09f2-43c3-b7b0-2499587ffabb} ]
05-10 20:51:57.712 I /IOCommunication:3647:199153/ IO server ctx [read thr] (handle 42, sender 2) (83.172.190.190:49832): Stop in progress for read thread
05-10 20:51:57.712 W /disp:3647:199153/ handleClientDisconnected
05-10 20:52:02.232 F /disp:3647:3647/ Synchronizing VMs uptime values
05-10 20:52:02.232 F /disp:3647:3647/ Synchronization of VMs uptime was completed
05-10 20:52:06.650 F /disp:3647:4098/ RNG schema validation has failed
05-10 20:52:06.650 F /disp:3647:4098/ libvirt error no error
05-10 20:52:06.650 F /disp:3647:4098/ Cannot read host PCI devices: PRL_ERR_FAILURE
05-10 20:52:16.297 F /HostUtils:3647:4098/ Failed to load libpcs_client.so.1: libpcs_client.so.1: cannot open shared object file: No such file or directory


Maybe someone has an idea?

Things I tried and/or looked up:

1. Failed to load libpcs_client.so.1 (= apparently only a warning)
2. VM Directory /vz/vmprivate does not exists (= I created this directory on both source and destination; still same message)

I decided to try something else; I turned the container offline and ran the command: prlctl migrate 10012 192.168.0.2
As a result the container was migrated succesfully...

...however, I rather have a live migration if possible.


Maybe someone experienced can see in the logs what is wrong?

Thanks!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Regenerate /boot/grub2/grub.cfg
Next Topic: MDS
Goto Forum:
  


Current Time: Mon Aug 12 12:33:43 GMT 2024

Total time taken to generate the page: 0.02738 seconds