VM's can't get IP + 169.254.169.254 unreachable
Hi all,
I'm currently running a 3 node setup with controller node, network node with OVS switch plugin and compute node installed using this guide.
https:/
When I load up an instance in dashboard, It loads up fine but according to the dashboard, they don't get the actual IP they are supposed to get. I get the error below in the instance log:
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 10.11. request failed
cloud-setup: failed to read iid from metadata. tried 30
WARN: /etc/rc3.
Starting dropbear sshd: OK
===== cloud-final: system completely up in 40.37 seconds ====
wget: can't connect to remote host (169.254.169.254): Network is unreachable
wget: can't connect to remote host (169.254.169.254): Network is unreachable
wget: can't connect to remote host (169.254.169.254): Network is unreachable
instance-id:
public-ipv4:
local-ipv4 :
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-userdata: failed to read instance id
WARN: /etc/rc3.
I don't know if the problem is dnsmasq, because the guide never fully configures it, or it's nova, or my config setups. My config files are pretty much identical to the config files listed in the guide, except I have different IP's of course. I will paste network config files below.
*******
L3_Agent.ini
[DEFAULT]
# Show debugging output in log (sets DEBUG log level output)
# debug = True
# L3 requires that an interface driver be set. Choose the one that best
# matches your plugin.
# OVS
interface_driver = quantum.
# LinuxBridge
#interface_driver = quantum.
# The Quantum user information for accessing the Quantum API.
auth_url = http://
auth_region = RegionOne
admin_tenant_name = service
admin_user = quantum
admin_password = password
# Use "sudo quantum-rootwrap /etc/quantum/
# root filter facility.
# Change to "sudo" to skip the filtering and just run the comand directly
root_helper = sudo /usr/bin/
# Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
# iproute2 package that supports namespaces).
use_namespaces = True
# If use_namespaces is set as False then the agent can only configure one router.
# This is done by setting the specific router_id.
router_id = d3724dc3-
# Each L3 agent can be associated with at most one external network. This
# value should be set to the UUID of that external network. If empty,
# the agent will enforce that only a single external networks exists and
# use that external network id
gateway_
# Indicates that this L3 agent should also handle routers that do not have
# an external network gateway configured. This option should be True only
# for a single agent in a Quantum deployment, and may be False for all agents
# if all routers must have an external network gateway
#handle_
# Name of bridge used for external network traffic. This should be set to
# empty value for the linux bridge
external_
# IP address used by Nova metadata server
metadata_ip = 10.1.1.3
# TCP Port used by Nova metadata server
metadata_port = 8775
# The time in seconds between state poll requests
# polling_interval = 3
*******
DHCP_AGENT.INI
[DEFAULT]
# Show debugging output in log (sets DEBUG log level output)
# debug = true
# Where to store dnsmasq state files. This directory must be writable by the
# user executing the agent. The value below is compatible with a default
# devstack installation.
state_path = /var/lib/quantum
# The DHCP agent will resync its state with Quantum to recover from any
# transient notification or rpc errors. The interval is number of
# seconds between attempts.
# resync_interval = 30
# The DHCP requires that an inteface driver be set. Choose the one that best
# matches you plugin.
# OVS
interface_driver = quantum.
# LinuxBridge
#interface_driver = quantum.
# Ryu
#interface_driver = quantum.
# The agent can use other DHCP drivers. Dnsmasq is the simplest and requires
# no additional setup of the DHCP server.
dhcp_driver = quantum.
# Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
# iproute2 package that supports namespaces).
use_namespaces = True
# Use "sudo quantum-rootwrap /etc/quantum/
# root filter facility.
# Change to "sudo" to skip the filtering and just run the comand directly
root_helper = sudo /usr/bin/
*******
Other troubleshooting
root@quantum:~# sudo ovs-vsctl show
3991bc6c-
Bridge br-int
Port "qr-95da0388-d3"
tag: 1
Port "tap66ba434e-f6"
tag: 1
Port patch-tun
Port br-int
Bridge "br-eth1"
Port "br-eth1"
Port "eth1"
Bridge br-tun
Port patch-int
Port "gre-1"
Port br-tun
Bridge br-ex
Port "qg-939d57b6-d1"
Port "eth0"
Port br-ex
ovs_version: "1.4.3"
*******
root@quantum:~# ip netns list
qdhcp-eec84bc1-
qrouter-
*******
root@quantum:~# ip netns exec qrouter-
PING 50.50.1.1 (50.50.1.1) 56(84) bytes of data.
64 bytes from 50.50.1.1: icmp_req=1 ttl=64 time=0.061 ms
64 bytes from 50.50.1.1: icmp_req=2 ttl=64 time=0.056 ms
64 bytes from 50.50.1.1: icmp_req=3 ttl=64 time=0.055 ms
64 bytes from 50.50.1.1: icmp_req=4 ttl=64 time=0.055 ms
^C
--- 50.50.1.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.055/0.
root@quantum:~# ip netns exec qrouter-
PING 50.50.1.2 (50.50.1.2) 56(84) bytes of data.
From 50.50.1.1 icmp_seq=1 Destination Host Unreachable
From 50.50.1.1 icmp_seq=2 Destination Host Unreachable
From 50.50.1.1 icmp_seq=3 Destination Host Unreachable
*******
Anything I need to post for help will happily do
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Tatenda Mupaso for more information if necessary.