Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8802F102C7 for ; Wed, 23 Oct 2013 06:05:07 +0000 (UTC) Received: (qmail 79026 invoked by uid 500); 23 Oct 2013 06:04:33 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 78974 invoked by uid 500); 23 Oct 2013 06:04:25 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 78729 invoked by uid 500); 23 Oct 2013 06:04:09 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 78454 invoked by uid 99); 23 Oct 2013 06:03:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Oct 2013 06:03:43 +0000 Date: Wed, 23 Oct 2013 06:03:42 +0000 (UTC) From: "shweta agarwal (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-4933) Vmware : Vm deployement fails with error ResourceUnavailableException: Resource is unreachable: Unable to apply userdata and password entry on router MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 shweta agarwal created CLOUDSTACK-4933: ------------------------------------------ Summary: 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 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)