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 1431F1040F for ; Thu, 22 Aug 2013 17:51:57 +0000 (UTC) Received: (qmail 73586 invoked by uid 500); 22 Aug 2013 17:51:56 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 73503 invoked by uid 500); 22 Aug 2013 17:51:56 -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 73429 invoked by uid 500); 22 Aug 2013 17:51:56 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 73295 invoked by uid 99); 22 Aug 2013 17:51:56 -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 17:51:56 +0000 Date: Thu, 22 Aug 2013 17:51:56 +0000 (UTC) From: "Animesh Chaturvedi (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4435?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Animesh Chaturvedi updated CLOUDSTACK-4435: ------------------------------------------- Tagging for 4.2.1 =20 > [VMWARE]System VM's are failed to start with Nexus enabled Zone=20 > ---------------------------------------------------------------- > > Key: CLOUDSTACK-4435 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-443= 5 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Network Devices, VMware > Affects Versions: 4.2.1 > Reporter: Sailaja Mada > Assignee: Sateesh Chodapuneedi > Priority: Blocker > Fix For: 4.2.1 > > Attachments: issuenexus.rar > > > 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 deta= ils can not be retrieved from DB.=20 > 2013-08-22 00:37:01,732 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:nul= l) =3D=3D=3DSTART=3D=3D=3D 10.101.255.30 -- GET command=3DqueryAsyncJobRe= sult&jobId=3D921f4c19-a655-4234-82c4-66efcbe73933&response=3Djson&sessionke= y=3DCNY1grUrySJwTE%2BpFM3btn1i4Xs%3D&_=3D1377112271133 > 2013-08-22 00:37:01,782 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:nul= l) =3D=3D=3DEND=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:02,170 WARN [vmware.resource.VmwareResource] (DirectAge= nt-128:10.102.192.18) StartCommand failed due to Exception: java.lang.Excep= tion > Message: Failed to retrieve required credentials of Nexus VSM from databa= se. > java.lang.Exception: Failed to retrieve required credentials of Nexus VSM= from database. > at com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.getValidat= edVsmCredentials(HypervisorHostHelper.java:183) > at com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.createPort= Profile(HypervisorHostHelper.java:201) > at com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.prepareNet= work(HypervisorHostHelper.java:584) > at com.cloud.hypervisor.vmware.resource.VmwareResource.prepareNet= workFromNicInfo(VmwareResource.java:3308) > at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(Vm= wareResource.java:2904) > at com.cloud.hypervisor.vmware.resource.VmwareResource.executeReq= uest(VmwareResource.java:514) > at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgen= tAttache.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$ScheduledFutu= reTask.access$101(ScheduledThreadPoolExecutor.java:165) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutu= reTask.run(ScheduledThreadPoolExecutor.java:266) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolEx= ecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > 2013-08-22 00:37:02,196 DEBUG [agent.manager.DirectAgentAttache] (DirectA= gent-128:null) Seq 14-773455885: Cancelling because one of the answers is f= alse and it is stop on error. > 2013-08-22 00:37:02,196 DEBUG [agent.manager.DirectAgentAttache] (DirectA= gent-128:null) Seq 14-773455885: Response Received: > 2013-08-22 00:37:02,199 DEBUG [agent.transport.Request] (DirectAgent-128:= null) Seq 14-773455885: Processing: { Ans: , MgmtId: 187767034175903, via:= 14, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":30= ,"name":"s-30-VM","bootloader":"HVM","type":"SecondaryStorageVm","cpus":1,"= minSpeed":500,"maxSpeed":500,"minRam":268435456,"maxRam":268435456,"hostNam= e":"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 nam= e=3Ds-30-VM zone=3D3 pod=3D3 guid=3Ds-30-VM resource=3Dcom.cloud.storage.re= source.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 mg= mtcidr=3D10.102.192.0/22 localgw=3D10.102.192.1 private.network.device=3Det= h1 eth3ip=3D10.102.195.152 eth3mask=3D255.255.252.0 storageip=3D10.102.195.= 152 storagenetmask=3D255.255.252.0 storagegateway=3D10.102.192.1 internaldn= s1=3D10.103.128.15 dns1=3D10.103.128.15","rebootOnCrash":false,"enableHA":f= alse,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"dd= 6c6644e27dee4b","params":{"nicAdapter":"E1000"},"uuid":"dfa9a886-a75a-40a1-= 8d1b-8405560f4a8e","disks":[{"data":{"org.apache.cloudstack.storage.to.Volu= meObjectTO":{"uuid":"c2eb619c-7200-4ece-9d92-4f5604891d0d","volumeType":"RO= OT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uu= id":"6e1b7ef2-1715-3f55-abf3-8226a6f13db6","id":206,"poolType":"NetworkFile= system","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"}},"= diskSeq":0,"type":"ROOT"}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defa= ultNic":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","broa= dcastUri":"vlan://100","isolationUri":"vlan://100","isSecurityGroupEnabled"= :false,"name":"sailajanewpp,,nexusdvs"},{"deviceId":0,"networkRateMbps":-1,= "defaultNic":false,"uuid":"15f068e3-93da-48e0-95fd-85ab7534a5f2","mac":"02:= 00:2f:89:00:11","broadcastType":"LinkLocal","type":"Control","isSecurityGro= upEnabled":false,"name":"vSwitch0"},{"deviceId":1,"networkRateMbps":-1,"def= aultNic":false,"uuid":"645b6314-a9b3-4cea-8e59-36c375220762","ip":"10.102.1= 95.150","netmask":"255.255.252.0","gateway":"10.102.192.1","mac":"06:ed:d0:= 00:00:01","broadcastType":"Native","type":"Management","isSecurityGroupEnab= led":false,"name":"vSwitch0"},{"deviceId":3,"networkRateMbps":-1,"defaultNi= c":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:= 03","broadcastType":"Native","type":"Storage","isSecurityGroupEnabled":fals= e,"name":"vSwitch0"}]},"result":false,"details":"StartCommand failed due to= Exception: java.lang.Exception\nMessage: Failed to retrieve required crede= ntials of Nexus VSM from database.\n","wait":0}}] } > 2013-08-22 00:37:02,203 DEBUG [agent.transport.Request] (Job-Executor-1:j= ob-81 =3D [ 921f4c19-a655-4234-82c4-66efcbe73933 ]) Seq 14-773455885: Recei= ved: { Ans: , MgmtId: 187767034175903, via: 14, Ver: v1, Flags: 10, { Star= tAnswer } } > 2013-08-22 00:37:02,249 INFO [cloud.vm.VirtualMachineManagerImpl] (Job-E= xecutor-1:job-81 =3D [ 921f4c19-a655-4234-82c4-66efcbe73933 ]) Unable to st= art VM on Host[-14-Routing] due to StartCommand failed due to Exception: ja= va.lang.Exception > Message: Failed to retrieve required credentials of Nexus VSM from databa= se. > 2013-08-22 00:37:02,294 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-E= xecutor-1:job-81 =3D [ 921f4c19-a655-4234-82c4-66efcbe73933 ]) Cleaning up = resources 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