This discussion is archived
4 Replies Latest reply: Aug 26, 2013 5:35 AM by user4934093 RSS

Virtual Machine stopped immediately

user4934093 Newbie
Currently Being Moderated

Hello,

I'm using VM Manager and VM Server 3.2.1

I created a Virtual Machine in  server pool with one server.

After creation, the virtual machine is stopped immediately.

When I start the virtual machine it is stopped immediately as well.

Please find below the log when the virtual machine was created:

.

Job Construction Phase

----------------------

Job ID: 1377449803757

 

begin()

Appended operation 'Adding a queued job operation' to object '0004fb00001900002d36d70ec6d63877 (Create Statistics Log)'.

begin()

begin()

begin()

Appended operation 'Virtual Machine Cfg File Construct' to object '0004fb0000220000d45c5a0c6262fed1'.

commit()

Completed Step: COMMIT

 

Objects and Operations

----------------------

Object (CREATED): [VmDiskMapping] 0004fb00001300008bdc5177011bdd9c

Object (CREATED): [VmApiMessages] 0004fb0000060000f7b1782fbe2c8376_VmApiMessages

Object (IN_USE): [VirtualDisk] 0004fb0000120000c5e32d40b6fb1a10.img (DISKA)

Object (IN_USE): [Server] b6:60:77:20:62:ea:a2:22:bb:d2:72:c2:16:5b:fe:22 (seclin)

Object (CREATED): [VirtualMachine] 0004fb0000060000f7b1782fbe2c8376 (VMA)

Object (CREATED): [VirtualMachineCfgFile] 0004fb0000220000d45c5a0c6262fed1

  Operation: Virtual Machine Cfg File Construct

Object (IN_USE): [ServerPool] 0004fb0000020000ae7479ab7481e7c6 (ServerPoolSeclin)

Object (CREATED): [CreateStatisticLog] 0004fb00001900002d36d70ec6d63877 (Create Statistics Log)

  Operation: Adding a queued job operation

Object (IN_USE): [Repository] 0004fb00000300002df72cd2871b9301 (RepSeclin)

 

Job Running Phase at 2013-08-25 18:56:43,757

----------------------------------------------

Job Participants: [b6:60:77:20:62:ea:a2:22:bb:d2:72:c2:16:5b:fe:22 (seclin)]

 

 

Actioner

--------

18:57:38,095: Starting operation 'Virtual Machine Cfg File Construct' on object '0004fb0000220000d45c5a0c6262fed1'

18:57:38,153: Completed operation 'Virtual Machine Cfg File Construct' with direction ==> DONE

18:57:38,172: Starting operation 'Adding a queued job operation' on object '0004fb00001900002d36d70ec6d63877 (Create Statistics Log)'

Adding queued job: interface com.oracle.ovm.mgr.api.queuedjob.CreateStatisticLog, with target: VMA

18:57:38,285: Completed operation 'Adding a queued job operation' with direction ==> DONE

Completed Step: ACTION

 

Objects To Be Committed

-----------------------

Object (CREATED): [VmDiskMapping] 0004fb00001300008bdc5177011bdd9c

Object (CREATED): [VmApiMessages] 0004fb0000060000f7b1782fbe2c8376_VmApiMessages

Object (IN_USE): [VirtualDisk] 0004fb0000120000c5e32d40b6fb1a10.img (DISKA)

Object (IN_USE): [Server] b6:60:77:20:62:ea:a2:22:bb:d2:72:c2:16:5b:fe:22 (seclin)

Object (CREATED): [VirtualMachine] 0004fb0000060000f7b1782fbe2c8376 (VMA)

Object (CREATED): [VirtualMachineCfgFile] 0004fb0000220000d45c5a0c6262fed1

Object (IN_USE): [ServerPool] 0004fb0000020000ae7479ab7481e7c6 (ServerPoolSeclin)

Object (CREATED): [CreateStatisticLog] 0004fb00001900002d36d70ec6d63877 (Create Statistics Log)

Object (IN_USE): [Repository] 0004fb00000300002df72cd2871b9301 (RepSeclin)

 

 

Resetter

--------

Completed Step: RESET

Completed Step: DONE

 

Write Methods Invoked

-------------------

18:57:37,550 class="InternalJobDbImpl" vessel_id=3945 method=addTransactionIdentifier accessLevel=6 owningTx=1377449804226

18:57:37,554 class="VirtualMachineDbImpl" vessel_id=3954 method=createVirtualMachineCfgFile accessLevel=6 owningTx=1377449804226

18:57:37,559 class="RepositoryDbImpl" vessel_id=3275 method=createRepositoryElement accessLevel=6 owningTx=1377449857548

18:57:37,560 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setName accessLevel=6 owningTx=1377449857548

18:57:37,582 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setFoundryContext accessLevel=6 owningTx=1377449857548

18:57:37,582 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=onPersistableCreate accessLevel=6 owningTx=1377449857548

18:57:37,582 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setLifecycleState accessLevel=6 owningTx=1377449857548

18:57:37,583 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449857548

18:57:37,700 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setRepository accessLevel=6 owningTx=1377449857548

18:57:37,700 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setDirectory accessLevel=6 owningTx=1377449857548

18:57:37,701 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setVirtualMachine accessLevel=6 owningTx=1377449857548

18:57:37,703 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=addJobOperation accessLevel=6 owningTx=1377449857548

18:57:37,736 class="InternalJobDbImpl" vessel_id=3945 method=setCompletedStep accessLevel=6 owningTx=1377449804226

18:57:37,762 class="InternalJobDbImpl" vessel_id=3945 method=setAssociatedHandles accessLevel=6 owningTx=1377449804226

18:57:38,110 class="VirtualMachineDbImpl" vessel_id=3954 method=setUuidForHypervisor accessLevel=6 owningTx=1377449804226

18:57:38,111 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setChecksum accessLevel=6 owningTx=1377449857548

18:57:38,153 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setRepositoryLate accessLevel=6 owningTx=1377449857548

18:57:38,153 class="RepositoryDbImpl" vessel_id=3275 method=lock accessLevel=6 owningTx=1377449857548

18:57:38,153 class="RepositoryDbImpl" vessel_id=3275 method=addRepositoryElement accessLevel=6 owningTx=1377449857548

18:57:38,171 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setCurrentJobOperationComplete accessLevel=6 owningTx=1377449857548

18:57:38,171 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=nextJobOperation accessLevel=6 owningTx=1377449857548

18:57:38,180 class="InternalJobDbImpl" vessel_id=3945 method=addQueuedJob accessLevel=6 owningTx=1377449804226

18:57:38,194 class="CreateStatisticLogDbImpl" vessel_id=3959 method=setParentInternalJob accessLevel=6 owningTx=1377449804226

18:57:38,305 class="CreateStatisticLogDbImpl" vessel_id=3959 method=setCurrentJobOperationComplete accessLevel=6 owningTx=1377449804226

18:57:38,305 class="CreateStatisticLogDbImpl" vessel_id=3959 method=nextJobOperation accessLevel=6 owningTx=1377449804226

18:57:38,306 class="InternalJobDbImpl" vessel_id=3945 method=setCompletedStep accessLevel=6 owningTx=1377449804226

18:57:38,472 class="VmDiskMappingDbImpl" vessel_id=3988 method=jobReset accessLevel=5 owningTx=1377449848425

18:57:38,473 class="VmDiskMappingDbImpl" vessel_id=3988 method=setLifecycleState accessLevel=6 owningTx=1377449848425

18:57:38,473 class="VmDiskMappingDbImpl" vessel_id=3988 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449848425

18:57:38,473 class="VmApiMessagesDbImpl" vessel_id=3965 method=jobReset accessLevel=5 owningTx=1377449804226

18:57:38,474 class="VmApiMessagesDbImpl" vessel_id=3965 method=setLifecycleState accessLevel=6 owningTx=1377449804226

18:57:38,475 class="VmApiMessagesDbImpl" vessel_id=3965 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449804226

18:57:38,475 class="VirtualDiskDbImpl" vessel_id=3981 method=jobReset accessLevel=5 owningTx=1377449848425

18:57:38,477 class="VirtualDiskDbImpl" vessel_id=3981 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449848425

18:57:38,477 class="ServerDbImpl" vessel_id=3042 method=jobReset accessLevel=5 owningTx=1377449804226

18:57:38,479 class="ServerDbImpl" vessel_id=3042 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449804226

18:57:38,479 class="VirtualMachineDbImpl" vessel_id=3954 method=jobReset accessLevel=5 owningTx=1377449804226

18:57:38,480 class="VirtualMachineDbImpl" vessel_id=3954 method=setLifecycleState accessLevel=6 owningTx=1377449804226

18:57:38,480 class="VirtualMachineDbImpl" vessel_id=3954 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449804226

18:57:38,480 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=jobReset accessLevel=5 owningTx=1377449857548

18:57:38,480 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setAsset accessLevel=6 owningTx=1377449857548

18:57:38,480 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setAsset accessLevel=6 owningTx=1377449857548

18:57:38,481 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setAsset accessLevel=6 owningTx=1377449857548

18:57:38,481 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setLifecycleState accessLevel=6 owningTx=1377449857548

18:57:38,481 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449857548

18:57:38,481 class="ServerPoolDbImpl" vessel_id=3229 method=jobReset accessLevel=5 owningTx=1377449804226

18:57:38,482 class="ServerPoolDbImpl" vessel_id=3229 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449804226

18:57:38,482 class="CreateStatisticLogDbImpl" vessel_id=3959 method=jobReset accessLevel=5 owningTx=1377449804226

18:57:38,482 class="CreateStatisticLogDbImpl" vessel_id=3959 method=setLifecycleState accessLevel=6 owningTx=1377449804226

18:57:38,483 class="CreateStatisticLogDbImpl" vessel_id=3959 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449804226

18:57:38,483 class="RepositoryDbImpl" vessel_id=3275 method=jobReset accessLevel=5 owningTx=1377449857548

18:57:38,483 class="RepositoryDbImpl" vessel_id=3275 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449857548

18:57:38,483 class="InternalJobDbImpl" vessel_id=3945 method=setAssets accessLevel=6 owningTx=1377449804226

18:57:38,484 class="InternalJobDbImpl" vessel_id=3945 method=setCompletedStep accessLevel=6 owningTx=1377449804226

18:57:38,522 class="InternalJobDbImpl" vessel_id=3945 method=setCompletedStep accessLevel=6 owningTx=1377449804226

18:57:38,534 class="VmDiskMappingDbImpl" vessel_id=3988 method=clearJobOperations accessLevel=6 owningTx=1377449848425

18:57:38,534 class="VmApiMessagesDbImpl" vessel_id=3965 method=clearJobOperations accessLevel=6 owningTx=1377449804226

18:57:38,535 class="VirtualDiskDbImpl" vessel_id=3981 method=clearJobOperations accessLevel=6 owningTx=1377449848425

18:57:38,535 class="VirtualMachineDbImpl" vessel_id=3954 method=clearJobOperations accessLevel=6 owningTx=1377449804226

18:57:38,535 class="ServerDbImpl" vessel_id=3042 method=clearJobOperations accessLevel=6 owningTx=1377449804226

18:57:38,535 class="VirtualMachineCfgFileDbImpl" vessel_id=3994 method=clearJobOperations accessLevel=6 owningTx=1377449857548

18:57:38,536 class="ServerPoolDbImpl" vessel_id=3229 method=clearJobOperations accessLevel=6 owningTx=1377449804226

18:57:38,536 class="RepositoryDbImpl" vessel_id=3275 method=clearJobOperations accessLevel=6 owningTx=1377449857548

18:57:38,536 class="CreateStatisticLogDbImpl" vessel_id=3959 method=clearJobOperations accessLevel=6 owningTx=1377449804226

18:57:28,427 class="InternalJobDbImpl" vessel_id=3945 method=addTransactionIdentifier accessLevel=6 owningTx=1377449804226

18:57:28,429 class="VirtualMachineDbImpl" vessel_id=3954 method=createVmDiskMapping accessLevel=6 owningTx=1377449804226

18:57:28,893 class="VmDiskMappingDbImpl" vessel_id=3988 method=setName accessLevel=6 owningTx=1377449848425

18:57:28,959 class="VmDiskMappingDbImpl" vessel_id=3988 method=setFoundryContext accessLevel=6 owningTx=1377449848425

18:57:28,959 class="VmDiskMappingDbImpl" vessel_id=3988 method=onPersistableCreate accessLevel=6 owningTx=1377449848425

18:57:28,959 class="VmDiskMappingDbImpl" vessel_id=3988 method=setLifecycleState accessLevel=6 owningTx=1377449848425

18:57:28,959 class="VmDiskMappingDbImpl" vessel_id=3988 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449848425

18:57:29,083 class="VmDiskMappingDbImpl" vessel_id=3988 method=setVirtualMachine accessLevel=6 owningTx=1377449848425

18:57:29,084 class="VirtualMachineDbImpl" vessel_id=3954 method=recordCfgChange accessLevel=6 owningTx=1377449804226

18:57:29,084 class="VmDiskMappingDbImpl" vessel_id=3988 method=setDiskTarget accessLevel=6 owningTx=1377449848425

18:57:29,084 class="VirtualMachineDbImpl" vessel_id=3954 method=recordCfgChange accessLevel=6 owningTx=1377449804226

18:57:29,085 class="VmDiskMappingDbImpl" vessel_id=3988 method=setVirtualMachineDisk accessLevel=6 owningTx=1377449848425

18:57:29,085 class="VirtualDiskDbImpl" vessel_id=3981 method=addVmDiskMapping accessLevel=6 owningTx=1377449848425

18:57:29,086 class="VmDiskMappingDbImpl" vessel_id=3988 method=setVirtualMachineDisk accessLevel=6 owningTx=1377449848425

18:56:58,069 class="InternalJobDbImpl" vessel_id=3945 method=addTransactionIdentifier accessLevel=6 owningTx=1377449804226

18:56:44,227 class="InternalJobDbImpl" vessel_id=3945 method=addTransactionIdentifier accessLevel=6 owningTx=1377449804226

18:56:44,231 class="ServerDbImpl" vessel_id=3042 method=createVirtualMachine accessLevel=6 owningTx=1377449804226

18:56:44,236 class="VirtualMachineDbImpl" vessel_id=3954 method=setName accessLevel=6 owningTx=1377449804226

18:56:44,263 class="VirtualMachineDbImpl" vessel_id=3954 method=setFoundryContext accessLevel=6 owningTx=1377449804226

18:56:44,264 class="VirtualMachineDbImpl" vessel_id=3954 method=onPersistableCreate accessLevel=6 owningTx=1377449804226

18:56:44,419 class="RootStatisticLogDbImpl" vessel_id=129 method=initiateCreateStatisticSubjectLog accessLevel=5 owningTx=-1

18:56:44,424 class="CreateStatisticLogDbImpl" vessel_id=3959 method=setName accessLevel=6 owningTx=1377449804226

18:56:44,480 class="CreateStatisticLogDbImpl" vessel_id=3959 method=setFoundryContext accessLevel=6 owningTx=1377449804226

18:56:44,480 class="CreateStatisticLogDbImpl" vessel_id=3959 method=onPersistableCreate accessLevel=6 owningTx=1377449804226

18:56:44,480 class="CreateStatisticLogDbImpl" vessel_id=3959 method=setLifecycleState accessLevel=6 owningTx=1377449804226

18:56:44,481 class="CreateStatisticLogDbImpl" vessel_id=3959 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449804226

18:56:44,762 class="CreateStatisticLogDbImpl" vessel_id=3959 method=setTarget accessLevel=6 owningTx=1377449804226

18:56:44,762 class="CreateStatisticLogDbImpl" vessel_id=3959 method=setSimpleName accessLevel=6 owningTx=1377449804226

18:56:44,763 class="CreateStatisticLogDbImpl" vessel_id=3959 method=addJobOperation accessLevel=6 owningTx=1377449804226

18:56:44,791 class="VmApiMessagesDbImpl" vessel_id=3965 method=setName accessLevel=6 owningTx=1377449804226

18:56:44,881 class="VmApiMessagesDbImpl" vessel_id=3965 method=setFoundryContext accessLevel=6 owningTx=1377449804226

18:56:44,881 class="VmApiMessagesDbImpl" vessel_id=3965 method=onPersistableCreate accessLevel=6 owningTx=1377449804226

18:56:44,881 class="VmApiMessagesDbImpl" vessel_id=3965 method=setLifecycleState accessLevel=6 owningTx=1377449804226

18:56:44,882 class="VmApiMessagesDbImpl" vessel_id=3965 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449804226

18:56:45,071 class="VmApiMessagesDbImpl" vessel_id=3965 method=setVirtualMachine accessLevel=6 owningTx=1377449804226

18:56:45,071 class="VirtualMachineDbImpl" vessel_id=3954 method=setLifecycleState accessLevel=6 owningTx=1377449804226

18:56:45,071 class="VirtualMachineDbImpl" vessel_id=3954 method=setRollbackLifecycleState accessLevel=6 owningTx=1377449804226

18:56:45,194 class="VirtualMachineDbImpl" vessel_id=3954 method=setServer accessLevel=6 owningTx=1377449804226

18:56:45,641 class="ServerPoolDbImpl" vessel_id=3229 method=addVirtualMachine accessLevel=6 owningTx=1377449804226

18:56:45,644 class="VirtualMachineDbImpl" vessel_id=3954 method=setSimpleName accessLevel=6 owningTx=1377449804226

18:56:45,653 class="VirtualMachineDbImpl" vessel_id=3954 method=setDomainType accessLevel=6 owningTx=1377449804226

18:56:45,656 class="VirtualMachineDbImpl" vessel_id=3954 method=setDescription accessLevel=6 owningTx=1377449804226

18:56:45,658 class="VirtualMachineDbImpl" vessel_id=3954 method=setMemory accessLevel=6 owningTx=1377449804226

18:56:45,661 class="VirtualMachineDbImpl" vessel_id=3954 method=setMemoryLimit accessLevel=6 owningTx=1377449804226

18:56:45,663 class="VirtualMachineDbImpl" vessel_id=3954 method=setCpuCountLimit accessLevel=6 owningTx=1377449804226

18:56:45,666 class="VirtualMachineDbImpl" vessel_id=3954 method=setCpuCount accessLevel=6 owningTx=1377449804226

18:56:45,669 class="VirtualMachineDbImpl" vessel_id=3954 method=setCpuPriority accessLevel=6 owningTx=1377449804226

18:56:45,672 class="VirtualMachineDbImpl" vessel_id=3954 method=setCpuUtilizationCap accessLevel=6 owningTx=1377449804226

18:56:45,675 class="VirtualMachineDbImpl" vessel_id=3954 method=setHighAvailabilityFlag accessLevel=6 owningTx=1377449804226

18:56:45,677 class="VirtualMachineDbImpl" vessel_id=3954 method=setKeymapName accessLevel=6 owningTx=1377449804226

18:56:45,679 class="VirtualMachineDbImpl" vessel_id=3954 method=setMouseDeviceType accessLevel=6 owningTx=1377449804226

18:56:45,682 class="VirtualMachineDbImpl" vessel_id=3954 method=setStartPolicy accessLevel=6 owningTx=1377449804226

18:56:45,684 class="VirtualMachineDbImpl" vessel_id=3954 method=setOperatingSystemType accessLevel=6 owningTx=1377449804226

 

----------

End of Job

----------

Adding child job: 1377449862273


Any ideas what's wrong with my configuration?.

  • 1. Re: Virtual Machine stopped immediately
    WadhahDAOUEHI Journeyer
    Currently Being Moderated

    Hi,

    Print out the log when you start your Virtual MAchine (to foud what is the problems).

    from Oracle VM Server: /var/log/ovs-agent.log

     

    Best Regards

  • 2. Re: Virtual Machine stopped immediately
    user4934093 Newbie
    Currently Being Moderated

    Hello Wadhah,

    thanks a lot for your reply.

    Here is the part of /var/log/ovs-agent.log generated, when I start the virtual machine:

    [2013-08-26 13:28:58 5204] DEBUG (service:76) call start: discover_network

    [2013-08-26 13:28:58 5204] DEBUG (service:76) call complete: discover_network

    [2013-08-26 13:28:59 5205] DEBUG (service:74) async call start: start_vm('0004fb00000300002df72cd2871b9301', '0004fb0000060000f7b1782fbe2c8376')

    [2013-08-26 13:28:59 3874] INFO (notificationserver:139) Sending notification: {DOMAIN} 0004fb00-0006-0000-f7b1-782fbe2c8376 {START}

    [2013-08-26 13:28:59 3874] INFO (notificationserver:139) Sending notification: {DOMAIN} 0004fb00-0006-0000-f7b1-782fbe2c8376 {VNC} 5900

    [2013-08-26 13:29:00 5207] DEBUG (base:269) async call complete: func: start_vm pid: 5207 status: 0 output:

    [2013-08-26 13:29:00 5207] INFO (notification:47) Notification sent: {ASYNC_PROC} exit PID 5207

    [2013-08-26 13:29:00 3874] INFO (notificationserver:139) Sending notification: {ASYNC_PROC} exit PID 5207

    [2013-08-26 13:29:00 3874] INFO (notificationserver:139) Sending notification: {DOMAIN} 0004fb0000060000f7b1782fbe2c8376 {SSLVNC} 6900

    [2013-08-26 13:29:02 3874] INFO (notificationserver:139) Sending notification: {DOMAIN} 0004fb0000060000f7b1782fbe2c8376 {SSLTTY} 7901

    [2013-08-26 13:29:33 3874] INFO (notificationserver:139) Sending notification: {DOMAIN} 0004fb00-0006-0000-f7b1-782fbe2c8376 {SHUTDOWN} powered off


    Regards

    Thomas

  • 3. Re: Virtual Machine stopped immediately
    WadhahDAOUEHI Journeyer
    Currently Being Moderated

    Hi,

    There are not error in your log file.

     

    After creation, the virtual machine is stopped immediately.

    If the creation of the Virtual Machine is finished with success. ?

     

    please refer to the Virtual Machine Configuration in this URL.

     

    I hope this can help you

    Best Regards

  • 4. Re: Virtual Machine stopped immediately
    user4934093 Newbie
    Currently Being Moderated

    Hello Wadhah,

    the creation of the virtual machine was successful. There are no errors.

     

    Thank you very much for your help.

     

    Regards

    Thomas

Legend

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