[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chandan Purushothama reopened CLOUDSTACK-1262:
----------------------------------------------

      Assignee: Pradeep Soundararajan  (was: Chandan Purushothama)

This bug resurfaced again. Looks like my explanation given above is invalid. 
Pradeep, Do you think it is due to the removal of the patch?

2013-03-01 15:25:57,402 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Looking for vms/systemvm.iso
2013-03-01 15:25:57,402 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Current binaries reside at 
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib
2013-03-01 15:25:57,402 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Looking for vms/systemvm.iso in 
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/vms/systemvm.iso
2013-03-01 15:25:57,402 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Looking for vms/systemvm.iso in 
/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/vms/systemvm.iso
2013-03-01 15:25:57,402 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Looking for vms/systemvm.iso in 
/usr/share/cloudstack-management/webapps/client/WEB-INF/vms/systemvm.iso
2013-03-01 15:25:57,402 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Looking for vms/systemvm.iso in 
/usr/share/cloudstack-management/webapps/client/vms/systemvm.iso
2013-03-01 15:25:57,402 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Looking for vms/systemvm.iso in 
/usr/share/cloudstack-management/webapps/vms/systemvm.iso
2013-03-01 15:25:57,402 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Looking for vms/systemvm.iso in 
/usr/share/cloudstack-management/vms/systemvm.iso
2013-03-01 15:25:57,402 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Looking for vms/systemvm.iso in 
/usr/share/vms/systemvm.iso
2013-03-01 15:25:57,402 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Looking for vms/systemvm.iso in 
/usr/vms/systemvm.iso
2013-03-01 15:25:57,402 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Looking for vms/systemvm.iso in /vms/systemvm.iso
2013-03-01 15:25:57,402 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Searching in environment.properties
2013-03-01 15:25:57,403 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) environment.properties says scripts should be in 
/usr/share/cloudstack-common
2013-03-01 15:25:57,403 DEBUG [utils.script.Script] 
(DirectAgent-23:10.223.59.66) Looking for vms/systemvm.iso in 
/usr/share/cloudstack-common/vms/systemvm.iso
2013-03-01 15:25:57,403 DEBUG [cloud.server.ConfigurationServerImpl] 
(DirectAgent-23:10.223.59.66) Executing: 
/usr/share/cloudstack-common/scripts/vm/systemvm/injectkeys.sh 
/var/cloudstack/management/.ssh/id_rsa.pub 
/var/cloudstack/management/.ssh/id_rsa 
/usr/share/cloudstack-common/vms/systemvm.iso
2013-03-01 15:26:02,186 DEBUG [cloud.server.ConfigurationServerImpl] 
(DirectAgent-23:10.223.59.66) Execution is successful.
2013-03-01 15:26:03,304 ERROR [vmware.manager.VmwareManagerImpl] 
(DirectAgent-23:10.223.59.66) Unexpected exception
java.io.FileNotFoundException: /usr/lib/cloud/common/vms/systemvm.iso (No such 
file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:137)
        at com.cloud.utils.FileUtil.copyfile(FileUtil.java:68)
        at 
com.cloud.hypervisor.vmware.manager.VmwareManagerImpl.prepareSecondaryStorageStore(VmwareManagerImpl.java:496)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at 
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at 
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at 
com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:54)
        at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at 
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
        at 
com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2149)
        at 
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:427)
        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:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-03-01 15:26:03,305 ERROR [vmware.manager.VmwareManagerImpl] 
(DirectAgent-23:10.223.59.66) Unable to copy systemvm ISO on secondary storage. 
src location: /usr/lib/cloud/common/vms/systemvm.iso, dest location: 
/var/cloudstack/mnt/VMSNAPSHOT/7647994577963.6042b445/systemvm/systemvm-4.2.0-SNAPSHOT.iso
2013-03-01 15:26:03,430 WARN  [vmware.resource.VmwareResource] 
(DirectAgent-23:10.223.59.66) StartCommand failed due to Exception: 
com.cloud.utils.exception.CloudRuntimeException
Message: Unable to copy systemvm ISO on secondary storage. src location: 
/usr/lib/cloud/common/vms/systemvm.iso, dest location: 
/var/cloudstack/mnt/VMSNAPSHOT/7647994577963.6042b445/systemvm/systemvm-4.2.0-SNAPSHOT.iso

com.cloud.utils.exception.CloudRuntimeException: Unable to copy systemvm ISO on 
secondary storage. src location: /usr/lib/cloud/common/vms/systemvm.iso, dest 
location: 
/var/cloudstack/mnt/VMSNAPSHOT/7647994577963.6042b445/systemvm/systemvm-4.2.0-SNAPSHOT.iso
        at 
com.cloud.hypervisor.vmware.manager.VmwareManagerImpl.prepareSecondaryStorageStore(VmwareManagerImpl.java:502)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at 
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at 
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
        at 
com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:54)
        at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
        at 
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
        at 
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at 
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
        at 
com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2149)
        at 
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:427)
        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:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-03-01 15:26:03,808 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-23:null) Seq 1-255983648: Cancelling because one of the answers is 
false and it is stop on error.
2013-03-01 15:26:03,808 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-23:null) Seq 1-255983648: Response Received:
2013-03-01 15:26:03,811 DEBUG [agent.transport.Request] (DirectAgent-23:null) 
Seq 1-255983648: Processing:  { Ans: , MgmtId: 7647994577963, via: 1, Ver: v1, 
Flags: 110, 
[{"StartAnswer":{"vm":{"id":3,"name":"s-3-VMSNAPSHOT","bootloader":"HVM","type":"SecondaryStorageVm","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":268435456,"maxRam":268435456,"arch":"i686","os":"Debian
 GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP type=secstorage 
host=10.223.131.172 port=8250 name=s-3-VMSNAPSHOT zone=1 pod=1 
guid=s-3-VMSNAPSHOT 
resource=com.cloud.storage.resource.PremiumSecondaryStorageResource 
instance=SecStorage sslcopy=true role=templateProcessor mtu=1500 
eth2ip=10.223.139.88 eth2mask=255.255.255.192 gateway=10.223.139.65 
public.network.device=eth2 eth0mask=0.0.0.0 eth0ip=0.0.0.0 eth1ip=10.223.59.71 
eth1mask=255.255.255.192 mgmtcidr=10.223.131.0/24 localgw=10.223.59.65 
private.network.device=eth1 eth3ip=10.223.59.72 eth3mask=255.255.255.192 
storageip=10.223.59.72 storagenetmask=255.255.255.192 
storagegateway=10.223.59.65 internaldns1=10.223.110.254 
internaldns2=10.223.110.253 dns1=8.8.8.8 
dns2=8.8.4.4","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"3aa19f4b10bd9b2f","params":{"nicAdapter":"E1000"},"uuid":"dd879b69-89c7-4de4-b5c8-3fd99d6543c1","disks":[{"id":3,"name":"ROOT-3","mountPoint":"/export/home/chandan/asf4-131-172/primary","path":"ROOT-3-3","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"21fd3775-9d43-37b4-87a3-289ef4fe431a","deviceId":0}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"1ddb4cb2-d859-471f-ba83-7d1048bbefcd","ip":"10.223.139.88","netmask":"255.255.255.192","gateway":"10.223.139.65","mac":"06:78:90:00:00:1e","dns1":"8.8.8.8","dns2":"8.8.4.4","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://1391","isolationUri":"vlan://1391","isSecurityGroupEnabled":false},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"02207ef5-10c0-492f-84a3-0a17c19d4fda","mac":"02:00:02:4d:00:03","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"18d0746c-1344-414a-b899-ba120ec8f33c","ip":"10.223.59.71","netmask":"255.255.255.192","gateway":"10.223.59.65","mac":"06:24:ce:00:00:02","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false},{"deviceId":3,"networkRateMbps":-1,"defaultNic":false,"uuid":"3aa19b52-f80f-4b49-b49c-088f3ca19341","ip":"10.223.59.72","netmask":"255.255.255.192","gateway":"10.223.59.65","mac":"06:b8:b8:00:00:03","broadcastType":"Native","type":"Storage","isSecurityGroupEnabled":false}]},"result":false,"details":"StartCommand
 failed due to Exception: 
com.cloud.utils.exception.CloudRuntimeException\nMessage: Unable to copy 
systemvm ISO on secondary storage. src location: 
/usr/lib/cloud/common/vms/systemvm.iso, dest location: 
/var/cloudstack/mnt/VMSNAPSHOT/7647994577963.6042b445/systemvm/systemvm-4.2.0-SNAPSHOT.iso\n","wait":0}}]
 }
2013-03-01 15:26:03,811 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 
1-255983648: Received:  { Ans: , MgmtId: 7647994577963, via: 1, Ver: v1, Flags: 
110, { StartAnswer } }
2013-03-01 15:26:03,812 DEBUG [agent.manager.AgentAttache] 
(DirectAgent-23:null) Seq 1-255983650: Sending now.  is current sequence.
2013-03-01 15:26:03,815 DEBUG [agent.transport.Request] (DirectAgent-23:null) 
Seq 1-255983650: Executing:  { Cmd , MgmtId: 7647994577963, via: 1, Ver: v1, 
Flags: 100111, 
[{"StartCommand":{"vm":{"id":4,"name":"v-4-VMSNAPSHOT","bootloader":"HVM","type":"ConsoleProxy","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":1073741824,"maxRam":1073741824,"arch":"i686","os":"Debian
 GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP type=consoleproxy 
host=10.223.131.172 port=8250 name=v-4-VMSNAPSHOT premium=true zone=1 pod=1 
guid=Proxy.4 proxy_vm=4 disable_rp_filter=true eth2ip=10.223.139.70 
eth2mask=255.255.255.192 gateway=10.223.139.65 eth0ip=0.0.0.0 eth0mask=0.0.0.0 
eth1ip=10.223.59.73 eth1mask=255.255.255.192 mgmtcidr=10.223.131.0/24 
localgw=10.223.59.65 internaldns1=10.223.110.254 internaldns2=10.223.110.253 
dns1=8.8.8.8 
dns2=8.8.4.4","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"6a092dfa7726bcf5","params":{"nicAdapter":"E1000"},"uuid":"ce5147fa-dcb1-4d96-85ac-60e02c5c52db","disks":[{"id":4,"name":"ROOT-4","mountPoint":"/export/home/chandan/asf4-131-172/primary","path":"ROOT-4-4","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"21fd3775-9d43-37b4-87a3-289ef4fe431a","deviceId":0}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"72a1df5e-c06b-4dc0-9d18-480662519fa0","ip":"10.223.139.70","netmask":"255.255.255.192","gateway":"10.223.139.65","mac":"06:24:e8:00:00:0c","dns1":"8.8.8.8","dns2":"8.8.4.4","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://1391","isolationUri":"vlan://1391","isSecurityGroupEnabled":false},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"ddcccc1e-695b-4541-b1d5-a2b51e3a155d","mac":"02:00:2b:24:00:04","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"198fe904-88d6-417c-8fe4-33b58ee70617","ip":"10.223.59.73","netmask":"255.255.255.192","gateway":"10.223.59.65","mac":"06:eb:14:00:00:04","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false}]},"hostIp":"10.223.59.66","wait":0}},{"check.CheckSshCommand":{"ip":"10.223.59.73","port":3922,"interval":6,"retries":100,"name":"v-4-VMSNAPSHOT","wait":0}}]
 }
2013-03-01 15:26:03,834 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-26:null) Seq 1-255983650: Executing request
2013-03-01 15:26:03,838 INFO  [vmware.resource.VmwareResource] 
(DirectAgent-26:10.223.59.66) Executing resource StartCommand: 
{"vm":{"id":4,"name":"v-4-VMSNAPSHOT","bootloader":"HVM","type":"ConsoleProxy","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":1073741824,"maxRam":1073741824,"arch":"i686","os":"Debian
 GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP type=consoleproxy 
host=10.223.131.172 port=8250 name=v-4-VMSNAPSHOT premium=true zone=1 pod=1 
guid=Proxy.4 proxy_vm=4 disable_rp_filter=true eth2ip=10.223.139.70 
eth2mask=255.255.255.192 gateway=10.223.139.65 eth0ip=0.0.0.0 eth0mask=0.0.0.0 
eth1ip=10.223.59.73 eth1mask=255.255.255.192 mgmtcidr=10.223.131.0/24 
localgw=10.223.59.65 internaldns1=10.223.110.254 internaldns2=10.223.110.253 
dns1=8.8.8.8 
dns2=8.8.4.4","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"6a092dfa7726bcf5","params":{"nicAdapter":"E1000"},"uuid":"ce5147fa-dcb1-4d96-85ac-60e02c5c52db","disks":[{"id":4,"name":"ROOT-4","mountPoint":"/export/home/chandan/asf4-131-172/primary","path":"ROOT-4-4","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"21fd3775-9d43-37b4-87a3-289ef4fe431a","deviceId":0}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"72a1df5e-c06b-4dc0-9d18-480662519fa0","ip":"10.223.139.70","netmask":"255.255.255.192","gateway":"10.223.139.65","mac":"06:24:e8:00:00:0c","dns1":"8.8.8.8","dns2":"8.8.4.4","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://1391","isolationUri":"vlan://1391","isSecurityGroupEnabled":false},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"ddcccc1e-695b-4541-b1d5-a2b51e3a155d","mac":"02:00:2b:24:00:04","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"198fe904-88d6-417c-8fe4-33b58ee70617","ip":"10.223.59.73","netmask":"255.255.255.192","gateway":"10.223.59.65","mac":"06:eb:14:00:00:04","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false}]},"hostIp":"10.223.59.66","wait":0}
2013-03-01 15:26:03,838 DEBUG [vmware.resource.VmwareResource] 
(DirectAgent-26:10.223.59.66) VM v-4-VMSNAPSHOT will be started with NIC device 
type: E1000
2013-03-01 15:26:04,123 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(secstorage-1:null) Unable to start VM on Host[-1-Routing] due to StartCommand 
failed due to Exception: com.cloud.utils.exception.CloudRuntimeException
Message: Unable to copy systemvm ISO on secondary storage. src location: 
/usr/lib/cloud/common/vms/systemvm.iso, dest location: 
/var/cloudstack/mnt/VMSNAPSHOT/7647994577963.6042b445/systemvm/systemvm-4.2.0-SNAPSHOT.iso

                
> Failed to Prepare Secondary Storage in VMware, 
> -----------------------------------------------
>
>                 Key: CLOUDSTACK-1262
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1262
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Install and Setup
>    Affects Versions: 4.1.0
>         Environment: CentOS 6.3
> Vmware
>            Reporter: Rayees Namathponnan
>            Assignee: Pradeep Soundararajan
>            Priority: Blocker
>             Fix For: 4.1.0
>
>         Attachments: management-server.log
>
>
> Failed to prepare secondary storage VM in VMware, since we are expecting 
> systemvm.iso is available at /usr/lib64/cloud/common//vms/systemvm.iso 
> instead of /usr/share/cloudstack-common/vms/systemvm.iso
> /plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareManagerImpl.java
>     private File getSystemVMPatchIsoFile() {
>         // locate systemvm.iso
>         URL url = 
> this.getClass().getProtectionDomain().getCodeSource().getLocation();
>         File file = new File(url.getFile());
>         File isoFile = new File(file.getParent() + "/vms/systemvm.iso");
>         if (!isoFile.exists()) {
>             isoFile = new File("/usr/lib64/cloud/common/" + 
> "/vms/systemvm.iso");
>             if (!isoFile.exists()) {
>                 isoFile = new File("/usr/lib/cloud/common/" + 
> "/vms/systemvm.iso");
>             }
>         }
>         return isoFile;
>     }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to