Hi all,
Problem Description:
When a VM is launched, it cannot get a IP address. If I configure a IP
address by myself, it still cannot ping to virtual net gateway. Also,
the metadata server(169.254.169.254) is unreachable.
What the strange is, in network node, I can see dnsmasq is offering IP
address in syslog. But it seems the VM cannot receive it.
Operating System: Ubuntu 12.10
Guide I followed:
https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/GRE/2NICs/OpenStack_Folsom_Install_Guide_WebVersion.rst
Three nodes deployment: A controller node, a quantum node and a compute
note.
Quantum runs with openvswitch plugin and GRE tunnel enabled.
In compute node, the configuration files are uploaded here:
nova-compute.conf:
http://pastebin.com/9Dk2jSMx
nova.conf:
http://pastebin.com/HR6KaDwJ
The message when VM booting:
Initializing random number generator... done.
Starting network...
udhcpc (v1.18.5) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
WARN: /etc/rc3.d/S40-network failed
cloud-setup: checking
http://169.254.169.254/2009-04-04/meta-data/instance-id
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 1/30: up 15.13. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 2/30: up 16.20. request failed
In network node, I can see dnsmasq is offering DHCP info to the VM:
Dec 16 15:17:01 os-network CRON[21955]: (root) CMD ( cd / && run-parts
--report /etc/cron.hourly)
Dec 16 15:17:24 os-network dnsmasq[1695]: cleared cache
Dec 16 15:17:24 os-network dnsmasq-dhcp[1695]: read
/var/lib/quantum/dhcp/99302650-9edf-44e8-adc7-21a8782f1dfd/host
Dec 16 15:17:24 os-network dnsmasq-dhcp[1695]: read
/var/lib/quantum/dhcp/99302650-9edf-44e8-adc7-21a8782f1dfd/opts
Dec 16 15:17:50 os-network dnsmasq[1695]: cleared cache
Dec 16 15:17:50 os-network dnsmasq-dhcp[1695]: read
/var/lib/quantum/dhcp/99302650-9edf-44e8-adc7-21a8782f1dfd/host
Dec 16 15:17:50 os-network dnsmasq-dhcp[1695]: read
/var/lib/quantum/dhcp/99302650-9edf-44e8-adc7-21a8782f1dfd/opts
Dec 16 15:17:50 os-network dnsmasq[1695]: cleared cache
Dec 16 15:17:50 os-network dnsmasq-dhcp[1695]: read
/var/lib/quantum/dhcp/99302650-9edf-44e8-adc7-21a8782f1dfd/host
Dec 16 15:17:50 os-network dnsmasq-dhcp[1695]: read
/var/lib/quantum/dhcp/99302650-9edf-44e8-adc7-21a8782f1dfd/opts
Dec 16 15:18:07 os-network dnsmasq-dhcp[1695]:
DHCPDISCOVER(tapcd468438-56) fa:16:3e:9d:e2:17
Dec 16 15:18:07 os-network dnsmasq-dhcp[1695]: DHCPOFFER(tapcd468438-56)
50.50.1.3 fa:16:3e:9d:e2:17
Dec 16 15:18:10 os-network dnsmasq-dhcp[1695]:
DHCPDISCOVER(tapcd468438-56) fa:16:3e:9d:e2:17
Dec 16 15:18:10 os-network dnsmasq-dhcp[1695]: DHCPOFFER(tapcd468438-56)
50.50.1.3 fa:16:3e:9d:e2:17
Dec 16 15:18:13 os-network dnsmasq-dhcp[1695]:
DHCPDISCOVER(tapcd468438-56) fa:16:3e:9d:e2:17
Dec 16 15:18:13 os-network dnsmasq-dhcp[1695]: DHCPOFFER(tapcd468438-56)
50.50.1.3 fa:16:3e:9d:e2:17
Dec 16 15:19:42 os-network dnsmasq[1695]: cleared cache
Dec 16 15:19:42 os-network dnsmasq-dhcp[1695]: read
/var/lib/quantum/dhcp/99302650-9edf-44e8-adc7-21a8782f1dfd/host
Dec 16 15:19:42 os-network dnsmasq-dhcp[1695]: read
/var/lib/quantum/dhcp/99302650-9edf-44e8-adc7-21a8782f1dfd/opts
I have no idea why the VM cannot get that DHCPOFFER and why I configure
it's network manually it still cannot access gateway or other hosts...
If more information is required, please let me know, and I will add it
as soon as possible
Any hints are appreciated.
--
Regards,
Lingfeng Xiong
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp