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 3C7031056B for ; Wed, 21 Aug 2013 08:05:53 +0000 (UTC) Received: (qmail 49443 invoked by uid 500); 21 Aug 2013 08:05:53 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 49360 invoked by uid 500); 21 Aug 2013 08:05: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 49345 invoked by uid 500); 21 Aug 2013 08:05:52 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 49339 invoked by uid 99); 21 Aug 2013 08:05:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 08:05:52 +0000 Date: Wed, 21 Aug 2013 08:05:52 +0000 (UTC) From: "Sateesh Chodapuneedi (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-4414) [VMWARE] System VM's are failed to start with new Nexus enabled Zone after upgrade (Nexus Details provided are not stored in DB) 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-4414?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sateesh Chodapuneedi reassigned CLOUDSTACK-4414: ------------------------------------------------ Assignee: Sateesh Chodapuneedi =20 > [VMWARE] System VM's are failed to start with new Nexus enabled Zone afte= r upgrade (Nexus Details provided are not stored in DB)=20 > -------------------------------------------------------------------------= --------------------------------------------------------- > > Key: CLOUDSTACK-4414 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-441= 4 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Network Devices, Upgrade, VMware > Affects Versions: 4.2.0 > Reporter: Sailaja Mada > Assignee: Sateesh Chodapuneedi > Priority: Blocker > Fix For: 4.2.0 > > Attachments: alllogs.rar > > > Steps:=20 > 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. > 2013-08-20 15:52:15,497 INFO [vmware.resource.VmwareResource] (DirectAgen= t-345:10.102.192.18) Prepare NIC device based on NicTO: {"deviceId":2,"netw= orkRateMbps":-1,"defaultNic":true,"uuid":"3ad57763-dfe8-467a-b21d-07de6ff64= 135","ip":"10.102.196.221","netmask":"255.255.255.0","gateway":"10.102.196.= 1","mac":"06:62:f8:00:00:08","dns1":"10.103.128.15","broadcastType":"Vlan",= "type":"Public","broadcastUri":"vlan://100","isolationUri":"vlan://100","is= SecurityGroupEnabled":false,"name":"sailajanewpp,,nexusdvs"} > 2013-08-20 15:52:15,500 INFO [vmware.resource.VmwareResource] (DirectAgen= t-345:10.102.192.18) Prepare network on nexusdvs P[sailajanewpp:untagged] w= ith name prefix: cloud.public > 2013-08-20 15:52:15,508 INFO [vmware.mo.HypervisorHostHelper] (DirectAgen= t-345:10.102.192.18) Found Ethernet port profile sailajanewpp > 2013-08-20 15:52:15,512 INFO [vmware.mo.HypervisorHostHelper] (DirectAgen= t-345:10.102.192.18) Port profile cloud.public.100.0.1-sailajanewpp not fou= nd. > 2013-08-20 15:52:15,512 ERROR [vmware.mo.HypervisorHostHelper] (DirectAge= nt-345:10.102.192.18) Failed to retrieve required credentials of Nexus VSM = from database. > 2013-08-20 15:52:15,513 WARN [vmware.resource.VmwareResource] (DirectAgen= t-345:10.102.192.18) StartCommand failed due to Exception: java.lang.Except= ion > 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-20 15:52:15,515 DEBUG [agent.manager.DirectAgentAttache] (DirectA= gent-345:null) Seq 10-374145270: Cancelling because one of the answers is f= alse and it is stop on error. > 2013-08-20 15:52:15,515 DEBUG [agent.manager.DirectAgentAttache] (DirectA= gent-345:null) Seq 10-374145270: Response Received: > 2013-08-20 15:52:15,516 DEBUG [agent.transport.Request] (DirectAgent-345:= null) Seq 10-374145270: Processing: { Ans: , MgmtId: 227594284004867, via: = 10, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":30,= "name":"v-30-VM","bootloader":"HVM","type":"ConsoleProxy","cpus":1,"minSpee= d":500,"maxSpeed":500,"minRam":1073741824,"maxRam":1073741824,"hostName":"v= -30-VM","arch":"x86_64","os":"Debian GNU/Linux 5.0 (32-bit)","bootArgs":" t= emplate=3DdomP type=3Dconsoleproxy host=3D10.102.192.221 port=3D8250 name= =3Dv-30-VM premium=3Dtrue zone=3D4 pod=3D3 guid=3DProxy.30 proxy_vm=3D30 di= sable_rp_filter=3Dtrue eth2ip=3D10.102.196.221 eth2mask=3D255.255.255.0 gat= eway=3D10.102.196.1 eth0ip=3D0.0.0.0 eth0mask=3D0.0.0.0 eth1ip=3D10.102.195= .152 eth1mask=3D255.255.252.0 mgmtcidr=3D10.102.192.0/22 localgw=3D10.102.1= 92.1 internaldns1=3D10.103.128.15 dns1=3D10.103.128.15","rebootOnCrash":fal= se,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"v= ncPassword":"55fb7bf05d9fa2a6","params":{"nicAdapter":"E1000"},"uuid":"778a= 22ca-438c-46f3-b3c8-620340f0a99c","disks":[{"data":{"org.apache.cloudstack.= storage.to.VolumeObjectTO":{"uuid":"1c10799a-e31a-4f86-8868-e58c62867b7e","= volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDa= taStoreTO":{"uuid":"19fde31f-a662-309e-84f7-6a0dec9e5ca3","id":203,"poolTyp= e":"NetworkFilesystem","host":"10.102.192.100","path":"/cpg_vol/sailaja/nex= usps1","port":2049}},"name":"ROOT-30","size":0,"path":"ROOT-30","volumeId":= 107,"vmName":"v-30-VM","accountId":1,"format":"OVA","id":107,"hypervisorTyp= e":"VMware"}},"diskSeq":0,"type":"ROOT"}],"nics":[{"deviceId":2,"networkRat= eMbps":-1,"defaultNic":true,"uuid":"3ad57763-dfe8-467a-b21d-07de6ff64135","= ip":"10.102.196.221","netmask":"255.255.255.0","gateway":"10.102.196.1","ma= c":"06:62:f8:00:00:08","dns1":"10.103.128.15","broadcastType":"Vlan","type"= :"Public","broadcastUri":"vlan://100","isolationUri":"vlan://100","isSecuri= tyGroupEnabled":false,"name":"sailajanewpp,,nexusdvs"},{"deviceId":0,"netwo= rkRateMbps":-1,"defaultNic":false,"uuid":"d4940cd6-177f-4de4-9cf9-17ba41188= 1de","mac":"02:00:52:a1:00:02","broadcastType":"LinkLocal","type":"Control"= ,"isSecurityGroupEnabled":false,"name":"vSwitch0,,vmwaresvs"},{"deviceId":1= ,"networkRateMbps":-1,"defaultNic":false,"uuid":"9f6ec612-71c5-4638-a8ed-75= 47d2e3b2ff","ip":"10.102.195.152","netmask":"255.255.252.0","gateway":"10.1= 02.192.1","mac":"06:2b:a2:00:00:03","broadcastType":"Native","type":"Manage= ment","isSecurityGroupEnabled":false,"name":"vSwitch0,,vmwaresvs"}]},"resul= t":false,"details":"StartCommand failed due to Exception: java.lang.Excepti= on\nMessage: Failed to retrieve required credentials of Nexus VSM from data= base.\n","wait":0}}] } > 2013-08-20 15:52:15,517 DEBUG [agent.transport.Request] (consoleproxy-1:n= ull) Seq 10-374145270: Received: { Ans: , MgmtId: 227594284004867, via: 10,= Ver: v1, Flags: 10, { StartAnswer } } -- 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