<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;">HI Salvatore, </div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;"><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Thank you for your reply and sorry for being a pain in the butt. </div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">What I really need help with is the initial setup in the localrc file. I dont really understand how each piece works.</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div
style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">The internal network can be any ip range and gateway, but I do not understand the public network part.</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Does the floating range have to match the subnet that my eth0 ip is on?</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">if I specify the floating range to 192.168.100.0/24 devstack still gives me a gateway starting 172.x.x.x that is configured in br-ex interface</div><div style="font-family: tahoma,
'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Does it not matter what the floating range ips are?</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">This is my localrc file. Can you tell me where I am going wrong first before we get into the serious troubleshooting? Thank you soo much!</div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family:
tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">-------------------------------</div><div style="background-color: transparent;"><br></div><div style="background-color: transparent;"><font size="2">HOST_IP=192.168.100.24</font></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; font-style: normal;"><font size="2"><br></font></div><div style="background-color: transparent;"><font size="2">#network</font></div><div style="background-color: transparent;"><font size="2">FLAT_INTERFACE=eth0</font></div><div style="background-color: transparent;"><font size="2">FIXED_RANGE=10.0.0.0/24</font></div><div style="background-color: transparent;"><font size="2">NETWORK_GATEWAY=10.0.0.1</font></div><div style="background-color: transparent;"><font size="2">FLOATING_RANGE=192.168.100.0/24</font></div><div
style="background-color: transparent;"><span style="font-size: 13px; background-color: transparent;"> </span><br></div><div style="background-color: transparent;"><font size="2">ADMIN_PASSWORD=VMDa53K1g</font></div><div style="background-color: transparent;"><font size="2">MYSQL_PASSWORD=VMDa53K1g</font></div><div style="background-color: transparent;"><font size="2">RABBIT_PASSWORD=VMDa53K1g</font></div><div style="background-color: transparent;"><font size="2">SERVICE_PASSWORD=VMDa53K1g</font></div><div style="background-color: transparent;"><font size="2">SERVICE_TOKEN=VMDa53K1g</font></div><div style="background-color: transparent;"><font size="2"><br></font></div><div style="background-color: transparent;"><font size="2">disable_service n-net</font></div><div style="background-color: transparent;"><font size="2">enable_service q-svc</font></div><div style="background-color: transparent;"><font size="2">enable_service q-agt</font></div><div
style="background-color: transparent;"><font size="2">enable_service q-dhcp</font></div><div style="background-color: transparent;"><font size="2">enable_service q-l3</font></div><div style="background-color: transparent;"><font size="2">enable_service q-meta</font></div><div style="background-color: transparent;"><font size="2">enable_service quantum</font></div><div style="background-color: transparent;"><font size="2">enable_service q-lbaas</font></div><div style="background-color: transparent;"><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"> </div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transparent;
font-style: normal;"><br></div><div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;"><br></div> <div style="font-family: tahoma, 'new york', times, serif; font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Salvatore Orlando <sorlando@nicira.com><br> <b><span style="font-weight: bold;">To:</span></b> Jake G. <dj_dark_junglist@yahoo.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, August 2, 2013 3:51 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Openstack] Devstack Grizzly networking help needed<br> </font> </div> <div class="y_msg_container"><br>
<div id="yiv7389959268"><div dir="ltr">The fact that you do not get addresses from the dhcp server has little to do with the floating IP range, and getting a 172.x.x.x network when no range is specified is the default behaviour.<div>If you refer to 'public network' to the one where you're going to create floating IPs, then usually addresses are not distributed by DHCP there.</div>
<div><br></div><div>The fact that you do not get DHCP addresses on the private network, on a simple setup like the single-host one, might mean we need to look at failures in openstack services rather than devstack configuration issues.</div>
<div><br></div><div>I assume that you're using neutron (this is what I recall from your previous posts), and that the following servcies are running in devstack (check if they crashed too!).</div><div>1) quantum-server</div>
<div>2) quantum-agent</div><div>3) quantum-dhcp-agent</div><div>4) quantum-l3-agent</div><div>5) quantum-meta</div><div><br></div><div>1) Check the NICs on your instance; if you don't find any then perhaps the interface driver in nova is not working - set NOVA_VIF_DRIVER to nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver in your localrc (this should be the default value anyway) - or go to nova.conf and set libvirt_vif_driver to the above value</div>
<div>2) If the NICs are present, verify they're being plugged into br-int. Otherwise either check again nova's libvirt_vif_driver, or check if you have br-int at all! If you don't then probably openvswitch-switch is not running and this is likely to be your issue</div>
<div>3) If all the interfaces are up and running, we should focus on why DHCP traffic is being dropped. One reason might be the DHCP agent is not responding at all. Verify that you do not have errors in the DHCP agent log</div>
<div>4) If none of the above bullets helps you, then you can try and boot to vms and give them manually the address neutron selected for them, and then see if you have connectivity. Then we will be able to say whether we need to look at a DHCP problem or a general connectivity issue.</div>
<div><br></div><div>Salvatore</div></div><div class="yiv7389959268gmail_extra"><br><br><div class="yiv7389959268gmail_quote">On 2 August 2013 07:37, Jake G. <span dir="ltr"><<a rel="nofollow" ymailto="mailto:dj_dark_junglist@yahoo.com" target="_blank" href="mailto:dj_dark_junglist@yahoo.com">dj_dark_junglist@yahoo.com</a>></span> wrote:<br>
<blockquote class="yiv7389959268gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size: 10pt; font-family: tahoma, 'new york', times, serif;"><div><font>HI all, Another day of failed attempts to get this right. Would appreciate any help you can give. Its been almost 3 weeks and I haven't been able to get past this point.</font></div>
<div style="font-size:10pt;font-family:tahoma,;"><div style="font-size:12pt;"><div><div><div style="font-size:10pt;font-family:tahoma,;">
<div style="font-style:normal;font-size:13px;background-color:transparent;font-family:tahoma,;"><font face="tahoma, new york, times, serif"><br></font></div><div style="font-style:normal;background-color:transparent;font-family:tahoma,;">
<font>I have an All-in-one Devstack grizzly deployment here, but I cannot get the networking right no matter how I configure it.</font></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:tahoma,;">
<br></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:tahoma,;"><font face="tahoma, new york, times, serif"><br></font></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:tahoma,;">
<font face="tahoma, new york, times, serif">My Physical Host NIC settings are:</font></div><div style="font-style:normal;font-size:13px;background-color:transparent;font-family:tahoma,;"><font face="tahoma, new york, times, serif">-----------------------------------------</font></div>
<div style="font-style:normal;font-size:13px;background-color:transparent;font-family:tahoma,;"><font face="tahoma, new york, times, serif">auto eth0</font></div><div><font face="tahoma, new york, times,
serif">iface eth0 inet static</font></div><div><font face="tahoma, new york, times, serif"> address 192.168.100.24</font></div><div><font face="tahoma, new york, times, serif"> netmask 255.255.255.0</font></div>
<div><font face="tahoma, new york, times, serif"> network 192.168.100.0</font></div><div><font face="tahoma, new york, times, serif"> broadcast 192.168.100.255</font></div><div><font face="tahoma, new york, times, serif"> gateway 192.168.100.254</font></div>
<div><br></div><div><font face="tahoma, new york, times, serif">#Secondary network not connected to anything(cable not plugged in)</font></div><div><font face="tahoma, new york, times, serif">auto eth1</font></div><div><font face="tahoma, new york, times, serif">
iface eth1 inet
manual</font></div><div><font face="tahoma, new york, times, serif"> up ifconfig $IFACE 0.0.0.0 up</font></div><div><font face="tahoma, new york, times, serif"> up ip link set $IFACE promisc on</font></div>
<div><font face="tahoma, new york, times, serif"> down ip link set $IFACE promisc off</font></div><div><font face="tahoma, new york, times, serif"> down ifconfig $IFACE down</font></div><div style="font-style:normal;background-color:transparent;font-family:tahoma,;">
<font>------------------------------------------</font></div><div style="font-size:13px;font-style:normal;background-color:transparent;font-family:tahoma,;"><font><br></font></div><div style="font-size:13px;font-style:normal;background-color:transparent;font-family:tahoma,;">
<font>What should my localrc file correctly look like? I really dont understand this. Should the floating IPs be on the same subnet as my host IP?</font></div><div style="font-size:13px;font-style:normal;background-color:transparent;font-family:tahoma,;">
<font>for example, HOST_IP=</font><span style="font-size:13px;"><a rel="nofollow" target="_blank" href="http://192.168.100.24/24">192.168.100.24/24</a> with the GW 192.168.100.254 FLOATING_RANGE=<a rel="nofollow" target="_blank" href="http://192.168.100.0/24">192.168.100.0/24</a></span></div>
<div style="font-size:13px;font-style:normal;background-color:transparent;font-family:tahoma,;"><br></div><div style="font-size:13px;font-style:normal;background-color:transparent;font-family:tahoma,;">
<font>if I dont
configure any ips ranges then I always get a 172. IP for
my public network and my instances do not get a IP from DHCP services.</font></div><div style="font-size:13px;font-style:normal;background-color:transparent;font-family:tahoma,;"><font><br></font></div>
<div style="font-size:13px;font-style:normal;background-color:transparent;font-family:tahoma,;"><font>Thank you for your help</font></div><div style="font-size:13px;font-style:normal;background-color:transparent;font-family:tahoma,;">
<font><br></font></div></div></div><br></div> </div> </div> </div></div><br>_______________________________________________<br>
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack<br>
Post to : <a rel="nofollow" ymailto="mailto:openstack@lists.openstack.org" target="_blank" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a rel="nofollow" target="_blank" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div></div><br><br></div> </div> </div> </div></body></html>