cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shweta agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-4933) Vmware : Vm deployement fails with error ResourceUnavailableException: Resource is unreachable: Unable to apply userdata and password entry on router
Date Wed, 23 Oct 2013 11:11:44 GMT

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

shweta agarwal closed CLOUDSTACK-4933.
--------------------------------------


Verified on latest build.Passed

> Vmware : Vm deployement fails with error ResourceUnavailableException: Resource is unreachable:
Unable to apply userdata and password entry on router
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4933
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4933
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: VMware
>    Affects Versions: 4.2.1
>         Environment: Advance zone with VMware 5.1 
>            Reporter: shweta agarwal
>            Assignee: Kishan Kavala
>            Priority: Blocker
>             Fix For: 4.2.1
>
>         Attachments: management-server.log.tar.gz
>
>
> Create a VM in advance zone with isolated network
> Bug:
> VM creation fails 
> Ms log shows :
> 2013-10-23 11:15:25,187 DEBUG [agent.transport.Request] (Job-Executor-13:job-13 = [ eaae4167-2b52-4fcb-a118-59237a8d9322
]) Seq 1-498335784: Received:  { Ans: , MgmtId: 6861478690853, via: 1, Ver: v1, Flags: 110,
{ Answer, Answer } }
> 2013-10-23 11:15:25,188 INFO  [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-13:job-13
= [ eaae4167-2b52-4fcb-a118-59237a8d9322 ]) Unable to contact resource.
> com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is unreachable:
Unable to apply userdata and password entry on router
>         at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:3827)
>         at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyUserData(VirtualNetworkApplianceManagerImpl.java:3017)
>         at com.cloud.network.element.VirtualRouterElement.addPasswordAndUserdata(VirtualRouterElement.java:930)
>         at com.cloud.network.NetworkManagerImpl.prepareElement(NetworkManagerImpl.java:2085)
>         at com.cloud.network.NetworkManagerImpl.prepareNic(NetworkManagerImpl.java:2200)
>         at com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2136)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:886)
>         at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:577)
>         at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:227)
>         at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3425)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2985)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2971)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:420)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
>         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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-10-23 11:15:25,193 DEBUG [agent.manager.AgentAttache] (DirectAgent-24:null) Seq
1-498335784: No more commands found
> 2013-10-23 11:15:25,213 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-13:job-13
= [ eaae4167-2b52-4fcb-a118-59237a8d9322 ]) Cleaning up resources for the vm VM[User|cbf9feaa-cb52-46e8-81a4-52df3e8954ea]
in Starting state
> 2013-10-23 11:15:25,218 DEBUG [agent.transport.Request] (Job-Executor-13:job-13 = [ eaae4167-2b52-4fcb-a118-59237a8d9322
]) Seq 1-498335785: Sending  { Cmd , MgmtId: 6861478690853, via: 1, Ver: v1, Flags: 100111,
[{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":true,"vmName":"i-2-3-VM","wait":0}}]
}
> 2013-10-23 11:15:25,219 DEBUG [agent.transport.Request] (Job-Executor-13:job-13 = [ eaae4167-2b52-4fcb-a118-59237a8d9322
]) Seq 1-498335785: Executing:  { Cmd , MgmtId: 6861478690853, via: 1, Ver: v1, Flags: 100111,
[{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":true,"vmName":"i-2-3-VM","wait":0}}]
}
> 2013-10-23 11:15:25,220 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-2:null)
Seq 1-498335785: Executing request
> 2013-10-23 11:15:25,221 INFO  [vmware.resource.VmwareResource] (DirectAgent-2:10.147.40.24)
Executing resource StopCommand: {"isProxy":false,"executeInSequence":true,"vmName":"i-2-3-VM","wait":0}
> 2013-10-23 11:15:25,256 DEBUG [vmware.mo.HostMO] (DirectAgent-2:10.147.40.24) find VM
i-2-3-VM on host
> 2013-10-23 11:15:25,256 INFO  [vmware.mo.HostMO] (DirectAgent-2:10.147.40.24) VM i-2-3-VM
not found in host cache
> 2013-10-23 11:15:25,256 DEBUG [vmware.mo.HostMO] (DirectAgent-2:10.147.40.24) load VM
cache on host
> 2013-10-23 11:15:25,280 INFO  [vmware.resource.VmwareResource] (DirectAgent-2:10.147.40.24)
VM i-2-3-VM is no longer in vSphere
> 2013-10-23 11:15:25,283 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-2:null)
Seq 1-498335785: Response Received:
> 2013-10-23 11:15:25,283 DEBUG [agent.transport.Request] (DirectAgent-2:null) Seq 1-498335785:
Processing:  { Ans: , MgmtId: 6861478690853, via: 1, Ver: v1, Flags: 110, [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM
i-2-3-VM is no longer in vSphere","wait":0}}] }
> @
>                                                                      



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message