3 Replies Latest reply: Nov 22, 2011 2:06 AM by 897928 RSS

    Tempalte registration failed

    Vijay Paindla
      Hi experts

      When am trying to register templates using OVAB am getting this error:

      Registering IG_HTTP to cloud_resource_pool::vm_server_pool started.
      Connecting to cloud_resource_pool::vm_server_pool for register operation.
      Connected to cloud_resource_pool::vm_server_pool. Beginning register operation.
      Starting register operation for cfVAcpznZEjwrs7_zoLbNIgLv8MiLGHI on cloud_resource_pool::vm_server_pool
      Register operation on cfVAcpznZEjwrs7_zoLbNIgLv8MiLGHI to cloud_resource_pool::vm_server_pool failed!
           CAUSE: Template registration for the capture id TemplateIdImpl[uuid=UuidImpl[id=zoLbNIgLv8MiLGHI]] for the OVM platform and the OEL OS failed
      Registering of IG_HTTP to cloud_resource_pool::vm_server_pool failed.

      OVAB log:

      [2011-08-17T11:33:37.560+05:30] [as] [NOTIFICATION] [] [oracle.as.assemblybuilder.fcp] [tid: 48] [ecid: 0000J7MLbnOFw000jzwkno1EG^Ld00000V,0] Registering IG_HTTP to cloud_resource_pool::vm_server_pool started.
      [2011-08-17T11:33:37.585+05:30] [as] [NOTIFICATION] [] [oracle.as.assemblybuilder.fcp] [tid: 48] [ecid: 0000J7MLbnOFw000jzwkno1EG^Ld00000V,0] Connecting to cloud_resource_pool::vm_server_pool for register operation.
      [2011-08-17T11:33:37.704+05:30] [as] [NOTIFICATION] [] [oracle.as.assemblybuilder.fcp] [tid: 48] [ecid: 0000J7MLbnOFw000jzwkno1EG^Ld00000V,0] Connected to cloud_resource_pool::vm_server_pool. Beginning register operation.
      [2011-08-17T11:33:38.196+05:30] [as] [NOTIFICATION] [] [oracle.as.assemblybuilder.fcp] [tid: 48] [ecid: 0000J7MLbnOFw000jzwkno1EG^Ld00000V,0] Starting register operation for cfVAcpznZEjwrs7_zoLbNIgLv8MiLGHI on cloud_resource_pool::vm_server_pool
      [2011-08-17T11:33:38.409+05:30] [as] [NOTIFICATION] [] [oracle.as.assemblybuilder.ovab] [tid: 48] [ecid: 0000J7MLbnOFw000jzwkno1EG^Ld00000V,0] Resource cloud_resource_pool:vm_server_pool has disk available 65128 MB
      [2011-08-17T11:33:38.410+05:30] [as] [NOTIFICATION] [] [oracle.as.assemblybuilder.ovab] [tid: 48] [ecid: 0000J7MLbnOFw000jzwkno1EG^Ld00000V,0] Template cfVAcpznZEjwrs7_zoLbNIgLv8MiLGHI require disk size 6196 MB
      [2011-08-17T11:33:53.647+05:30] [as] [WARNING] [] [oracle.as.assemblybuilder.resourcepool] [tid: 48] [ecid: 0000J7MLbnOFw000jzwkno1EG^Ld00000V,0] Error occurred when importing the template cfVAcpznZEjwrs7_zoLbNIgLv8MiLGHI. Error is: java.lang.Exception: Expecting template state 'Pending', instead got 'ImportError' indicating possible error[[
      at com.oracle.vmm.client.ResourcePoolImpl.waitForTemplateState(ResourcePoolImpl.java:359)
      at com.oracle.vmm.client.ResourcePoolImpl.importTemplate(ResourcePoolImpl.java:184)
      at oracle.as.assemblybuilder.resourcepool.service.ovm.internal.OVMResourcePoolServiceImpl.importTemplate(OVMResourcePoolServiceImpl.java:287)
      at oracle.as.assemblybuilder.ovab.deployer.internal.PoolTemplatesManagerImpl.registerTemplateInternal(PoolTemplatesManagerImpl.java:225)
      at oracle.as.assemblybuilder.ovab.deployer.internal.PoolTemplatesManagerImpl.registerTemplate(PoolTemplatesManagerImpl.java:152)
      at oracle.as.assemblybuilder.ovab.deployer.internal.PoolTemplatesManagerImpl.registerTemplates(PoolTemplatesManagerImpl.java:426)
      at oracle.as.assemblybuilder.ovab.deployer.internal.TemplateManagerImpl.registerTemplates(TemplateManagerImpl.java:174)
      at oracle.as.assemblybuilder.fcp.internal.model.register.TemplateManagerFacadeImpl$RegisterTask.run(TemplateManagerFacadeImpl.java:93)
      at java.lang.Thread.run(Thread.java:619)

      ]]
      [2011-08-17T11:33:53.647+05:30] [as] [NOTIFICATION] [] [oracle.as.assemblybuilder.fcp] [tid: 48] [ecid: 0000J7MLbnOFw000jzwkno1EG^Ld00000V,0] Register operation on cfVAcpznZEjwrs7_zoLbNIgLv8MiLGHI to cloud_resource_pool::vm_server_pool failed! [[
      CAUSE: Template registration for the capture id TemplateIdImpl[uuid=UuidImpl[id=zoLbNIgLv8MiLGHI]] for the OVM platform and the OEL OS failed
      ]]
      [2011-08-17T11:33:53.865+05:30] [as] [NOTIFICATION] [] [oracle.as.assemblybuilder.fcp] [tid: 48] [ecid: 0000J7MLbnOFw000jzwkno1EG^Ld00000V,0] Registering of IG_HTTP to cloud_resource_pool::vm_server_pool failed.






      vm manager log:
      SERVER POOL: vm_server_pool
      RESOURCE TYPE: Virtual Machine Template
      DOWNLOAD URL: https://127.0.0.1:9678/template/015626ca765ae02c8a3da25f1d3371582c3fb5d5a2b97ab0f5654d130361bb57
      PROXY URL: null
      TARGET LOCATION: /OVS/seed_pool/cfVAcpznZEjwrs7_zoLbNIgLv8MiLGHI
      ASYNCHRONOUS JOB: true

      2011-08-17 11:33:39.110 NOTIFICATION remove /OVS/seed_pool/cfVAcpznZEjwrs7_zoLbNIgLv8MiLGHI succeed
      2011-08-17 11:33:39.205 NOTIFICATION [IMPORT VIRTUAL MACHINE SERVICE][Resource Download Service(RDS)][Creating new download task(ED08A665E2434C27B6E6963141A79E52]
      2011-08-17 11:33:39.205 NOTIFICATION [IMPORT VIRTUAL MACHINE SERVICE][Resource Download Service(RDS)][Start downloading...]
      2011-08-17 11:33:45.741 NOTIFICATION master server is:172.18.79.31
      2011-08-17 11:33:46.598 NOTIFICATION ServerPoolSync.run: sync OVM server status succeeded.
      2011-08-17 11:33:46.623 NOTIFICATION ServerPoolSync.run: sync OVM server VT status succeeded.
      2011-08-17 11:33:47.216 NOTIFICATION ServerPoolSync.run: update virtual machines performance statistics succeeded.
      2011-08-17 11:33:49.126 NOTIFICATION ServerPoolSync.run: sync virtual machines status succeeded.
      2011-08-17 11:33:49.156 NOTIFICATION ServerPoolSync.run: sync cluster master status succeeded.
      2011-08-17 11:33:49.157 NOTIFICATION ServerPoolSync.run: sync agent version succeeded.
      2011-08-17 11:33:49.674 NOTIFICATION [IMPORT VIRTUAL MACHINE SERVICE][Resource Download Service(RDS)][Download Complete]
      2011-08-17 11:33:50.288 NOTIFICATION [ResourceController Info] get_vm_size(): 1
      11/08/17 11:33:50 oracle.ovs.biz.exception.OVSException: OVM-5004 Invalid virtual machine config file.
      11/08/17 11:33:50 at oracle.ovs.biz.resource.NeoResourceController.detectImportType(NeoResourceController.java:1459)
      11/08/17 11:33:50 at oracle.ovs.biz.resource.services.VMCoreService.checkVMConfigPrerequistic(VMCoreService.java:304)
      11/08/17 11:33:50 at oracle.ovs.biz.resource.services.VMCoreService.parseVMConfig(VMCoreService.java:74)
      11/08/17 11:33:50 at oracle.ovs.biz.resource.services.AbstractImportVirtualMachineService.createVMFull(AbstractImportVirtualMachineService.java:79)
      11/08/17 11:33:50 at oracle.ovs.biz.resource.services.AbstractImportVirtualMachineService.register(AbstractImportVirtualMachineService.java:170)
      11/08/17 11:33:50 at oracle.ovs.api.NeoResourceManagementImpl.registerTemplate(NeoResourceManagementImpl.java:828)
      11/08/17 11:33:50 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11/08/17 11:33:50 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      11/08/17 11:33:50 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      11/08/17 11:33:50 at java.lang.reflect.Method.invoke(Method.java:585)
      11/08/17 11:33:50 at org.apache.commons.beanutils.MethodUtils.invokeExactMethod(MethodUtils.java:370)
      11/08/17 11:33:50 at oracle.ovs.biz.resource.ResourceManager.TaskThread.execute(TaskThread.java:333)
      11/08/17 11:33:50 at oracle.ovs.biz.resource.ResourceManager.TaskThread.run(TaskThread.java:261)
      2011-08-17 11:33:53.687 NOTIFICATION [AcquireLock][ImgID:45.0]: Current Lock - VM_NO_LOCK
      2011-08-17 11:33:53.692 NOTIFICATION [AcquireLock][ImgID:45.0]: Current Lock - VM_NO_LOCK , Time Gap - 10
      2011-08-17 11:33:53.815 NOTIFICATION remove /OVS/seed_pool/cfVAcpznZEjwrs7_zoLbNIgLv8MiLGHI succeed
      2011-08-17 11:33:53.830 NOTIFICATION [ReleaseLock][ImgID:45.0]: Current Lock - VM_EXCLUSIVE_LOCK
      2011-08-17 11:33:53.838 NOTIFICATION [IMPORT VIRTUAL MACHINE SERVICE][Virtual Machine Core Service][cfVAcpznZEjwrs7_zoLbNIgLv8MiLGHI] delete