<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div><span>Also forgot to specify my VM external address is 10.7.7.105. The external network CIDR is 10.7.0.0/16 gateway is 10.7.0.1.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span><br></span></div> <div
class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> On Tuesday, October 14, 2014 3:40 PM, Amit Anand <mr_amitanand@yahoo.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><div id="yiv0661521778"><div><div style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"><div class="yiv0661521778" style=""><span class="yiv0661521778" style="">Hi James,</span></div><div class="yiv0661521778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial,
'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></span></div><div class="yiv0661521778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span class="yiv0661521778" style="">Thanks for the response! Yeah Ive tried that no luck. My resolv.conf on a VM (192.168.1.5) is as follows:</span></div><div class="yiv0661521778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></span></div><div class="yiv0661521778" style="background-color:transparent;">nameserver
192.168.1.3 </div><div class="yiv0661521778" style="background-color:transparent;">nameserver 10.7.0.1</div><div class="yiv0661521778" style="background-color:transparent;"><span class="yiv0661521778" style=""></span></div><div class="yiv0661521778" style="background-color:transparent;">search openstacklocal</div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div><div class="yiv0661521778" style="">The first is the demo-subnet dhcp address.</div><div class="yiv0661521778" style="">The second is the outside network gateway/dns address.</div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div><div class="yiv0661521778" style="">Neither work. Whenever I try anything this what I get:</div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div><div class="yiv0661521778" style=""><div class="yiv0661521778" style=""> dig domain.com
@8.8.8.8</div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div><div class="yiv0661521778" style="">; <<>> DiG 9.9.5-3-Ubuntu <<>> domain.com @8.8.8.8</div><div class="yiv0661521778" style="">;; global options: +cmd</div><div class="yiv0661521778" style="">;; connection timed out; no servers could be reached</div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div><div class="yiv0661521778" style="">Weirdly, when I try to do an nslookup from the VM and then tcpdump on port 53, on the network node qrouter namespace I see no requests, but I do see requests on the compute node:</div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div><div class="yiv0661521778" style=""><div class="yiv0661521778" style="">15:37:36.150955 IP (tos
0x0, ttl 64, id 64629, offset 0, flags [none], proto UDP (17), length 67)</div><div class="yiv0661521778" style=""> 192.168.1.5.35247 > 8.8.8.8.domain: 28059+ [1au] A? domain.com. (39)</div><div class="yiv0661521778" style="">15:37:41.151060 IP (tos 0x0, ttl 64, id 64630,
offset 0, flags [none], proto UDP (17), length 67)</div><div class="yiv0661521778" style=""> 192.168.1.5.35247 > 8.8.8.8.domain: 28059+ [1au] A? domain.com. (39)</div><div class="yiv0661521778" style="">15:37:46.151166 IP (tos 0x0, ttl 64, id 64631, offset 0, flags [none], proto UDP (17), length 67)</div><div class="yiv0661521778" style=""> 192.168.1.5.35247 > 8.8.8.8.domain: 28059+ [1au] A? domain.com. (39)</div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div><div class="yiv0661521778" style="">Also I can do an nslookup from the namespace itself and works no problem:</div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div><div class="yiv0661521778" style=""><div
class="yiv0661521778" style="">ip netns exec qrouter-d9b5f02b-48c5-44a1-bc4b-7ba0336ee201 nslookup www.google.com</div><div class="yiv0661521778" style="">Server: 10.7.0.1</div><div class="yiv0661521778" style="">Address:
10.7.0.1#53</div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div><div class="yiv0661521778" style="">Non-authoritative answer:</div><div class="yiv0661521778" style="">Name: www.google.com</div><div class="yiv0661521778" style="">Address: 74.125.225.148</div><div class="yiv0661521778" style="">Name: www.google.com</div><div class="yiv0661521778" style="">Address: 74.125.225.146</div><div class="yiv0661521778" style="">...etc....</div><div class="yiv0661521778" style=""><br clear="none"></div><div class="yiv0661521778" style=""><br clear="none"></div></div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div></div><div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div></div> <div class="yiv0661521778qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv0661521778yqt6768051157"
id="yiv0661521778yqt19896"><div class="yiv0661521778yahoo_quoted" style="display: block;"> <div class="yiv0661521778" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"> <div class="yiv0661521778" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"> <div class="yiv0661521778" dir="ltr" style="">
<font class="yiv0661521778" size="2" face="Arial" style=""> On Tuesday, October 14, 2014 3:05 PM, James Denton <james.denton@rackspace.com> wrote:<br clear="none" class="yiv0661521778" style=""> </font> </div> <br clear="none" class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""> <div class="yiv0661521778" style=""><div class="yiv0661521778" id="yiv0661521778" style=""><div class="yiv0661521778" style="">
<div class="yiv0661521778" style="">Hi Amit,</div>
<div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style="">
</div>
<div class="yiv0661521778" style="">Have you tried specifying a name server with dig? Ie. dig domain.com @8.8.8.8 <—google DNS</div>
<div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style="">
</div>
<div class="yiv0661521778" style="">Have you confirmed your instances have a resolver configured in /etc/resolv.conf? This usually occurs via DHCP.</div>
<div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style="">
</div>
<div class="yiv0661521778" style="">James</div>
<div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style="">
</div>
<span class="yiv0661521778" id="yiv0661521778OLK_SRC_BODY_SECTION" style="">
</span><div class="yiv0661521778" id="yiv0661521778yqt66964" style=""><div class="yiv0661521778" style="font-family: Calibri; font-size: 11pt; text-align: left; color: black; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);">
<span class="yiv0661521778" style="font-weight:bold;">From: </span>Amit Anand <<a rel="nofollow" shape="rect" class="yiv0661521778" ymailto="mailto:mr_amitanand@yahoo.com" target="_blank" href="mailto:mr_amitanand@yahoo.com" style="">mr_amitanand@yahoo.com</a>><br clear="none" class="yiv0661521778" style="">
<span class="yiv0661521778" style="font-weight:bold;">Reply-To: </span>Amit Anand <<a rel="nofollow" shape="rect" class="yiv0661521778" ymailto="mailto:mr_amitanand@yahoo.com" target="_blank" href="mailto:mr_amitanand@yahoo.com" style="">mr_amitanand@yahoo.com</a>><br clear="none" class="yiv0661521778" style="">
<span class="yiv0661521778" style="font-weight:bold;">Date: </span>Tuesday, October 14, 2014 at 11:59 AM<br clear="none" class="yiv0661521778" style="">
<span class="yiv0661521778" style="font-weight:bold;">To: </span>"<a rel="nofollow" shape="rect" class="yiv0661521778" ymailto="mailto:openstack@lists.openstack.org" target="_blank" href="mailto:openstack@lists.openstack.org" style="">openstack@lists.openstack.org</a>" <<a rel="nofollow" shape="rect" class="yiv0661521778" ymailto="mailto:openstack@lists.openstack.org" target="_blank" href="mailto:openstack@lists.openstack.org" style="">openstack@lists.openstack.org</a>><br clear="none" class="yiv0661521778" style="">
<span class="yiv0661521778" style="font-weight:bold;">Subject: </span>[Openstack] Name Resolution problem (ICEHOUSE)<br clear="none" class="yiv0661521778" style="">
</div>
<div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style="">
</div>
<div class="yiv0661521778" style="">
<div class="yiv0661521778" style="">
<div class="yiv0661521778" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">
<div class="yiv0661521778" style="">Hi all,</div>
<div class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style="">
</div>
<div class="yiv0661521778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">
So I have a DNS (or at least it seems to be only DNS) problem with the VM's I have created. I cannot resolve anything from within the VM's. I can ping outside by IP (ie, I can ping google,etc but only by IP) but cannot do a dig, curl, nslookup, etc by name.
I have no clue why this is happening and Ive tried some of the solutions other have recommended at Ask Openstack but to no avail. I was hoping someone here maybe able to point me in the right direction. I have also posted the question at Ask, all the node
stack details are here:</div>
<div class="yiv0661521778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">
<br clear="none" class="yiv0661521778" style="">
</div>
<div class="yiv0661521778" style="background-color:transparent;"><a rel="nofollow" shape="rect" class="yiv0661521778" target="_blank" href="https://ask.openstack.org/en/question/48587/no-internet-access-from-vm/" style="">No internet access from VM - Ask OpenStack: Q&A Site for OpenStack Users and Developers</a><br clear="none" class="yiv0661521778" style="">
</div>
<div class="yiv0661521778" id="yiv0661521778enhancrCard_0" style="width: 450px; font-family: Georgia, Times, 'Times New Roman', serif; margin-top: 5px; margin-bottom: 5px;">
<table class="yiv0661521778" cellspacing="0" cellpadding="0" border="0" style="width:450px;height:auto;display:block;"><tbody class="yiv0661521778" style=""><tr class="yiv0661521778" style=""><td colspan="7" rowspan="1" class="yiv0661521778" style="height:1px;background-color:#e5e5e5;font-size:1px;border-collapse:collapse;">
<div class="yiv0661521778" style="height:1px;background-color:#e5e5e5;font-size:1px;line-height:0px;">
</div>
</td></tr><tr class="yiv0661521778" style=""><td colspan="1" rowspan="5" class="yiv0661521778" style="width:1px;background-color:#e5e5e5;font-size:1pt;border-collapse:collapse;">
<div class="yiv0661521778" style="width:1px;background-color:#e5e5e5;font-size:1pt;">
</div>
</td><td colspan="1" rowspan="5" class="yiv0661521778" style="width:14px;background-color:#ffffff;font-size:0pt;border-collapse:collapse;">
<div class="yiv0661521778" style="width:14px;background-color:#ffffff;font-size:14pt;">
</div>
</td><td colspan="2" rowspan="1" class="yiv0661521778" style="height:6px;background-color:#ffffff;font-size:0pt;border-collapse:collapse;">
<div class="yiv0661521778" style="height:6px;background-color:#ffffff;font-size:6pt;">
</div>
</td><td colspan="1" rowspan="5" class="yiv0661521778" style="width:20px;background-color:#ffffff;font-size:0pt;border-collapse:collapse;">
<div class="yiv0661521778" style="width:20px;background-color:#ffffff;font-size:20pt;">
</div>
</td><td colspan="1" rowspan="5" class="yiv0661521778" width="1" style="width:1px;background-color:#e5e5e5;font-size:1pt;border-collapse:collapse;">
<div class="yiv0661521778" style="width:1px;background-color:#e5e5e5;font-size:1pt;">
</div>
</td></tr><tr class="yiv0661521778" style=""><td colspan="2" rowspan="1" class="yiv0661521778" style="width: 100%; vertical-align: middle; font-family: Georgia, Times, 'Times New Roman', serif;">
<div class="yiv0661521778" style="line-height:16.5px;background-color:#ffffff;width:414px;">
<div class="yiv0661521778" style="word-wrap:break-word;">
<span class="yiv0661521778" style=""></span><span class="yiv0661521778" style=""></span><a rel="nofollow" shape="rect" class="yiv0661521778" target="_blank" href="https://ask.openstack.org/en/question/48587/no-internet-access-from-vm/" style="text-decoration:none;color:#000000;"><span class="yiv0661521778" style="margin:0;font-weight:normal;margin-bottom:3px;font-size:18px;line-height:21px;max-height:43px;color:#000000;overflow:hidden;display:inline-block;">No
internet access from VM - Ask OpenStack: Q&A Site for OpenStack Users and Developers</span></a>
<div class="yiv0661521778" style="font-size: 13px; line-height: 20px; color: rgb(153, 153, 153); max-height: 81px; font-family: Georgia, Times, 'Times New Roman', serif; overflow: hidden;">
Hi all, So I cant seem to access the internet from my VMs. I can access the floating IPs from anywhere in our network and from all nodes now (controller/network/compute) just fine (but strangely I cannot access the private ips, the tenant network from any of
the nodes?!) but cant ...</div>
</div>
</div>
</td></tr><tr class="yiv0661521778" style=""><td colspan="2" rowspan="1" class="yiv0661521778" style="height:6px;background-color:#ffffff;font-size:0pt;border-collapse:collapse;">
<div class="yiv0661521778" style="height:6px;background-color:#ffffff;font-size:6pt;">
</div>
</td></tr><tr class="yiv0661521778" style=""><td colspan="1" rowspan="1" class="yiv0661521778" style="vertical-align: middle; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;">
<div class="yiv0661521778" style="font-size:0pt;"><a rel="nofollow" shape="rect" class="yiv0661521778" target="_blank" href="https://ask.openstack.org/en/question/48587/no-internet-access-from-vm/" style="color:black;text-decoration:none;cursor:pointer;"><span class="yiv0661521778" style="display:inline-block;line-height:11px;max-width:314px;min-width:254px;overflow:hidden;max-height:13px;"><span class="yiv0661521778" style="vertical-align:middle;font-size:9px;line-height:11px;color:#999999;">View
on <span class="yiv0661521778" style="font-weight:bold;">ask.openstack.org</span></span></span></a></div>
</td><td colspan="1" rowspan="1" class="yiv0661521778" style="vertical-align: middle; width: 100px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;">
<div class="yiv0661521778" style="max-width:100px;min-width:80px;overflow:hidden;text-align:right;line-height:11px;max-height:13px;font-size:0pt;">
<span class="yiv0661521778" style="vertical-align:middle;font-size:9px;line-height:11px;color:#999999;">Preview
by Yahoo</span></div>
</td></tr><tr class="yiv0661521778" style=""><td colspan="2" rowspan="1" class="yiv0661521778" style="height:9px;background-color:#ffffff;font-size:0pt;border-collapse:collapse;">
<div class="yiv0661521778" style="height:9px;background-color:#ffffff;font-size:9pt;">
</div>
</td></tr><tr class="yiv0661521778" style=""><td colspan="7" rowspan="1" class="yiv0661521778" style="height:1px;background-color:#e5e5e5;font-size:1px;border-collapse:collapse;">
<div class="yiv0661521778" style="height:1px;background-color:#e5e5e5;font-size:1px;line-height:0px;">
</div>
</td></tr></tbody></table>
</div>
<div class="yiv0661521778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">
<br clear="none" class="yiv0661521778" style="">
</div>
<div class="yiv0661521778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">
<br clear="none" class="yiv0661521778" style="">
</div>
<div class="yiv0661521778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">
Thanks in advance for any help!</div>
<div class="yiv0661521778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">
<br clear="none" class="yiv0661521778" style="">
</div>
<div class="yiv0661521778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">
Amit</div>
<div class="yiv0661521778" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">
<br clear="none" class="yiv0661521778" style="">
</div>
</div>
</div>
</div></div>
</div></div><br clear="none" class="yiv0661521778" style=""><br clear="none" class="yiv0661521778" style=""></div> </div> </div> </div></div> </div></div></div><br><br></div> </div> </div> </div> </div></body></html>