Return-Path: X-Original-To: apmail-incubator-cloudstack-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6407E725 for ; Thu, 7 Mar 2013 02:00:18 +0000 (UTC) Received: (qmail 25542 invoked by uid 500); 7 Mar 2013 02:00:18 -0000 Delivered-To: apmail-incubator-cloudstack-issues-archive@incubator.apache.org Received: (qmail 25523 invoked by uid 500); 7 Mar 2013 02:00:18 -0000 Mailing-List: contact cloudstack-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-issues@incubator.apache.org Received: (qmail 25314 invoked by uid 99); 7 Mar 2013 02:00:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Mar 2013 02:00:18 +0000 Date: Thu, 7 Mar 2013 02:00:18 +0000 (UTC) From: "Chandan Purushothama (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-1565) Used Master Branch System VM Template: Default Route on the SSVM is missing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Chandan Purushothama created CLOUDSTACK-1565: ------------------------------------------------ Summary: Used Master Branch System VM Template: Default Route = on the SSVM is missing Key: CLOUDSTACK-1565 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1565 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the defa= ult.) Components: Management Server Affects Versions: 4.0.2 Reporter: Chandan Purushothama Assignee: Rohit Yadav Priority: Blocker Fix For: 4.0.2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Steps to Reproduce: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1. Deploy an Advanced Zone Setup with XenServer 6.0.2 Host 2. Use the System Template at http://jenkins.cloudstack.org/view/master/job= /build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/sy= stemvmtemplate-2013-03-05-master-xen.vhd.bz2 during the Setup deployment. 3. Observe that the default template download fails with "Network is Unreac= hable" Status. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Observations: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On the SSVM: *Observe the missing default route* root@s-1-NEWXENTEMPL:~# ip route 10.223.58.0/26 dev eth1 proto kernel scope link src 10.223.58.7 10.223.58.0/26 dev eth3 proto kernel scope link src 10.223.58.8 10.223.110.232 via 10.223.58.1 dev eth1 10.223.110.253 via 10.223.58.1 dev eth1 10.223.110.254 via 10.223.58.1 dev eth1 10.223.131.170 via 10.223.58.1 dev eth1 10.223.138.0/26 dev eth2 proto kernel scope link src 10.223.138.21 169.254.0.0/16 dev eth0 proto kernel scope link src 169.254.1.101 root@s-1-NEWXENTEMPL:~# root@s-1-NEWXENTEMPL:~# cat /proc/cmdline root=3DUUID=3Dd18a6135-d041-46ea-a137-b8259269c02e ro -- quiet console=3Dh= vc0%template=3DdomP%type=3Dsecstorage%host=3D10.223.131.170%port=3D8250%nam= e=3Ds-1-NEWXENTEMPL%zone=3D1%pod=3D1%guid=3Ds-1-NEWXENTEMPL%resource=3Dcom.= cloud.storage.resource.NfsSecondaryStorageResource%instance=3DSecStorage%ss= lcopy=3Dtrue%role=3DtemplateProcessor%mtu=3D1500%eth2ip=3D10.223.138.21%eth= 2mask=3D255.255.255.192%gateway=3D10.223.138.1%public.network.device=3Deth2= %eth0ip=3D169.254.1.101%eth0mask=3D255.255.0.0%eth1ip=3D10.223.58.7%eth1mas= k=3D255.255.255.192%mgmtcidr=3D10.223.131.0/24%localgw=3D10.223.58.1%privat= e.network.device=3Deth1%eth3ip=3D10.223.58.8%eth3mask=3D255.255.255.192%sto= rageip=3D10.223.58.8%storagenetmask=3D255.255.255.192%storagegateway=3D10.2= 23.58.1%internaldns1=3D10.223.110.254%internaldns2=3D10.223.110.253%dns1=3D= 8.8.8.8%dns2=3D8.8.4.4 root@s-1-NEWXENTEMPL:~# On the management Server Log: 2013-03-06 17:37:01,252 DEBUG [storage.secondary.SecondaryStorageManagerImp= l] (secstorage-1:null) Telling the ssvm to load the NfsSecondaryStorageReso= urce 2013-03-06 17:37:01,253 DEBUG [storage.secondary.SecondaryStorageManagerImp= l] (secstorage-1:null) Boot Args for VM[SecondaryStorageVm|s-1-NEWXENTEMPL]= : template=3DdomP type=3Dsecstorage host=3D10.223.131.170 port=3D8250 name= =3Ds-1-NEWXENTEMPL zone=3D1 pod=3D1 guid=3Ds-1-NEWXENTEMPL resource=3Dcom.c= loud.storage.resource.NfsSecondaryStorageResource instance=3DSecStorage ssl= copy=3Dtrue role=3DtemplateProcessor mtu=3D1500 eth2ip=3D10.223.138.21 eth2= mask=3D255.255.255.192 gateway=3D10.223.138.1 public.network.device=3Deth2 = eth0ip=3D169.254.1.101 eth0mask=3D255.255.0.0 eth1ip=3D10.223.58.7 eth1mask= =3D255.255.255.192 mgmtcidr=3D10.223.131.0/24 localgw=3D10.223.58.1 private= .network.device=3Deth1 eth3ip=3D10.223.58.8 eth3mask=3D255.255.255.192 stor= ageip=3D10.223.58.8 storagenetmask=3D255.255.255.192 storagegateway=3D10.22= 3.58.1 internaldns1=3D10.223.110.254 internaldns2=3D10.223.110.253 dns1=3D8= .8.8.8 dns2=3D8.8.4.4 2013-03-06 17:37:01,275 DEBUG [agent.transport.Request] (secstorage-1:null)= Seq 1-2123956242: Sending { Cmd , MgmtId: 7200344900649, via: 1, Ver: v1,= Flags: 100111, [{"StartCommand":{"vm":{"id":1,"name":"s-1-NEWXENTEMPL","bo= otloader":"PyGrub","type":"SecondaryStorageVm","cpus":1,"minSpeed":500,"max= Speed":500,"minRam":268435456,"maxRam":268435456,"arch":"x86_64","os":"Debi= an GNU/Linux 6(64-bit)","bootArgs":" template=3DdomP type=3Dsecstorage host= =3D10.223.131.170 port=3D8250 name=3Ds-1-NEWXENTEMPL zone=3D1 pod=3D1 guid= =3Ds-1-NEWXENTEMPL resource=3Dcom.cloud.storage.resource.NfsSecondaryStorag= eResource instance=3DSecStorage sslcopy=3Dtrue role=3DtemplateProcessor mtu= =3D1500 eth2ip=3D10.223.138.21 eth2mask=3D255.255.255.192 gateway=3D10.223.= 138.1 public.network.device=3Deth2 eth0ip=3D169.254.1.101 eth0mask=3D255.25= 5.0.0 eth1ip=3D10.223.58.7 eth1mask=3D255.255.255.192 mgmtcidr=3D10.223.131= .0/24 localgw=3D10.223.58.1 private.network.device=3Deth1 eth3ip=3D10.223.5= 8.8 eth3mask=3D255.255.255.192 storageip=3D10.223.58.8 storagenetmask=3D255= .255.255.192 storagegateway=3D10.223.58.1 internaldns1=3D10.223.110.254 int= ernaldns2=3D10.223.110.253 dns1=3D8.8.8.8 dns2=3D8.8.4.4","rebootOnCrash":f= alse,"enableHA":false,"limitCpuUse":false,"vncPassword":"72d0e0bb4c42cc9c",= "params":{},"uuid":"fd705739-d518-48cf-8680-3e16f02f7253","disks":[{"id":1,= "name":"ROOT-1","mountPoint":"/export/home/chandan/asfmas-131-170/primary",= "path":"bf5a3843-c603-4d94-bdad-fe2ebbef90bd","size":2097152000,"type":"ROO= T","storagePoolType":"NetworkFilesystem","storagePoolUuid":"b06ada48-12e1-3= 43e-b429-6e8e516397ba","deviceId":0}],"nics":[{"deviceId":2,"networkRateMbp= s":-1,"defaultNic":true,"uuid":"e9026157-f1d8-4486-a89e-74b9dd21f624","ip":= "10.223.138.21","netmask":"255.255.255.192","gateway":"10.223.138.1","mac":= "06:4b:2c:00:00:1b","dns1":"8.8.8.8","dns2":"8.8.4.4","broadcastType":"Vlan= ","type":"Public","broadcastUri":"vlan://1380","isolationUri":"vlan://1380"= ,"isSecurityGroupEnabled":false},{"deviceId":0,"networkRateMbps":-1,"defaul= tNic":false,"uuid":"f3d9931c-395b-450d-b4e2-8968ea936642","ip":"169.254.1.1= 01","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:01:6= 5","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":fa= lse},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"05478ed5= -8cd6-41fe-be55-afe0bafa3ba6","ip":"10.223.58.7","netmask":"255.255.255.192= ","gateway":"10.223.58.1","mac":"06:17:da:00:00:04","broadcastType":"Native= ","type":"Management","isSecurityGroupEnabled":false},{"deviceId":3,"networ= kRateMbps":-1,"defaultNic":false,"uuid":"27ff90a9-82a5-4276-a9c9-a39d396b8d= e1","ip":"10.223.58.8","netmask":"255.255.255.192","gateway":"10.223.58.1",= "mac":"06:15:e0:00:00:05","broadcastType":"Native","type":"Storage","isSecu= rityGroupEnabled":false}]},"hostIp":"10.223.58.2","wait":0}},{"check.CheckS= shCommand":{"ip":"169.254.1.101","port":3922,"interval":6,"retries":100,"na= me":"s-1-NEWXENTEMPL","wait":0}}] } 2013-03-06 17:37:01,283 DEBUG [agent.transport.Request] (secstorage-1:null)= Seq 1-2123956242: Executing: { Cmd , MgmtId: 7200344900649, via: 1, Ver: = v1, Flags: 100111, [{"StartCommand":{"vm":{"id":1,"name":"s-1-NEWXENTEMPL",= "bootloader":"PyGrub","type":"SecondaryStorageVm","cpus":1,"minSpeed":500,"= maxSpeed":500,"minRam":268435456,"maxRam":268435456,"arch":"x86_64","os":"D= ebian GNU/Linux 6(64-bit)","bootArgs":" template=3DdomP type=3Dsecstorage h= ost=3D10.223.131.170 port=3D8250 name=3Ds-1-NEWXENTEMPL zone=3D1 pod=3D1 gu= id=3Ds-1-NEWXENTEMPL resource=3Dcom.cloud.storage.resource.NfsSecondaryStor= ageResource instance=3DSecStorage sslcopy=3Dtrue role=3DtemplateProcessor m= tu=3D1500 eth2ip=3D10.223.138.21 eth2mask=3D255.255.255.192 gateway=3D10.22= 3.138.1 public.network.device=3Deth2 eth0ip=3D169.254.1.101 eth0mask=3D255.= 255.0.0 eth1ip=3D10.223.58.7 eth1mask=3D255.255.255.192 mgmtcidr=3D10.223.1= 31.0/24 localgw=3D10.223.58.1 private.network.device=3Deth1 eth3ip=3D10.223= .58.8 eth3mask=3D255.255.255.192 storageip=3D10.223.58.8 storagenetmask=3D2= 55.255.255.192 storagegateway=3D10.223.58.1 internaldns1=3D10.223.110.254 i= nternaldns2=3D10.223.110.253 dns1=3D8.8.8.8 dns2=3D8.8.4.4","rebootOnCrash"= :false,"enableHA":false,"limitCpuUse":false,"vncPassword":"72d0e0bb4c42cc9c= ","params":{},"uuid":"fd705739-d518-48cf-8680-3e16f02f7253","disks":[{"id":= 1,"name":"ROOT-1","mountPoint":"/export/home/chandan/asfmas-131-170/primary= ","path":"bf5a3843-c603-4d94-bdad-fe2ebbef90bd","size":2097152000,"type":"R= OOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"b06ada48-12e1= -343e-b429-6e8e516397ba","deviceId":0}],"nics":[{"deviceId":2,"networkRateM= bps":-1,"defaultNic":true,"uuid":"e9026157-f1d8-4486-a89e-74b9dd21f624","ip= ":"10.223.138.21","netmask":"255.255.255.192","gateway":"10.223.138.1","mac= ":"06:4b:2c:00:00:1b","dns1":"8.8.8.8","dns2":"8.8.4.4","broadcastType":"Vl= an","type":"Public","broadcastUri":"vlan://1380","isolationUri":"vlan://138= 0","isSecurityGroupEnabled":false},{"deviceId":0,"networkRateMbps":-1,"defa= ultNic":false,"uuid":"f3d9931c-395b-450d-b4e2-8968ea936642","ip":"169.254.1= .101","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:01= :65","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":= false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"05478e= d5-8cd6-41fe-be55-afe0bafa3ba6","ip":"10.223.58.7","netmask":"255.255.255.1= 92","gateway":"10.223.58.1","mac":"06:17:da:00:00:04","broadcastType":"Nati= ve","type":"Management","isSecurityGroupEnabled":false},{"deviceId":3,"netw= orkRateMbps":-1,"defaultNic":false,"uuid":"27ff90a9-82a5-4276-a9c9-a39d396b= 8de1","ip":"10.223.58.8","netmask":"255.255.255.192","gateway":"10.223.58.1= ","mac":"06:15:e0:00:00:05","broadcastType":"Native","type":"Storage","isSe= curityGroupEnabled":false}]},"hostIp":"10.223.58.2","wait":0}},{"check.Chec= kSshCommand":{"ip":"169.254.1.101","port":3922,"interval":6,"retries":100,"= name":"s-1-NEWXENTEMPL","wait":0}}] } 2013-03-06 17:37:01,283 DEBUG [agent.manager.DirectAgentAttache] (DirectAge= nt-2:null) Seq 1-2123956242: Executing request 2013-03-06 17:37:01,400 DEBUG [xen.resource.CitrixResourceBase] (DirectAgen= t-2:null) 1. The VM s-1-NEWXENTEMPL is in Starting state. 2013-03-06 17:37:01,563 DEBUG [xen.resource.XenServer56FP1Resource] (Direct= Agent-2:null) Created VM e168bed7-3445-14b2-288b-fd20493c2482 for s-1-NEWXE= NTEMPL 2013-03-06 17:37:01,601 DEBUG [xen.resource.XenServer56FP1Resource] (Direct= Agent-2:null) PV args are -- quiet console=3Dhvc0%template=3DdomP%type=3Dse= cstorage%host=3D10.223.131.170%port=3D8250%name=3Ds-1-NEWXENTEMPL%zone=3D1%= pod=3D1%guid=3Ds-1-NEWXENTEMPL%resource=3Dcom.cloud.storage.resource.NfsSec= ondaryStorageResource%instance=3DSecStorage%sslcopy=3Dtrue%role=3DtemplateP= rocessor%mtu=3D1500%eth2ip=3D10.223.138.21%eth2mask=3D255.255.255.192%gatew= ay=3D10.223.138.1%public.network.device=3Deth2%eth0ip=3D169.254.1.101%eth0m= ask=3D255.255.0.0%eth1ip=3D10.223.58.7%eth1mask=3D255.255.255.192%mgmtcidr= =3D10.223.131.0/24%localgw=3D10.223.58.1%private.network.device=3Deth1%eth3= ip=3D10.223.58.8%eth3mask=3D255.255.255.192%storageip=3D10.223.58.8%storage= netmask=3D255.255.255.192%storagegateway=3D10.223.58.1%internaldns1=3D10.22= 3.110.254%internaldns2=3D10.223.110.253%dns1=3D8.8.8.8%dns2=3D8.8.4.4 2013-03-06 17:37:01,711 DEBUG [xen.resource.CitrixResourceBase] (DirectAgen= t-2:null) VBD 95f97e8f-4ce8-76e6-5536-222a8eecc45c created for Vol[1|ROOT|b= f5a3843-c603-4d94-bdad-fe2ebbef90bd|2097152000] 2013-03-06 17:37:01,797 DEBUG [xen.resource.CitrixResourceBase] (DirectAgen= t-2:null) Creating VIF for s-1-NEWXENTEMPL on nic [Nic:Public-10.223.138.21= -vlan://1380] I see the gateway Information in the mgmt log and on the cmdline info on th= e SSVM. I am not sure why the default route didnt get programmed on the SSV= M, =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Work Around: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Manually add the missing default route on the SSVM. -- 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