Check if you have a dnsmasq running on host that runs nova-network. It's necessary a DNS service on 10.0.1.1.<div><br></div><div>On the nova-network host:</div><div><br></div><div>$ ps aux | grep dns</div><div><br></div>
<div>or you can look for open ports:</div><div><br></div><div>$ netstat -tupan | grep 53</div><div><br></div><div>:)<br><br><div class="gmail_quote">On Fri, Oct 7, 2011 at 2:08 PM, Sharif Islam <span dir="ltr"><<a href="mailto:islamsh@indiana.edu">islamsh@indiana.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
The instances in openstack are running and I can ssh using the public<br>
address (cactus release). Today I noticed, the vms cannnot connect to<br>
the outside world properly. I don't recall this happening before. The<br>
issue seems to be with name resolution. I can ping fine using the ip<br>
addresses.<br>
<br>
<br>
$ ssh -i natty2.pem root@xxx.xxx.xx.xxx<br>
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-11-virtual x86_64)<br>
<br>
Last login: Fri Oct 7 14:17:47 2011 from 129.79.49.229<br>
root@i-000003e4:~# ifconfig eth0<br>
eth0 Link encap:Ethernet HWaddr 02:16:3e:27:5a:da<br>
inet addr:10.0.1.7 Bcast:10.0.1.255 Mask:255.255.255.0<br>
inet6 addr: fe80::16:3eff:fe27:5ada/64 Scope:Link<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:3995 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:494 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000<br>
RX bytes:654810 (654.8 KB) TX bytes:67031 (67.0 KB)<br>
Interrupt:11 Base address:0xa000<br>
<br>
root@i-000003e4:~# ping <a href="http://www.google.com" target="_blank">www.google.com</a><br>
ping: unknown host <a href="http://www.google.com" target="_blank">www.google.com</a><br>
root@i-000003e4:~# ping 72.14.204.103<br>
PING 72.14.204.103 (72.14.204.103) 56(84) bytes of data.<br>
64 bytes from <a href="http://72.14.204.103" target="_blank">72.14.204.103</a>: icmp_req=1 ttl=54 time=32.3 ms<br>
64 bytes from <a href="http://72.14.204.103" target="_blank">72.14.204.103</a>: icmp_req=2 ttl=54 time=32.4 ms<br>
^C<br>
- --- 72.14.204.103 ping statistics ---<br>
<br>
<br>
# dig @<a href="http://10.0.1.1" target="_blank">10.0.1.1</a> <a href="http://google.com" target="_blank">google.com</a><br>
<br>
; <<>> DiG 9.7.3 <<>> @<a href="http://10.0.1.1" target="_blank">10.0.1.1</a> <a href="http://google.com" target="_blank">google.com</a><br>
; (1 server found)<br>
;; global options: +cmd<br>
;; connection timed out; no servers could be reached<br>
<br>
<br>
# dig @<a href="http://8.8.4.4" target="_blank">8.8.4.4</a> <a href="http://google.com" target="_blank">google.com</a><br>
<br>
; <<>> DiG 9.7.3 <<>> @<a href="http://8.8.4.4" target="_blank">8.8.4.4</a> <a href="http://google.com" target="_blank">google.com</a><br>
; (1 server found)<br>
;; global options: +cmd<br>
;; Got answer:<br>
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 977<br>
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0<br>
<br>
;; QUESTION SECTION:<br>
;<a href="http://google.com" target="_blank">google.com</a>. IN A<br>
<br>
;; ANSWER SECTION:<br>
<a href="http://google.com" target="_blank">google.com</a>. 300 IN A 72.14.204.147<br>
<a href="http://google.com" target="_blank">google.com</a>. 300 IN A 72.14.204.105<br>
<a href="http://google.com" target="_blank">google.com</a>. 300 IN A 72.14.204.103<br>
<a href="http://google.com" target="_blank">google.com</a>. 300 IN A 72.14.204.104<br>
<a href="http://google.com" target="_blank">google.com</a>. 300 IN A 72.14.204.99<br>
<br>
;; Query time: 36 msec<br>
;; SERVER: 8.8.4.4#53(8.8.4.4)<br>
;; WHEN: Fri Oct 7 14:39:00 2011<br>
;; MSG SIZE rcvd: 108<br>
<br>
<br>
# cat /etc/resolv.conf<br>
nameserver 10.0.1.1<br>
domain novalocal<br>
search novalocal<br>
<br>
# route -n<br>
Kernel IP routing table<br>
Destination Gateway Genmask Flags Metric Ref Use<br>
Iface<br>
10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0<br>
0.0.0.0 10.0.1.1 0.0.0.0 UG 100 0 0 eth0<br>
<br>
When I add nameserver 8.8.4.4 in resolv.conf, I can ping them. Any idea?<br>
<br>
<br>
- --sharif<br>
<br>
<br>
- --<br>
Sharif Islam<br>
Senior Systems Analyst/Programmer<br>
FutureGrid (<a href="http://futuregrid.org" target="_blank">http://futuregrid.org</a>)<br>
Pervasive Technology Institute, Indiana University Bloomington<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iQEcBAEBAgAGBQJOjzIAAAoJEACffes9SivFCPoIAIReLK6aaghrBhWsCilKoy+e<br>
QZwMEjEytldN2LTTTimaE7rhG/C73L40qRQaUToojm8UrpeiaYYwSvjaeazxR65i<br>
9fUPu17cvzjt4UdbItet+/VEfFupLWd/47WCX7ky8m59aDpSP+BzQVj1IcQRan5E<br>
9OFtjeBKLuzndNerI1Cle0PgL709EPo/IbL+f4XlbfePnddZF0gjrHawZCPTRBUl<br>
1cAKoJNLcT6Jlt0BO1Xr9+Wf2K7wuDL/eUJtQ6Cq6ZRp9vXohO8bxjVZ1x8l9bQc<br>
Q0DC+4hxrVIml193vQo/PU9Kuqc6ARTdJK48ezZ/o3fcP6Z1kCl5lqSM6D3x4rs=<br>
=GUQz<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>- MSc. Correa, J.L.<br><br>
</div>