[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-19 Thread Abhinandan Prateek (JIRA)

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

Abhinandan Prateek commented on CLOUDSTACK-1867:


http://aprateek.com/store/systemvmtemplate-4.2.ova

The VMWare systemVM template works fine after a related fix CLOUDSTACK-2118.

 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Abhinandan Prateek
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, SystemVMFailureonVMware.PNG, 
 systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-6:null) Seq 5-37990: Response Received:
 2013-04-01 11:16:34,836 DEBUG [agent.transport.Request] (DirectAgent-6:null) 
 Seq 5-37990: Processing:  { Ans: , MgmtId: 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-18 Thread Abhinandan Prateek (JIRA)

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

Abhinandan Prateek commented on CLOUDSTACK-1867:


Following changes were made by Sateesh to the default generated template:

http://10.147.28.7/templates/campo/templates/New/systemvmtemplate-4.2.ova

1)  It’s targeted for virtual box – Need to update to be compatible with 
VMware. Added xml namespace for vmware ovf and updated the descriptor file.
2)  It has 2 cd rom drives – 1 cd rom drive would suffice.
3)  It has SATA controller as hard disk controller – It has to be SCSI 
controller of sub type lsilogic.

After this the VM came up, but the cdrom was linked to cdrom3 and that failed 
in cloud early config while the systemvm iso was mounted.

This is fixed and currently the template is under test.

 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Abhinandan Prateek
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, SystemVMFailureonVMware.PNG, 
 systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-18 Thread Rohit Yadav (JIRA)

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

Rohit Yadav commented on CLOUDSTACK-1867:
-

Can Sateesh or Abhi share the ovf/xml fix, if we can commit that in the tree 
and automate the fix in the jenkins build. I can help do that this weekend.
Next, we remove the file and mkdir a dir which is a hack to not allow any 
process to create the persisitent net rule, this is in cleanup.sh in the system 
vm definitions. Let me know if we need to remove it. Cheers.

 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Abhinandan Prateek
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, SystemVMFailureonVMware.PNG, 
 systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-16 Thread Abhinandan Prateek (JIRA)

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

Abhinandan Prateek commented on CLOUDSTACK-1867:


As per Rohit Chandan can you check:

Pl. check that the ova you've downloaded is not corrupt from the 
md5checksum.txt in that folder.
I'm able to start the vms after importing them to VMWare.

Chandan, can you:
- Share the VMWare host version
- Confirm the downloaded ova is not corrupt
- Try with the template which has openvmtools?
- Try to manually deploy the ova on VMWare, just to verify if it gets imported 
and starts?


 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, SystemVMFailureonVMware.PNG, 
 systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-12 Thread Chandan Purushothama (JIRA)

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

Chandan Purushothama commented on CLOUDSTACK-1867:
--

I verified that md5sum Information of the Template I used. It matches that of 
the one mentioned in md5checksum.txt

[root@nfs2 8]# md5sum e7e828f1-af4c-4e44-a3d2-1e73ac36c850.ova
e6c1efad2e9446e12726b73d3ecdd1f9  e7e828f1-af4c-4e44-a3d2-1e73ac36c850.ova
[root@nfs2 8]#


In 
http://people.apache.org/~bhaisaab/cloudstack/systemvmtemplates/md5checksum.txt:

MD5 (systemvmtemplate-openvmtools-vmware.ova) = 406e9b3dae3ff2e8ee06cf461828cb06
MD5 (systemvmtemplate-vmwaretools-vmware.ova) = e6c1efad2e9446e12726b73d3ecdd1f9

The VMWare Host Version that I used is ESXi 5.0.0, 469512

Thank you,
Chandan.



 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, SystemVMFailureonVMware.PNG, 
 systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-11 Thread Rohit Yadav (JIRA)

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

Rohit Yadav commented on CLOUDSTACK-1867:
-

Hey Swamy or Chandan, can you try again? I saw 
https://issues.apache.org/jira/secure/attachment/12578288/SystemVMFailureonVMware.PNG
It suggests that pxe booting was tried, I'm not sure how systemvms are 
deployed, do we use pxe booting? I tested the old vmware systemvms's vmx file 
against the new one, I don't see anything unusual and don't know what's causing 
the pxe booting and the os not found errors.

 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, SystemVMFailureonVMware.PNG, 
 systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-10 Thread Venkata Siva Vijayendra Bhamidipati (JIRA)

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

Venkata Siva Vijayendra Bhamidipati commented on CLOUDSTACK-1867:
-

Rohit, the VPC feature needs dynamic plumbing of vNICs in the router VM on ESX, 
and that is supported only by the vmware supplied vmware tools. The burbank 
(3.0.5) template was generated after installing vmware tools in the base OS. As 
I see it, the above system template that's being built will also need to 
incorporate the step of installing the vmware tools, else functionality will 
break.

Here are the steps to install vmware tools, can you see if you can script them 
into the system template generation you've put in?

step 1. Setup networking on the base vm.
a) Edit /etc/network/interfaces
b) Edit /etc/resolv.conf with two new lines:
nameserver 10.223.110.254 (use the appropriate nameserver for 
your setup)
nameserver 10.223.110.253

step 2. Run sudo apt-get update

Step 3. Run sudo apt-get install build-essential
-- This will install gcc/make and other tools that vmware tools 
needs.
However, you will need to run the following command in addition, 
because the vmware tools installer will complain giving a message: The path 
/usr/bin/gcc is not valid path to the gcc binary..

sudo apt-get install gcc-4.3 linux-headers-`uname -r` -y



Step 4. Now right click on vCenter, click on install vmwaretools.
-- This will mount a virtual disk on the guest VM's 
/dev/cdrom/. This virtual disk has the vmware tools s/w.

Step 5. Run:
mount /dev/cdrom /mnt
cd /mnt
cp *.tar.gz /tmp/
cd /tmp
tar xzf VMwareTools-8.6.0-425873.tar.gz
cd vmware-tools-distrib

./vmware-install.pl  -- Just go on choosing defaults.


Step 6. Reboot the VM.


Step 7. Now, remove the nameserver entries you made in /etc/resolv.conf. Don't 
worry about the static ip config you put in into /etc/network/interfaces - that 
doesn't get included in the template.

Step 8. Run umount /dev/cdrom. This won't be mounted anyway since we rebooted 
the VM post vmware-tools installation.

Step 9. Right click in vCenter, on the VM, edit settings, select CD/DVD drive 1 
and uncheck the box under Device Status that says Connected, click Ok.

Step 10. Do a graceful shutdown of the VM using halt/shutdown.

Step 11. Now when the VM is fully down, in vCenter, select this VM, click on 
File in the vCenter main menu, then Export - Export OVF Template.., and give 
a name and directory (on the system where your vCenter server runs). Eventually 
the template procedure will complete.

 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-10 Thread Rohit Yadav (JIRA)

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

Rohit Yadav commented on CLOUDSTACK-1867:
-

Vijay, if you see tools/appliance/definitions/systemvmtemplate/postinstall.sh; 
we are installing open vmware tools, pl. check if they would suffice as what 
you're suggesting may not be automated and introduces nonoss deps which is not 
free to download/install/use;
apt-get --no-install-recommends -q -y --force-yes install open-vm-tools

Checkout the postinstall.sh, if you want me to install any other deps let me 
know or pl. go ahead and add the install rules and commit.
I've gotten the buildjob running again;
http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/119/

Since, these steps cannot be done automatically using vCenter (let me know if 
there is any free or opensource tool to do that), what I can do is export a 
vmdk which you can import and export an ova manually. In that case, we will 
have an automated buildjob for xen and kvm but you or someone has to become ova 
appliance maintainer.

 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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)
 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-10 Thread Rohit Yadav (JIRA)

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

Rohit Yadav commented on CLOUDSTACK-1867:
-

Hey Vijay, I'm going ahead and exporting vmdk instead of ova on the buildjob. 
Let me know if you would be able to take up this issue and try to find a way to 
automate this, or if it's not possible as anticipated become the vmware ova 
systemvm appliance maintainer and assign the ticket to yourself?
Cheers.

 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-6:null) Seq 5-37990: Response Received:
 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-10 Thread ASF subversion and git services (JIRA)

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

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

Commit 643ee1d15e27e9974e3cb40fac160805e46cbd55 in branch refs/heads/master 
from [~bhaisaab]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=643ee1d ]

CLOUDSTACK-1867: Export both ova and vmdk systemvm appliances for VMWare

Signed-off-by: Rohit Yadav bhais...@apache.org


 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-6:null) Seq 5-37990: 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-10 Thread Rohit Yadav (JIRA)

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

Rohit Yadav commented on CLOUDSTACK-1867:
-

Decided to export both ova and vmdk; building now; 
http://jenkins.cloudstack.org/view/All/job/build-systemvm-master/120/console
I'll try those steps shared by Vijay on VMWare Fusion as I don't have any 
server resource/hypervisor.


 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-6:null) Seq 5-37990: Response Received:
 2013-04-01 11:16:34,836 DEBUG [agent.transport.Request] (DirectAgent-6:null) 
 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-10 Thread Rohit Yadav (JIRA)

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

Rohit Yadav commented on CLOUDSTACK-1867:
-

Huh, I've automated the vmware tool installation using the archive; 
http://people.apache.org/~bhaisaab/cloudstack/VMwareTools-9.2.1-818201.tar.gz
So, the only step needed manually is to import the vmdk in VMWare Fusion, fix 
settings and export ova.

 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-6:null) Seq 5-37990: Response Received:
 2013-04-01 11:16:34,836 DEBUG [agent.transport.Request] 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-10 Thread ASF subversion and git services (JIRA)

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

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

Commit 26d772f74054962cf847336d0680eff946647ef9 in branch refs/heads/master 
from [~bhaisaab]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=26d772f ]

CLOUDSTACK-1867: Install vmwaretools while buildling systemvms

Signed-off-by: Rohit Yadav bhais...@apache.org


 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-6:null) Seq 5-37990: Response 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-10 Thread Rohit Yadav (JIRA)

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

Rohit Yadav commented on CLOUDSTACK-1867:
-

I've updated the workaround for vmware:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Build+Your+Own+SystemVM+Templates#BuildYourOwnSystemVMTemplates-BuildingandTesting

Instead of vmwaretools, the preinstalled appliance will have open-vm-tools 
which is vmware-tools alternative and should work.

 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-6:null) Seq 5-37990: Response Received:
 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-10 Thread ASF subversion and git services (JIRA)

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

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

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

CLOUDSTACK-1867: Comment vmware-tools installation, use open-vm-tools

Signed-off-by: Rohit Yadav bhais...@apache.org


 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-6:null) Seq 5-37990: 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-10 Thread Rohit Yadav (JIRA)

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

Rohit Yadav commented on CLOUDSTACK-1867:
-

Something went wrong with the build slave, rebooted the machine and started a 
build job; it's taking a lot of time now, hope this will succeed:
http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/131/console

Will check it tomorrow and then share the ova appliance.

 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-6:null) Seq 5-37990: Response Received:
 2013-04-01 11:16:34,836 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-10 Thread ASF subversion and git services (JIRA)

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

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

Commit ed79b8bf140196a169a89021a4d02747d5312ad8 in branch 
refs/heads/affinity_groups from [~bhaisaab]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ed79b8b ]

CLOUDSTACK-1867: Comment vmware-tools installation, use open-vm-tools

Signed-off-by: Rohit Yadav bhais...@apache.org


 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-6:null) Seq 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-09 Thread Rohit Yadav (JIRA)

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

Rohit Yadav commented on CLOUDSTACK-1867:
-

Sharing quick anticipated solution;
1. Export ova from vbox/veewee (as we do it now)
2. Extract the ova container, it contains a vmdk (disk image) and a ovf file 
(ovf contains metadata etc.)
3. Fix the ovf file, replace vbox specific string with vmware compliant strings 
(like namespaces)
4. Using ovftool (vmware's proprietary tool, I tried alternative but using it 
as it is supported on mac/linux/windows) rewrite ovf, convert to vmx
5. Repackage vmdk+vmx as ova, hope that vmware esxi/fusion will read it and 
systemvm for vmware would work

More on this later, stay tuned :)
Cheers.

 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-09 Thread Chandan Purushothama (JIRA)

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

Chandan Purushothama commented on CLOUDSTACK-1867:
--

Hello Rohit,

May I know what are the vmware complaint strings that can be used to replace 
the vbox specific strings in the 3rd Step. I am trying to check if I can 
manually execute this procedure and check the vmware specific System VM 
Template's validity,

Thank you,
Chandan.


 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-6:null) Seq 5-37990: Response Received:
 2013-04-01 

[jira] [Commented] (CLOUDSTACK-1867) [VMware] [SystemVMTemplate] is not working with latest cloudstack master

2013-04-02 Thread Rohit Yadav (JIRA)

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

Rohit Yadav commented on CLOUDSTACK-1867:
-

This is same as: https://issues.apache.org/jira/browse/CLOUDSTACK-1774
I just need to unzip ova, convert ovf to vmx and repackage using ovftool... You 
may do that manually, or I can try to automate this on j.c.o later.

 [VMware] [SystemVMTemplate] is not working with latest cloudstack master
 

 Key: CLOUDSTACK-1867
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1867
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Management Server
Affects Versions: 4.2.0
 Environment: commit # 355589c1f0c583cbbdc601f74dba504064f81bac
 - Advanced zone with VMware cluster
Reporter: venkata swamybabu budumuru
Assignee: Rohit Yadav
Priority: Blocker
 Fix For: 4.2.0

 Attachments: logs.01.tgz, systemvmTemplate.JPG, xml.txt


 Steps to reproduce :
 1. Took the latest system vm template from jenkins 
 http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-03-27-master-vmware.ova
 2. Seeded the above template using the following 
 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
  -m /tmp/1/secondary.campo.vmw.GOLD/ -u 
 http://10.147.28.7/templates/campo/templates/systemvmtemplate-2013-03-27-master-vmware.ova
  -h vmware -F
 3. Tried to bring up the advanced zone using ESXi 5.1 
 Observations : 
 (i) Found the following error in vmops.log
 2013-04-01 11:16:33,856 INFO  [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Secondary storage mount point: 
 /mnt/VM/7280707764394.cc4bce7
 2013-04-01 11:16:33,863 DEBUG [cloud.alert.AlertManagerImpl] 
 (CapacityChecker:null) Done running Capacity Checker ...
 2013-04-01 11:16:34,832 ERROR [vmware.manager.VmwareStorageManagerImpl] 
 (DirectAgent-6:10.147.40.12) Unable to execute PrimaryStorageDownloadCommand 
 due to exception
 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)
 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:107)
 at sun.proxy.$Proxy89.importVApp(Unknown Source)
 at 
 com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.importVmFromOVF(HypervisorHostHelper.java:995)
 at 
 com.cloud.hypervisor.vmware.mo.HostMO.importVmFromOVF(HostMO.java:681)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:478)
 at 
 com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:153)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3660)
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
 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$101(ScheduledThreadPoolExecutor.java:165)
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:679)
 2013-04-01 11:16:34,836 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-6:null) Seq 5-37990: Response Received:
 2013-04-01 11:16:34,836 DEBUG [agent.transport.Request] (DirectAgent-6:null) 
 Seq