This discussion is archived
3 Replies Latest reply: Jan 10, 2013 10:45 AM by budachst RSS

OVM 3.1.1 - Live migration not completed

YannAllandit Newbie
Currently Being Moderated
Hi,

I'm facing an interesting case with the VM live migration.
If I issue a migration from the manager, the VM is effectively moved to the new server but the job still in a "in progress" mode (0% completed) and the OVM servers still locked until I abort the job.
Once the job is aborted, everything is back to normal and the VM is running on the targeted server.

Any idea what's wrong?

thanks for the help.

Below is the log of the job:
Job Construction Phase
----------------------
begin()
Appended operation 'Bridge Configure Operation' to object '0004fb000020000051ceed7ebd6f2ad9 (network.BondPort (1) in oracle55)'.
Appended operation 'Bridge Configure Operation' to object '0004fb000020000004cb599206575194 (network.EthernetPort (3) in oracle55)'.
Appended operation 'Virtual Machine Migrate' to object '0004fb0000060000a4a1035c270b5f7b (RH63_PVM_XDC_Node2)'.
commit()
Completed Step: COMMIT

Objects and Operations
----------------------
Object (IN_USE): [Server] 36:34:31:30:31:36:43:5a:33:32:32:32:4b:42:4b:35 (oracle55)
Object (IN_USE): [EthernetPort] 0004fb000020000004cb599206575194 (network.EthernetPort (3) in oracle55)
Operation: Bridge Configure Operation
Object (IN_USE): [Server] 36:34:31:30:31:36:43:5a:33:32:32:32:4b:42:4b:33 (oracle54)
Object (IN_USE): [VirtualMachine] 0004fb0000060000a4a1035c270b5f7b (RH63_PVM_XDC_Node2)
Operation: Virtual Machine Migrate
Object (IN_USE): [BondPort] 0004fb000020000051ceed7ebd6f2ad9 (network.BondPort (1) in oracle55)
Operation: Bridge Configure Operation

Job Running Phase at 14:02 on Thu, Jan 10, 2013
----------------------------------------------
Job Participants: [36:34:31:30:31:36:43:5a:33:32:32:32:4b:42:4b:33 (oracle54)]

Actioner
--------
Starting operation 'Bridge Configure Operation' on object '0004fb000020000004cb599206575194 (network.EthernetPort (3) in oracle55)'
Bridge [0004fb001054934] already exists (and should exist) on interface [eth2] on server [oracle55]; skipping bridge creation
Completed operation 'Bridge Configure Operation' completed with direction ==> DONE
Starting operation 'Virtual Machine Migrate' on object '0004fb0000060000a4a1035c270b5f7b (RH63_PVM_XDC_Node2)'
Completed operation 'Virtual Machine Migrate' completed with direction ==> LATER
Starting operation 'Bridge Configure Operation' on object '0004fb000020000051ceed7ebd6f2ad9 (network.BondPort (1) in oracle55)'
Bridge [15.136.24.0] already exists (and should exist) on interface [bond0] on server [oracle55]; skipping bridge creation
Completed operation 'Bridge Configure Operation' completed with direction ==> DONE
Starting operation 'Virtual Machine Migrate' on object '0004fb0000060000a4a1035c270b5f7b
  • 1. Re: OVM 3.1.1 - Live migration not completed
    YannAllandit Newbie
    Currently Being Moderated
    Another information, none of the job are completed (startup or shutdown of a VM) but are done. I need to abort the job and rediscover the server in order to get an accurate status.
    The only job on VM I can complete is a migration with a stopped VM.
  • 2. Re: OVM 3.1.1 - Live migration not completed
    YannAllandit Newbie
    Currently Being Moderated
    Some other log info from the ovs-agent.log file:

    [2013-01-10 17:29:02 7647] DEBUG (notification:291) Connected to manager.
    [2013-01-10 17:29:17 7655] ERROR (notification:64) Unable to send notification: (2, 'No such file or directory')
    [2013-01-10 17:29:18 7647] ERROR (notification:333) Error in NotificationServer process: 'Invalid URL Request (receive) http://15.136.28.56:7001/ovm/core/OVMManagerCoreServlet'
    Traceback (most recent call last):
    File "/usr/lib64/python2.4/site-packages/agent/notification.py", line 308, in serve_forever
    foundry = cm.getFoundryContext()
    File "/usr/lib/python2.4/site-packages/com/oracle/ovm/mgr/api/manager/OvmManager.py", line 38, in getFoundryContext
    self.foundry = self.getModelManager().getFoundryContext()
    File "/usr/lib/python2.4/site-packages/com/oracle/ovm/mgr/api/manager/OvmManager.py", line 31, in getModelManager
    if self.modelMgr == None:
    File "/usr/lib/python2.4/site-packages/com/oracle/ovm/mgr/api/manager/ModelManager.py", line 364, in __cmp__
    return self.compareTo(obj)
    File "/usr/lib/python2.4/site-packages/com/oracle/ovm/mgr/api/manager/ModelManager.py", line 250, in compareTo
    return self.exchange.invokeMethodByName(self.identifier,"compareTo","java.lang.Object",args,5,False)
    File "/usr/lib/python2.4/site-packages/com/oracle/odof/OdofExchange.py", line 68, in invokeMethodByName
    return self._send_(InvokeMethodByNameCommand(identifier, method, params, args, access))
    File "/usr/lib/python2.4/site-packages/com/oracle/odof/OdofExchange.py", line 164, in send
    return self._sendGivenConnection_(connection, command, timeout)
    File "/usr/lib/python2.4/site-packages/com/oracle/odof/OdofExchange.py", line 170, in sendGivenConnection
    result = connection.receive(command, timeout)
    File "/usr/lib/python2.4/site-packages/com/oracle/odof/io/ServletConnection.py", line 88, in receive
    raise OdofException("Invalid URL Request (receive) %s" % self.url, sys.exc_info()[1])
    OdofException: 'Invalid URL Request (receive) http://15.136.28.56:7001/ovm/core/OVMManagerCoreServlet'
    [2013-01-10 17:29:38 7655] ERROR (notification:64) Unable to send notification: (2, 'No such file or directory')
    [2013-01-10 17:29:54 7647] DEBUG (notification:289) Trying to connect to manager.
    [2013-01-10 17:29:58 7655] ERROR (notification:64) Unable to send notification: (2, 'No such file or directory')
    [2013-01-10 17:30:19 7655] ERROR (notification:64) Unable to send notification: (2, 'No such file or directory')
  • 3. Re: OVM 3.1.1 - Live migration not completed
    budachst Pro
    Currently Being Moderated
    Have you tried to migrate that VM directly using xm migrate -l <VM UUID> <target VM server IP>?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points