thuang2
Contributor
Contributor

Cannot import vApp error

Hi,

When trying to create vApp in vCD 5.1, I ran into a “Cannot import vApp” error. Does anyone know what was wrong? Thanks.

Here is a snippet from vcloud-container-info.log:

2012-10-14 01:08:54,552 | ERROR    | sf-activity-pool-7        | CreateFromVCenterVmActivity    | [Activity Execution] Handle: urn:uuid:1ad150fc-61e1-4274-ad99-78aef3f63221, Current Phase: com.vmware.vcloud.fabric.storage.storedVm.impl.CreateFromVCenterVmActivity$FinishImportFromVcPhase, ActivityExecutionState Parameter Names: [NDC, CREATION_PARAMS, com.vmware.activityEntityRecord.EntityId, ORIGIN_PARAMS] - Failed VM creation with partial error | vcd=e33909c5-68d7-4d16-92c4-5fdf54f0c2c0,task=5066db22-6bc8-4463-91cc-4a82d90ac96c activity=urn:uuid:1ad150fc-61e1-4274-ad99-78aef3f63221 activity=urn:uuid:1ad150fc-61e1-4274-ad99-78aef3f63221 <---------------------

com.vmware.ssdc.util.LMException: Error

        at com.vmware.ssdc.util.LMException.wrap(LMException.java:129)

        at com.vmware.vcloud.spbm.impl.SpbmServiceImpl.submitSpsRequest(SpbmServiceImpl.java:888)

        at com.vmware.vcloud.spbm.impl.SpbmServiceImpl.associateVmAndDisksWithStorageProfile(SpbmServiceImpl.java:679)

        at com.vmware.vcloud.val.internal.impl.VC20VirtualServer.associateVmAndDisksWithStorageProfile(VC20VirtualServer.java:3631)

        at com.vmware.vcloud.val.internal.impl.VC20VirtualServer.clone(VC20VirtualServer.java:2581)

        at com.vmware.vcloud.fabric.storage.copy.impl.VmCopyServiceImpl.intraVcCopyVm(VmCopyServiceImpl.java:717)

        at com.vmware.vcloud.fabric.storage.copy.impl.VmCopyServiceImpl.copyVm(VmCopyServiceImpl.java:340)

        at com.vmware.vcloud.fabric.storage.copy.impl.VmCopyServiceImpl.copyVms(VmCopyServiceImpl.java:283)

        at com.vmware.vcloud.fabric.storage.copy.impl.VmCopyServiceImpl.copyVm(VmCopyServiceImpl.java:251)

        at com.vmware.vcloud.fabric.storage.storedVm.impl.AbstractCreateStoredVmActivity.copyVmInVc(AbstractCreateStoredVmActivity.java:160)

        at com.vmware.vcloud.fabric.storage.storedVm.impl.CreateFromVCenterVmActivity$FinishImportFromVcPhase.invoke(CreateFromVCenterVmActivity.java:178)

        at com.vmware.vcloud.fabric.foundation.activity.executors.ActivityRunner.run(ActivityRunner.java:123)

        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

        at java.util.concurrent.FutureTask.run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

2012-10-14 01:08:54,555 | WARN     | sf-activity-pool-7        | Conversation                   | Session has been opened for too long: sf-activity-pool-7. Opened since: 10/14/12 12:35 AM. | vcd=e33909c5-68d7-4d16-92c4-5fdf54f0c2c0,task=5066db22-6bc8-4463-91cc-4a82d90ac96c activity=urn:uuid:1ad150fc-61e1-4274-ad99-78aef3f63221 activity=urn:uuid:1ad150fc-61e1-4274-ad99-78aef3f63221

2012-10-14 01:08:55,379 | WARN     | LocalTaskScheduler-Pool-3 | Conversation                   | Session has been opened for too long: LocalTaskScheduler-Pool-3. Opened since: 10/14/12 12:35 AM. | vcd=e33909c5-68d7-4d16-92c4-5fdf54f0c2c0,task=5066db22-6bc8-4463-91cc-4a82d90ac96c

2012-10-14 01:08:55,427 | WARN     | LocalTaskScheduler-Pool-3 | EventDispatcherImpl            | postEvent called within an active transaction: eventType=com/vmware/vcloud/event/vm/create | vcd=e33909c5-68d7-4d16-92c4-5fdf54f0c2c0,task=5066db22-6bc8-4463-91cc-4a82d90ac96c

2012-10-14 01:08:55,440 | ERROR    | LocalTaskScheduler-Pool-3 | TaskServiceImpl                | Unable to execute task IMPORT_SINGLETON_VAPP(com.vmware.vcloud.entity.task:5066db22-6bc8-4463-91cc-4a82d90ac96c) | vcd=e33909c5-68d7-4d16-92c4-5fdf54f0c2c0,task=5066db22-6bc8-4463-91cc-4a82d90ac96c   <--------------

com.vmware.ssdc.util.LMException: Error

        at com.vmware.ssdc.util.LMException.wrap(LMException.java:129)

        at com.vmware.vcloud.spbm.impl.SpbmServiceImpl.submitSpsRequest(SpbmServiceImpl.java:888)

        at com.vmware.vcloud.spbm.impl.SpbmServiceImpl.associateVmAndDisksWithStorageProfile(SpbmServiceImpl.java:679)

        at com.vmware.vcloud.val.internal.impl.VC20VirtualServer.associateVmAndDisksWithStorageProfile(VC20VirtualServer.java:3631)

        at com.vmware.vcloud.val.internal.impl.VC20VirtualServer.clone(VC20VirtualServer.java:2581)

        at com.vmware.vcloud.fabric.storage.copy.impl.VmCopyServiceImpl.intraVcCopyVm(VmCopyServiceImpl.java:717)

        at com.vmware.vcloud.fabric.storage.copy.impl.VmCopyServiceImpl.copyVm(VmCopyServiceImpl.java:340)

        at com.vmware.vcloud.fabric.storage.copy.impl.VmCopyServiceImpl.copyVms(VmCopyServiceImpl.java:283)

        at com.vmware.vcloud.fabric.storage.copy.impl.VmCopyServiceImpl.copyVm(VmCopyServiceImpl.java:251)

        at com.vmware.vcloud.fabric.storage.storedVm.impl.AbstractCreateStoredVmActivity.copyVmInVc(AbstractCreateStoredVmActivity.java:160)

        at com.vmware.vcloud.fabric.storage.storedVm.impl.CreateFromVCenterVmActivity$FinishImportFromVcPhase.invoke(CreateFromVCenterVmActivity.java:178)

        at com.vmware.vcloud.fabric.foundation.activity.executors.ActivityRunner.run(ActivityRunner.java:123)

        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

        at java.util.concurrent.FutureTask.run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

2012-10-14 01:08:55,486 | INFO     | LocalTaskScheduler-Pool-3 | LocalTask                      | completed executing local task IMPORT_SINGLETON_VAPP(com.vmware.vcloud.entity.task:5066db22-6bc8-4463-91cc-4a82d90ac96c) |

...

0 Kudos
2 Replies
magander
Enthusiast
Enthusiast

Hi,

please post a solution if you get one from VMware support. i'm having the same problem.

//Magnus

0 Kudos
magander
Enthusiast
Enthusiast

i just restarted the storage profile service on the vcenter Server and it was ok.

0 Kudos