VM can't get IP address when running a multinodes deployment with GRE tunneling
Operating System: Ubuntu 12.10
Guide I followed: https:/
Three nodes deployment: A controller node, a quantum node and a compute note.
Quantum runs with openvswitch plugin and GRE tunnel enabled.
Problem Description:
When a VM 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(
In compute node, the configuration files are uploaded here:
nova-compute.conf:
http://
nova.conf:
http://
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.
cloud-setup: checking http://
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/
Dec 16 15:17:24 os-network dnsmasq-dhcp[1695]: read /var/lib/
Dec 16 15:17:50 os-network dnsmasq[1695]: cleared cache
Dec 16 15:17:50 os-network dnsmasq-dhcp[1695]: read /var/lib/
Dec 16 15:17:50 os-network dnsmasq-dhcp[1695]: read /var/lib/
Dec 16 15:17:50 os-network dnsmasq[1695]: cleared cache
Dec 16 15:17:50 os-network dnsmasq-dhcp[1695]: read /var/lib/
Dec 16 15:17:50 os-network dnsmasq-dhcp[1695]: read /var/lib/
Dec 16 15:18:07 os-network dnsmasq-dhcp[1695]: DHCPDISCOVER(
Dec 16 15:18:07 os-network dnsmasq-dhcp[1695]: DHCPOFFER(
Dec 16 15:18:10 os-network dnsmasq-dhcp[1695]: DHCPDISCOVER(
Dec 16 15:18:10 os-network dnsmasq-dhcp[1695]: DHCPOFFER(
Dec 16 15:18:13 os-network dnsmasq-dhcp[1695]: DHCPDISCOVER(
Dec 16 15:18:13 os-network dnsmasq-dhcp[1695]: DHCPOFFER(
Dec 16 15:19:42 os-network dnsmasq[1695]: cleared cache
Dec 16 15:19:42 os-network dnsmasq-dhcp[1695]: read /var/lib/
Dec 16 15:19:42 os-network dnsmasq-dhcp[1695]: read /var/lib/
However, 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.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Lingfeng Xiong
- Solved:
- Last query:
- Last reply: