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 BFB80100A9 for ; Thu, 22 Aug 2013 05:22:54 +0000 (UTC) Received: (qmail 36716 invoked by uid 500); 22 Aug 2013 05:22:54 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 36705 invoked by uid 500); 22 Aug 2013 05:22:53 -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 36698 invoked by uid 500); 22 Aug 2013 05:22:53 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 36695 invoked by uid 99); 22 Aug 2013 05:22:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 05:22:51 +0000 Date: Thu, 22 Aug 2013 05:22:51 +0000 (UTC) From: "Sailaja Mada (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-4435) [VMWARE]System VM's are failed to start with Nexus enabled Zone MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sailaja Mada created CLOUDSTACK-4435: ---------------------------------------- Summary: [VMWARE]System VM's are failed to start with Nexus en= abled Zone=20 Key: CLOUDSTACK-4435 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4435 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the defa= ult.) Components: Network Devices, VMware Affects Versions: 4.2.1 Reporter: Sailaja Mada Priority: Blocker Steps: 1. Upgraded from 3.0.7 to 4.2 ( VMWARE Zone with Standard vSwitch) 2. Enable Nexus global config variable 3. Tried to add new Zone with VMWARE Nexus enabled 4. Added two physical networks ( 1 - Mgmt - vSwitch0,,vmwaresvs 2- Public &= guest -> sailajanewpp,,nexusdvs) 5. Provided VSM details while adding cluster Observation: System VM's are failed to start with Nexus enabled Zone saying Nexus detail= s can not be retrieved from DB.=20 2013-08-22 00:37:01,732 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null)= =3D=3D=3DSTART=3D=3D=3D 10.101.255.30 -- GET command=3DqueryAsyncJobResu= lt&jobId=3D921f4c19-a655-4234-82c4-66efcbe73933&response=3Djson&sessionkey= =3DCNY1grUrySJwTE%2BpFM3btn1i4Xs%3D&_=3D1377112271133 2013-08-22 00:37:01,782 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null)= =3D=3D=3DEND=3D=3D=3D 10.101.255.30 -- GET command=3DqueryAsyncJobResult= &jobId=3D921f4c19-a655-4234-82c4-66efcbe73933&response=3Djson&sessionkey=3D= CNY1grUrySJwTE%2BpFM3btn1i4Xs%3D&_=3D1377112271133 2013-08-22 00:37:02,170 WARN [vmware.resource.VmwareResource] (DirectAgent= -128:10.102.192.18) StartCommand failed due to Exception: java.lang.Excepti= on Message: Failed to retrieve required credentials of Nexus VSM from database= . java.lang.Exception: Failed to retrieve required credentials of Nexus VSM f= rom database. at com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.getValidated= VsmCredentials(HypervisorHostHelper.java:183) at com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.createPortPr= ofile(HypervisorHostHelper.java:201) at com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.prepareNetwo= rk(HypervisorHostHelper.java:584) at com.cloud.hypervisor.vmware.resource.VmwareResource.prepareNetwo= rkFromNicInfo(VmwareResource.java:3308) at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(Vmwa= reResource.java:2904) at com.cloud.hypervisor.vmware.resource.VmwareResource.executeReque= st(VmwareResource.java:514) at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentA= ttache.java:186) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja= va:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:33= 4) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFuture= Task.access$101(ScheduledThreadPoolExecutor.java:165) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFuture= Task.run(ScheduledThreadPoolExecutor.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec= utor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe= cutor.java:603) at java.lang.Thread.run(Thread.java:679) 2013-08-22 00:37:02,196 DEBUG [agent.manager.DirectAgentAttache] (DirectAge= nt-128:null) Seq 14-773455885: Cancelling because one of the answers is fal= se and it is stop on error. 2013-08-22 00:37:02,196 DEBUG [agent.manager.DirectAgentAttache] (DirectAge= nt-128:null) Seq 14-773455885: Response Received: 2013-08-22 00:37:02,199 DEBUG [agent.transport.Request] (DirectAgent-128:nu= ll) Seq 14-773455885: Processing: { Ans: , MgmtId: 187767034175903, via: 1= 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":30,"= name":"s-30-VM","bootloader":"HVM","type":"SecondaryStorageVm","cpus":1,"mi= nSpeed":500,"maxSpeed":500,"minRam":268435456,"maxRam":268435456,"hostName"= :"s-30-VM","arch":"x86_64","os":"Debian GNU/Linux 5.0 (32-bit)","bootArgs":= " template=3DdomP type=3Dsecstorage host=3D10.102.192.207 port=3D8250 name= =3Ds-30-VM zone=3D3 pod=3D3 guid=3Ds-30-VM resource=3Dcom.cloud.storage.res= ource.PremiumSecondaryStorageResource instance=3DSecStorage sslcopy=3Dtrue = role=3DtemplateProcessor mtu=3D1500 eth2ip=3D10.102.196.220 eth2mask=3D255.= 255.255.0 gateway=3D10.102.196.1 public.network.device=3Deth2 eth0mask=3D0.= 0.0.0 eth0ip=3D0.0.0.0 eth1ip=3D10.102.195.150 eth1mask=3D255.255.252.0 mgm= tcidr=3D10.102.192.0/22 localgw=3D10.102.192.1 private.network.device=3Deth= 1 eth3ip=3D10.102.195.152 eth3mask=3D255.255.252.0 storageip=3D10.102.195.1= 52 storagenetmask=3D255.255.252.0 storagegateway=3D10.102.192.1 internaldns= 1=3D10.103.128.15 dns1=3D10.103.128.15","rebootOnCrash":false,"enableHA":fa= lse,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"dd6= c6644e27dee4b","params":{"nicAdapter":"E1000"},"uuid":"dfa9a886-a75a-40a1-8= d1b-8405560f4a8e","disks":[{"data":{"org.apache.cloudstack.storage.to.Volum= eObjectTO":{"uuid":"c2eb619c-7200-4ece-9d92-4f5604891d0d","volumeType":"ROO= T","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uui= d":"6e1b7ef2-1715-3f55-abf3-8226a6f13db6","id":206,"poolType":"NetworkFiles= ystem","host":"10.102.192.100","path":"/cpg_vol/sailaja/vnmcnewps1","port":= 2049}},"name":"ROOT-30","size":0,"path":"ROOT-30","volumeId":83,"vmName":"s= -30-VM","accountId":1,"format":"OVA","id":83,"hypervisorType":"VMware"}},"d= iskSeq":0,"type":"ROOT"}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defau= ltNic":true,"uuid":"62a3ff0d-00f9-4491-8222-a1a503a14cd7","ip":"10.102.196.= 220","netmask":"255.255.255.0","gateway":"10.102.196.1","mac":"06:2f:ea:00:= 00:07","dns1":"10.103.128.15","broadcastType":"Vlan","type":"Public","broad= castUri":"vlan://100","isolationUri":"vlan://100","isSecurityGroupEnabled":= false,"name":"sailajanewpp,,nexusdvs"},{"deviceId":0,"networkRateMbps":-1,"= defaultNic":false,"uuid":"15f068e3-93da-48e0-95fd-85ab7534a5f2","mac":"02:0= 0:2f:89:00:11","broadcastType":"LinkLocal","type":"Control","isSecurityGrou= pEnabled":false,"name":"vSwitch0"},{"deviceId":1,"networkRateMbps":-1,"defa= ultNic":false,"uuid":"645b6314-a9b3-4cea-8e59-36c375220762","ip":"10.102.19= 5.150","netmask":"255.255.252.0","gateway":"10.102.192.1","mac":"06:ed:d0:0= 0:00:01","broadcastType":"Native","type":"Management","isSecurityGroupEnabl= ed":false,"name":"vSwitch0"},{"deviceId":3,"networkRateMbps":-1,"defaultNic= ":false,"uuid":"b15358b4-19fa-4380-acdd-bbad598ccbc4","ip":"10.102.195.152"= ,"netmask":"255.255.252.0","gateway":"10.102.192.1","mac":"06:fc:36:00:00:0= 3","broadcastType":"Native","type":"Storage","isSecurityGroupEnabled":false= ,"name":"vSwitch0"}]},"result":false,"details":"StartCommand failed due to = Exception: java.lang.Exception\nMessage: Failed to retrieve required creden= tials of Nexus VSM from database.\n","wait":0}}] } 2013-08-22 00:37:02,203 DEBUG [agent.transport.Request] (Job-Executor-1:job= -81 =3D [ 921f4c19-a655-4234-82c4-66efcbe73933 ]) Seq 14-773455885: Receive= d: { Ans: , MgmtId: 187767034175903, via: 14, Ver: v1, Flags: 10, { StartA= nswer } } 2013-08-22 00:37:02,249 INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Exe= cutor-1:job-81 =3D [ 921f4c19-a655-4234-82c4-66efcbe73933 ]) Unable to star= t VM on Host[-14-Routing] due to StartCommand failed due to Exception: java= .lang.Exception Message: Failed to retrieve required credentials of Nexus VSM from database= . 2013-08-22 00:37:02,294 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Exe= cutor-1:job-81 =3D [ 921f4c19-a655-4234-82c4-66efcbe73933 ]) Cleaning up re= sources for the vm VM[SecondaryStorageVm|s-30-VM] in Starting state @ = = = =20 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira