[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)

Reply via email to