[jira] [Commented] (CLOUDSTACK-5883) unable to copy vmware routing template to primary storage

2014-10-14 Thread prashant kumar mishra (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14170865#comment-14170865
 ] 

prashant kumar mishra commented on CLOUDSTACK-5883:
---

facing same issue :
==
014-10-14 19:03:40,774 DEBUG 
[network.router.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
2014-10-14 19:03:40,779 DEBUG [storage.image.TemplateDataFactoryImpl] 
(consoleproxy-1:null) template 8 is already in store:2, type:Image
2014-10-14 19:03:40,780 DEBUG [cloud.storage.VolumeManagerImpl] 
(consoleproxy-1:null) Creating volume from template 8in the zone 1
2014-10-14 19:03:40,793 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 
1-1018036365: Sending  { Cmd , MgmtId: 7204337877055, via: 1, Ver: v1, Flags: 
100111, 
[{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/1/8/,origUrl:http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova,uuid:7f576ed0-53bf-11e4-ab93-068d643f,id:8,format:OVA,accountId:1,checksum:8fde62b1089e5844a9cd3b9b953f9596,hvm:false,displayText:SystemVM
 Template 
(vSphere),imageDataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs://10.147.28.7/export/home/prashant/4.2.1.6_vmware,_role:Image}},name:routing-8,hypervisorType:VMware}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{origUrl:http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova,uuid:7f576ed0-53bf-11e4-ab93-068d643f,id:8,format:OVA,accountId:1,checksum:8fde62b1089e5844a9cd3b9b953f9596,hvm:false,displayText:SystemVM
 Template 
(vSphere),imageDataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:4ebfb2e7-9c62-31a1-a94f-43e285f334c8,id:2,poolType:NetworkFilesystem,host:10.147.28.7,path:/export/home/prashant/pm1,port:2049}},name:routing-8,hypervisorType:VMware}},executeInSequence:true,wait:10800}}]
 }
2014-10-14 19:03:40,799 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 
1-1018036365: Executing:  { Cmd , MgmtId: 7204337877055, via: 1, Ver: v1, 
Flags: 100111, 
[{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/1/8/,origUrl:http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova,uuid:7f576ed0-53bf-11e4-ab93-068d643f,id:8,format:OVA,accountId:1,checksum:8fde62b1089e5844a9cd3b9b953f9596,hvm:false,displayText:SystemVM
 Template 
(vSphere),imageDataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs://10.147.28.7/export/home/prashant/4.2.1.6_vmware,_role:Image}},name:routing-8,hypervisorType:VMware}},destTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{origUrl:http://download.cloud.com/templates/4.2/systemvmtemplate-4.2-vh7.ova,uuid:7f576ed0-53bf-11e4-ab93-068d643f,id:8,format:OVA,accountId:1,checksum:8fde62b1089e5844a9cd3b9b953f9596,hvm:false,displayText:SystemVM
 Template 
(vSphere),imageDataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:4ebfb2e7-9c62-31a1-a94f-43e285f334c8,id:2,poolType:NetworkFilesystem,host:10.147.28.7,path:/export/home/prashant/pm1,port:2049}},name:routing-8,hypervisorType:VMware}},executeInSequence:true,wait:10800}}]
 }
2014-10-14 19:03:40,797 DEBUG [storage.image.TemplateDataFactoryImpl] 
(consoleproxy-1:null) template 8 is already in store:2, type:Primary
2014-10-14 19:03:40,802 DEBUG [storage.volume.VolumeServiceImpl] 
(consoleproxy-1:null) Found template routing-8 in storage pool 2 with 
VMTemplateStoragePool id: 33
2014-10-14 19:03:40,803 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-70:null) Seq 1-1018036365: Executing request
2014-10-14 19:03:40,804 INFO  [storage.resource.VmwareStorageProcessor] 
(DirectAgent-70:10.147.40.7, cmd: CopyCommand) Template mount point: 
template/tmpl/1/8/, name: routing-8
2014-10-14 19:03:40,809 DEBUG [storage.volume.VolumeServiceImpl] 
(consoleproxy-1:null) Acquire lock on VMTemplateStoragePool 33 with timeout 
3600 seconds
2014-10-14 19:03:40,895 DEBUG 
[network.router.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:null) Found 0 routers to update status.
2014-10-14 19:03:40,898 DEBUG 
[network.router.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
2014-10-14 19:03:40,932 INFO  [storage.resource.VmwareStorageProcessor] 
(DirectAgent-70:10.147.40.7, cmd: CopyCommand) Template routing-8 is not setup 
yet, setup template from secondary storage with uuid name: 
a125168264ee3509a169cf05964ec66c
2014-10-14 19:03:41,007 INFO  [storage.resource.VmwareStorageProcessor] 
(DirectAgent-70:10.147.40.7, cmd: CopyCommand) Executing 
copyTemplateFromSecondaryToPrimary. secondaryStorage: 
nfs://10.147.28.7/export/home/prashant/4.2.1.6_vmware, 
templatePathAtSecondaryStorage: template/tmpl/1/8/, templateName: routing-8
2014-10-14 19:03:41,007 INFO  

[jira] [Commented] (CLOUDSTACK-5883) unable to copy vmware routing template to primary storage

2014-02-19 Thread Sudha Ponnaganti (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13905936#comment-13905936
 ] 

Sudha Ponnaganti commented on CLOUDSTACK-5883:
--

Praveena,

The template you are using is incorrect. You need to use the one from 
download.cloud.com
thanks
/sudha

 unable to copy vmware routing template to primary storage
 -

 Key: CLOUDSTACK-5883
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5883
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.3.0
 Environment: CloudStack
 branch 4.3, 9ed4ab731fc5d722e3e0b819958ec8a2f4beccdb
 vCenter vApp: vSphere 5.1 
 Hypervisor: VMware ESXi, 5.1.0, 799733
Reporter: Hugo Trippaers
Assignee: Animesh Chaturvedi
Priority: Blocker
 Fix For: 4.3.0


 The following error is observed while doing a clean installation:
 2014-01-16 10:22:00,521 ERROR [c.c.s.r.VmwareStorageProcessor] 
 (DirectAgent-6:ctx-a6667180 10.200.23.49) Unable to copy templa
 te to primary storage due to exception:Exception: 
 javax.xml.ws.soap.SOAPFaultException
 Message:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 javax.xml.ws.soap.SOAPFaultException:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 at 
 com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
 at 
 com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:119)
 at 
 com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CLOUDSTACK-5883) unable to copy vmware routing template to primary storage

2014-02-19 Thread Animesh Chaturvedi (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13906329#comment-13906329
 ] 

Animesh Chaturvedi commented on CLOUDSTACK-5883:


Hugo,

We had fixed the templates to be used in 4.3 and reflected the links in 
database after uploading to download.cloud.com 
Here are the links:

HyperV: 
http://download.cloud.com/templates/4.3/systemvm64template-2013-12-23-hyperv.vhd.bz2
 
KVM: 
http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2
 
VMWare: 
http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-vmware.ova
 
Xen: 
http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2

Unless there is a discussed change that requires updating the templates we use 
these published templates.



 unable to copy vmware routing template to primary storage
 -

 Key: CLOUDSTACK-5883
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5883
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.3.0
 Environment: CloudStack
 branch 4.3, 9ed4ab731fc5d722e3e0b819958ec8a2f4beccdb
 vCenter vApp: vSphere 5.1 
 Hypervisor: VMware ESXi, 5.1.0, 799733
Reporter: Hugo Trippaers
Assignee: Animesh Chaturvedi
Priority: Blocker
 Fix For: 4.3.0


 The following error is observed while doing a clean installation:
 2014-01-16 10:22:00,521 ERROR [c.c.s.r.VmwareStorageProcessor] 
 (DirectAgent-6:ctx-a6667180 10.200.23.49) Unable to copy templa
 te to primary storage due to exception:Exception: 
 javax.xml.ws.soap.SOAPFaultException
 Message:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 javax.xml.ws.soap.SOAPFaultException:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 at 
 com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
 at 
 com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:119)
 at 
 com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CLOUDSTACK-5883) unable to copy vmware routing template to primary storage

2014-01-21 Thread praveena palaniswamy (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13878361#comment-13878361
 ] 

praveena palaniswamy commented on CLOUDSTACK-5883:
--

I am working with the latest code base (4.3) with Vmware Vsphere 5.1 and 5.5 
and in both environments, I face the same error even after using the latest 
template from jenkins server

parsing HTTP request for method importVApp
on object of type vim.ResourcePool
at line 1, column 0
at 
com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
at 
com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:119)
at 
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
at 
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:129)
at com.sun.proxy.$Proxy390.importVApp(Unknown Source)
at 
com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:1336)
at 
com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:752)
at 
com.cloud.storage.resource.VmwareStorageProcessor.copyTemplateFromSecondaryToPrimary(VmwareStorageProcessor.java:161)
at 
com.cloud.storage.resource.VmwareStorageProcessor.copyTemplateToPrimaryStorage(VmwareStorageProcessor.java:221)
at 
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
at 
com.cloud.storage.resource.VmwareStorageSubsystemCommandHandler.execute(VmwareStorageSubsystemCommandHandler.java:160)
at 
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
at 
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:550)
at 
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
INFO  [o.a.c.s.v.VolumeServiceImpl] (secstorage-1:ctx-a74d3356) releasing lock 
for VMTemplateStoragePool 8
WARN  [c.c.u.d.Merovingian2] (secstorage-1:ctx-a74d3356) Was unable to find 
lock for the key template_spool_ref8 and thread id 1940175072
INFO  [c.c.v.VirtualMachineManagerImpl] (secstorage-1:ctx-a74d3356) Unable to 
contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create Vol[4|vm=4|ROOT]:Unable to copy template to 
primary storage due to exception:Exception: javax.xml.ws.soap.SOAPFaultException
Message:
Required parameter spec is missing
 
while parsing call information for method ImportVApp
at line 1, column 110
 
while parsing SOAP body
at line 1, column 102
 
while parsing SOAP envelope
at line 1, column 38
 
while parsing HTTP request for method importVApp
on object of type vim.ResourcePool
at line 1, column 0
 
at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1193)
at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1245)
at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
at 

[jira] [Commented] (CLOUDSTACK-5883) unable to copy vmware routing template to primary storage

2014-01-20 Thread Animesh Chaturvedi (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13876662#comment-13876662
 ] 

Animesh Chaturvedi commented on CLOUDSTACK-5883:


Sure Hugo go ahead merge it in. Now that we are getting closer to RC I will 
create a temporary 4.3 branch for fixes

 unable to copy vmware routing template to primary storage
 -

 Key: CLOUDSTACK-5883
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5883
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.3.0
 Environment: CloudStack
 branch 4.3, 9ed4ab731fc5d722e3e0b819958ec8a2f4beccdb
 vCenter vApp: vSphere 5.1 
 Hypervisor: VMware ESXi, 5.1.0, 799733
Reporter: Hugo Trippaers
Assignee: Animesh Chaturvedi
Priority: Blocker
 Fix For: 4.3.0


 The following error is observed while doing a clean installation:
 2014-01-16 10:22:00,521 ERROR [c.c.s.r.VmwareStorageProcessor] 
 (DirectAgent-6:ctx-a6667180 10.200.23.49) Unable to copy templa
 te to primary storage due to exception:Exception: 
 javax.xml.ws.soap.SOAPFaultException
 Message:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 javax.xml.ws.soap.SOAPFaultException:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 at 
 com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
 at 
 com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:119)
 at 
 com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CLOUDSTACK-5883) unable to copy vmware routing template to primary storage

2014-01-20 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13877294#comment-13877294
 ] 

ASF subversion and git services commented on CLOUDSTACK-5883:
-

Commit 28b5d0a9ed4e87b93626d2f2cf3dc30eb02d9192 in branch refs/heads/4.3 from 
[~htrippaers]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=28b5d0a ]

CLOUDSTACK-5883 Convert ovf file to proper format for ESXi

Virtualbox export creates an OVF file that is not compatible with VMware import 
functions. This causes import errors when the systemvm ova is imported into 
cloudstack. This patch fixes the issue by using an XSLT transformation to 
convert the generated ovf into a format this is compatible with vmware.

This is a squashed commit Based on the following commits in master:
794d47c5f279bc8cbd212d9dd87673b8302de9db 
bf26efc551e56d21a24049952ebe81f9686df5ec 
5d24843ef59b4d28a9a81ade4510c44b2a048b06 
95a92ad2e3e7a8ceade4e5cd2e4ebd717c1cc2ab 
da8ee45a249f89f2ef2a74d225854b37785f6922 
50054fe0603673d04655362ea515d3b5c5bb3610 
50054fe0603673d04655362ea515d3b5c5bb3610 
ecf57c368a9790e28e47bb83b51201763bd2b1ef


 unable to copy vmware routing template to primary storage
 -

 Key: CLOUDSTACK-5883
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5883
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.3.0
 Environment: CloudStack
 branch 4.3, 9ed4ab731fc5d722e3e0b819958ec8a2f4beccdb
 vCenter vApp: vSphere 5.1 
 Hypervisor: VMware ESXi, 5.1.0, 799733
Reporter: Hugo Trippaers
Assignee: Animesh Chaturvedi
Priority: Blocker
 Fix For: 4.3.0


 The following error is observed while doing a clean installation:
 2014-01-16 10:22:00,521 ERROR [c.c.s.r.VmwareStorageProcessor] 
 (DirectAgent-6:ctx-a6667180 10.200.23.49) Unable to copy templa
 te to primary storage due to exception:Exception: 
 javax.xml.ws.soap.SOAPFaultException
 Message:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 javax.xml.ws.soap.SOAPFaultException:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 at 
 com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
 at 
 com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:119)
 at 
 com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CLOUDSTACK-5883) unable to copy vmware routing template to primary storage

2014-01-16 Thread Hugo Trippaers (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13873294#comment-13873294
 ] 

Hugo Trippaers commented on CLOUDSTACK-5883:


createImportSpec doesn't return null on error, but returns errors and warning 
in the result object. Modified the code to deal with errors properly. Error and 
warning are now logged and errors throw a CloudException.

The real error causing the error in this ticket is 'Unsupported hardware family 
'virtualbox-2.2''. This appears to be something what needs fixing in the image 
build system. 

2014-01-16 12:29:05,981 ERROR [c.c.h.v.m.HypervisorHostHelper] 
(DirectAgent-5:ctx-037f832f 10.200.23.49) createImportSpec error: Line 1: 
Unsupported hardware family 'virtualbox-2.2'.

2014-01-16 12:29:05,986 ERROR [c.c.s.r.VmwareStorageProcessor] 
(DirectAgent-5:ctx-037f832f 10.200.23.49) Unable to copy template to primary 
storage due to exception:Exception: com.cloud.exception.CloudException
Message: Failed to create an import spec from 
/var/cloudstack/mnt/VM/345052423368.1422f946/template/tmpl/1/8/systemvmtemplate-2014-01-15-master-vmware.ovf.
 Check log for details.

com.cloud.exception.CloudException: Failed to create an import spec from 
/var/cloudstack/mnt/VM/345052423368.1422f946/template
/tmpl/1/8/systemvmtemplate-2014-01-15-master-vmware.ovf. Check log for details.
at 
com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:1341)
at 
com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:752)
at 
com.cloud.storage.resource.VmwareStorageProcessor.copyTemplateFromSecondaryToPrimary(VmwareStorageProcessor.java:16
1)
  

 unable to copy vmware routing template to primary storage
 -

 Key: CLOUDSTACK-5883
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5883
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.3.0
 Environment: CloudStack
 branch 4.3, 9ed4ab731fc5d722e3e0b819958ec8a2f4beccdb
 vCenter vApp: vSphere 5.1 
 Hypervisor: VMware ESXi, 5.1.0, 799733
Reporter: Hugo Trippaers
Priority: Blocker
 Fix For: 4.3.0


 The following error is observed while doing a clean installation:
 2014-01-16 10:22:00,521 ERROR [c.c.s.r.VmwareStorageProcessor] 
 (DirectAgent-6:ctx-a6667180 10.200.23.49) Unable to copy templa
 te to primary storage due to exception:Exception: 
 javax.xml.ws.soap.SOAPFaultException
 Message:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 javax.xml.ws.soap.SOAPFaultException:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 at 
 com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
 at 
 com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:119)
 at 
 com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CLOUDSTACK-5883) unable to copy vmware routing template to primary storage

2014-01-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13873397#comment-13873397
 ] 

ASF subversion and git services commented on CLOUDSTACK-5883:
-

Commit 98e529af41fa0a1f8ced6c674848e2130fbb0eb6 in branch refs/heads/master 
from [~htrippaers]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=98e529a ]

CLOUDSTACK-5883 Improve error handling to get the real error


 unable to copy vmware routing template to primary storage
 -

 Key: CLOUDSTACK-5883
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5883
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.3.0
 Environment: CloudStack
 branch 4.3, 9ed4ab731fc5d722e3e0b819958ec8a2f4beccdb
 vCenter vApp: vSphere 5.1 
 Hypervisor: VMware ESXi, 5.1.0, 799733
Reporter: Hugo Trippaers
Assignee: Hugo Trippaers
Priority: Blocker
 Fix For: 4.3.0


 The following error is observed while doing a clean installation:
 2014-01-16 10:22:00,521 ERROR [c.c.s.r.VmwareStorageProcessor] 
 (DirectAgent-6:ctx-a6667180 10.200.23.49) Unable to copy templa
 te to primary storage due to exception:Exception: 
 javax.xml.ws.soap.SOAPFaultException
 Message:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 javax.xml.ws.soap.SOAPFaultException:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 at 
 com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
 at 
 com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:119)
 at 
 com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CLOUDSTACK-5883) unable to copy vmware routing template to primary storage

2014-01-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13873398#comment-13873398
 ] 

ASF subversion and git services commented on CLOUDSTACK-5883:
-

Commit 794d47c5f279bc8cbd212d9dd87673b8302de9db in branch refs/heads/master 
from [~htrippaers]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=794d47c ]

CLOUDSTACK-5883 Convert ovf file to proper format for ESXi


 unable to copy vmware routing template to primary storage
 -

 Key: CLOUDSTACK-5883
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5883
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.3.0
 Environment: CloudStack
 branch 4.3, 9ed4ab731fc5d722e3e0b819958ec8a2f4beccdb
 vCenter vApp: vSphere 5.1 
 Hypervisor: VMware ESXi, 5.1.0, 799733
Reporter: Hugo Trippaers
Assignee: Hugo Trippaers
Priority: Blocker
 Fix For: 4.3.0


 The following error is observed while doing a clean installation:
 2014-01-16 10:22:00,521 ERROR [c.c.s.r.VmwareStorageProcessor] 
 (DirectAgent-6:ctx-a6667180 10.200.23.49) Unable to copy templa
 te to primary storage due to exception:Exception: 
 javax.xml.ws.soap.SOAPFaultException
 Message:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 javax.xml.ws.soap.SOAPFaultException:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 at 
 com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
 at 
 com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:119)
 at 
 com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CLOUDSTACK-5883) unable to copy vmware routing template to primary storage

2014-01-16 Thread Animesh Chaturvedi (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13873965#comment-13873965
 ] 

Animesh Chaturvedi commented on CLOUDSTACK-5883:


Hugo I assume this can be resolved

 unable to copy vmware routing template to primary storage
 -

 Key: CLOUDSTACK-5883
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5883
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.3.0
 Environment: CloudStack
 branch 4.3, 9ed4ab731fc5d722e3e0b819958ec8a2f4beccdb
 vCenter vApp: vSphere 5.1 
 Hypervisor: VMware ESXi, 5.1.0, 799733
Reporter: Hugo Trippaers
Assignee: Hugo Trippaers
Priority: Blocker
 Fix For: 4.3.0


 The following error is observed while doing a clean installation:
 2014-01-16 10:22:00,521 ERROR [c.c.s.r.VmwareStorageProcessor] 
 (DirectAgent-6:ctx-a6667180 10.200.23.49) Unable to copy templa
 te to primary storage due to exception:Exception: 
 javax.xml.ws.soap.SOAPFaultException
 Message:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 javax.xml.ws.soap.SOAPFaultException:
 Required parameter spec is missing
 while parsing call information for method ImportVApp
 at line 1, column 110
 while parsing SOAP body
 at line 1, column 102
 while parsing SOAP envelope
 at line 1, column 38
 while parsing HTTP request for method importVApp
 on object of type vim.ResourcePool
 at line 1, column 0
 at 
 com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
 at 
 com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:119)
 at 
 com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)