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 59C0C100FF for ; Wed, 10 Apr 2013 18:22:19 +0000 (UTC) Received: (qmail 3921 invoked by uid 500); 10 Apr 2013 18:22:19 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 3865 invoked by uid 500); 10 Apr 2013 18:22:19 -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 3738 invoked by uid 500); 10 Apr 2013 18:22:19 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 3671 invoked by uid 99); 10 Apr 2013 18:22:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2013 18:22:19 +0000 Date: Wed, 10 Apr 2013 18:22:19 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-1565) Used Master Branch System VM Template: Default Route on the System VMs (SSVM,CPVM and VR) is missing 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-1565?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D13628062#comment-13628062 ]=20 ASF subversion and git services commented on CLOUDSTACK-1565: ------------------------------------------------------------- Commit 9670553ea85d6593046425f2c040cc08d2e61733 in branch refs/heads/master= from Marcus Sorensen [ https://git-wip-us.apache.org/repos/asf?p=3Dcloudstack.git;h=3D9670553 ] In system vm, wait for interface to be available before configuring gateway= . Previous patch to this only did so for system vms with a $3 interface, usua= lly eth2. System VMs that only provide DNS wouldn't get a gateway, for example. BUG-ID: CLOUDSTACK-1565 Signed-off-by: Marcus Sorensen 1365617851 -0600 =20 > Used Master Branch System VM Template: Default Route on the System VMs (S= SVM,CPVM and VR) is missing > -------------------------------------------------------------------------= --------------------------- > > Key: CLOUDSTACK-1565 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-156= 5 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Management Server > Affects Versions: 4.1.0, 4.2.0 > Reporter: Chandan Purushothama > Assignee: Jayapal Reddy > Priority: Blocker > Fix For: 4.1.0, 4.2.0 > > Attachments: test.txt > > > =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/j= ob/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/= systemvmtemplate-2013-03-05-master-xen.vhd.bz2 during the Setup deployment. > 3. Observe that the default template download fails with "Network is Unre= achable" 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= =3Dhvc0%template=3DdomP%type=3Dsecstorage%host=3D10.223.131.170%port=3D8250= %name=3Ds-1-NEWXENTEMPL%zone=3D1%pod=3D1%guid=3Ds-1-NEWXENTEMPL%resource=3D= com.cloud.storage.resource.NfsSecondaryStorageResource%instance=3DSecStorag= e%sslcopy=3Dtrue%role=3DtemplateProcessor%mtu=3D1500%eth2ip=3D10.223.138.21= %eth2mask=3D255.255.255.192%gateway=3D10.223.138.1%public.network.device=3D= eth2%eth0ip=3D169.254.1.101%eth0mask=3D255.255.0.0%eth1ip=3D10.223.58.7%eth= 1mask=3D255.255.255.192%mgmtcidr=3D10.223.131.0/24%localgw=3D10.223.58.1%pr= ivate.network.device=3Deth1%eth3ip=3D10.223.58.8%eth3mask=3D255.255.255.192= %storageip=3D10.223.58.8%storagenetmask=3D255.255.255.192%storagegateway=3D= 10.223.58.1%internaldns1=3D10.223.110.254%internaldns2=3D10.223.110.253%dns= 1=3D8.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.SecondaryStorageManagerI= mpl] (secstorage-1:null) Telling the ssvm to load the NfsSecondaryStorageRe= source > 2013-03-06 17:37:01,253 DEBUG [storage.secondary.SecondaryStorageManagerI= mpl] (secstorage-1:null) Boot Args for VM[SecondaryStorageVm|s-1-NEWXENTEMP= L]: template=3DdomP type=3Dsecstorage host=3D10.223.131.170 port=3D8250 na= me=3Ds-1-NEWXENTEMPL zone=3D1 pod=3D1 guid=3Ds-1-NEWXENTEMPL resource=3Dcom= .cloud.storage.resource.NfsSecondaryStorageResource instance=3DSecStorage s= slcopy=3Dtrue role=3DtemplateProcessor mtu=3D1500 eth2ip=3D10.223.138.21 et= h2mask=3D255.255.255.192 gateway=3D10.223.138.1 public.network.device=3Deth= 2 eth0ip=3D169.254.1.101 eth0mask=3D255.255.0.0 eth1ip=3D10.223.58.7 eth1ma= sk=3D255.255.255.192 mgmtcidr=3D10.223.131.0/24 localgw=3D10.223.58.1 priva= te.network.device=3Deth1 eth3ip=3D10.223.58.8 eth3mask=3D255.255.255.192 st= orageip=3D10.223.58.8 storagenetmask=3D255.255.255.192 storagegateway=3D10.= 223.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:nul= l) Seq 1-2123956242: Sending { Cmd , MgmtId: 7200344900649, via: 1, Ver: v= 1, Flags: 100111, [{"StartCommand":{"vm":{"id":1,"name":"s-1-NEWXENTEMPL","= bootloader":"PyGrub","type":"SecondaryStorageVm","cpus":1,"minSpeed":500,"m= axSpeed":500,"minRam":268435456,"maxRam":268435456,"arch":"x86_64","os":"De= bian GNU/Linux 6(64-bit)","bootArgs":" template=3DdomP type=3Dsecstorage ho= st=3D10.223.131.170 port=3D8250 name=3Ds-1-NEWXENTEMPL zone=3D1 pod=3D1 gui= d=3Ds-1-NEWXENTEMPL resource=3Dcom.cloud.storage.resource.NfsSecondaryStora= geResource instance=3DSecStorage sslcopy=3Dtrue role=3DtemplateProcessor mt= u=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.2= 55.0.0 eth1ip=3D10.223.58.7 eth1mask=3D255.255.255.192 mgmtcidr=3D10.223.13= 1.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=3D25= 5.255.255.192 storagegateway=3D10.223.58.1 internaldns1=3D10.223.110.254 in= ternaldns2=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":"RO= OT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"b06ada48-12e1-= 343e-b429-6e8e516397ba","deviceId":0}],"nics":[{"deviceId":2,"networkRateMb= ps":-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":"Vla= n","type":"Public","broadcastUri":"vlan://1380","isolationUri":"vlan://1380= ","isSecurityGroupEnabled":false},{"deviceId":0,"networkRateMbps":-1,"defau= ltNic":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":f= alse},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"05478ed= 5-8cd6-41fe-be55-afe0bafa3ba6","ip":"10.223.58.7","netmask":"255.255.255.19= 2","gateway":"10.223.58.1","mac":"06:17:da:00:00:04","broadcastType":"Nativ= e","type":"Management","isSecurityGroupEnabled":false},{"deviceId":3,"netwo= rkRateMbps":-1,"defaultNic":false,"uuid":"27ff90a9-82a5-4276-a9c9-a39d396b8= de1","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","isSec= urityGroupEnabled":false}]},"hostIp":"10.223.58.2","wait":0}},{"check.Check= SshCommand":{"ip":"169.254.1.101","port":3922,"interval":6,"retries":100,"n= ame":"s-1-NEWXENTEMPL","wait":0}}] } > 2013-03-06 17:37:01,283 DEBUG [agent.transport.Request] (secstorage-1:nul= l) 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":= "Debian 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.NfsSecondarySt= orageResource 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=3D25= 5.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.2= 23.58.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.2= 54 internaldns2=3D10.223.110.253 dns1=3D8.8.8.8 dns2=3D8.8.4.4","rebootOnCr= ash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"72d0e0bb4c42= cc9c","params":{},"uuid":"fd705739-d518-48cf-8680-3e16f02f7253","disks":[{"= id":1,"name":"ROOT-1","mountPoint":"/export/home/chandan/asfmas-131-170/pri= mary","path":"bf5a3843-c603-4d94-bdad-fe2ebbef90bd","size":2097152000,"type= ":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"b06ada48-= 12e1-343e-b429-6e8e516397ba","deviceId":0}],"nics":[{"deviceId":2,"networkR= ateMbps":-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,"= defaultNic":false,"uuid":"f3d9931c-395b-450d-b4e2-8968ea936642","ip":"169.2= 54.1.101","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:f= e:01:65","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabl= ed":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"05= 478ed5-8cd6-41fe-be55-afe0bafa3ba6","ip":"10.223.58.7","netmask":"255.255.2= 55.192","gateway":"10.223.58.1","mac":"06:17:da:00:00:04","broadcastType":"= Native","type":"Management","isSecurityGroupEnabled":false},{"deviceId":3,"= networkRateMbps":-1,"defaultNic":false,"uuid":"27ff90a9-82a5-4276-a9c9-a39d= 396b8de1","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","= isSecurityGroupEnabled":false}]},"hostIp":"10.223.58.2","wait":0}},{"check.= CheckSshCommand":{"ip":"169.254.1.101","port":3922,"interval":6,"retries":1= 00,"name":"s-1-NEWXENTEMPL","wait":0}}] } > 2013-03-06 17:37:01,283 DEBUG [agent.manager.DirectAgentAttache] (DirectA= gent-2:null) Seq 1-2123956242: Executing request > 2013-03-06 17:37:01,400 DEBUG [xen.resource.CitrixResourceBase] (DirectAg= ent-2:null) 1. The VM s-1-NEWXENTEMPL is in Starting state. > 2013-03-06 17:37:01,563 DEBUG [xen.resource.XenServer56FP1Resource] (Dire= ctAgent-2:null) Created VM e168bed7-3445-14b2-288b-fd20493c2482 for s-1-NEW= XENTEMPL > 2013-03-06 17:37:01,601 DEBUG [xen.resource.XenServer56FP1Resource] (Dire= ctAgent-2:null) PV args are -- quiet console=3Dhvc0%template=3DdomP%type=3D= secstorage%host=3D10.223.131.170%port=3D8250%name=3Ds-1-NEWXENTEMPL%zone=3D= 1%pod=3D1%guid=3Ds-1-NEWXENTEMPL%resource=3Dcom.cloud.storage.resource.NfsS= econdaryStorageResource%instance=3DSecStorage%sslcopy=3Dtrue%role=3Dtemplat= eProcessor%mtu=3D1500%eth2ip=3D10.223.138.21%eth2mask=3D255.255.255.192%gat= eway=3D10.223.138.1%public.network.device=3Deth2%eth0ip=3D169.254.1.101%eth= 0mask=3D255.255.0.0%eth1ip=3D10.223.58.7%eth1mask=3D255.255.255.192%mgmtcid= r=3D10.223.131.0/24%localgw=3D10.223.58.1%private.network.device=3Deth1%eth= 3ip=3D10.223.58.8%eth3mask=3D255.255.255.192%storageip=3D10.223.58.8%storag= enetmask=3D255.255.255.192%storagegateway=3D10.223.58.1%internaldns1=3D10.2= 23.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] (DirectAg= ent-2:null) VBD 95f97e8f-4ce8-76e6-5536-222a8eecc45c created for Vol[1|ROOT= |bf5a3843-c603-4d94-bdad-fe2ebbef90bd|2097152000] > 2013-03-06 17:37:01,797 DEBUG [xen.resource.CitrixResourceBase] (DirectAg= ent-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 = the SSVM. I am not sure why the default route didnt get programmed on the S= SVM, > =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