Ask Your Question
0

Unable to enable dhcp for Private networks - Mirantis openstack

asked 2015-07-20 06:53:45 -0500

Venkatesh subramanian gravatar image

updated 2015-07-20 07:07:22 -0500

dbaxps gravatar image

Hi All,

We are facing an issue IP assignment for the launched instance.

For created network, network name space are getting created. Also we have verified that the connections between controller and compute nodes are proper.

But when we look in to /var/log/neutron/dhcp-agent.log

We are seeing an error as Unable to enable dhcp for 0aff4aa3-e393-499d-b3bc-5c90dd3655b1 (private network)

Output below

2015-07-20 10:05:23.255 10139 ERROR neutron.agent.dhcp_agent [req-fe1305ed-17da-4863-9b04-ca418495256d None] Unable to enable dhcp for 0aff4aa3-e393-499d-b3bc-5c90dd3655b1.
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent Traceback (most recent call last):
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcp_agent.py", line 129, in call_driver
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent     getattr(driver, action)(**action_kwargs)
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 204, in enable
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent     interface_name = self.device_manager.setup(self.network)
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 929, in setup
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent     port = self.setup_dhcp_port(network)
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 910, in setup_dhcp_port
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent     dhcp_port = self.plugin.create_dhcp_port({'port': port_dict})
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcp_agent.py", line 439, in create_dhcp_port
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent     host=self.host))
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/common/log.py", line 34, in wrapper
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent     return method(*args, **kwargs)
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py", line 161, in call
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent     context, msg, rpc_method='call', **kwargs)
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py", line 187, in __call_rpc_method
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent     return func(context, msg['method'], **msg['args'])
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 389, in call
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent     return self.prepare().call(ctxt, method, **kwargs)
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 152, in call
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent     retry=self.retry)
2015-07-20 10:05:23.255 10139 TRACE neutron.agent.dhcp_agent ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-07-21 00:41:17 -0500

Follow N/W Trouble shoot and check your namespace & iproute package that supports namespace, kernel updation.

Can you please do double check your namespace conf file whether the IP is assigned to MAC address to that particular and check the state of it

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-07-20 06:53:45 -0500

Seen: 655 times

Last updated: Jul 21 '15