Ask Your Question
0

instance not getting ip with vhu interface

asked 2016-09-20 04:53:42 -0500

prateeka gravatar image

updated 2016-09-21 15:36:45 -0500

rbowen gravatar image

Hi, I am trying to launch instance using ovs-dpdk in openstack. But the vm is not getting ip address, neutron dhcp agent is failing.

neutron-server log is below:

<163>Sep 20 08:18:35 node-41 neutron-dhcp-agent: 2016-09-20 08:18:35.283 11040 ERROR neutron.agent.linux.utils [req-99d8215a-a0f4-4776-842f-b984248cf55c 435d7f0a3b844151bd4f9d32620b7b62 50a5a662cd454256a543e3056c4a5a4e - - -] Exit code: 2; Stdin: ; Stdout: ; Stderr:
dnsmasq: unknown interface None
<163>Sep 20 08:18:35 node-41 neutron-dhcp-agent: 2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent [req-99d8215a-a0f4-4776-842f-b984248cf55c 435d7f0a3b844151bd4f9d32620b7b62 50a5a662cd454256a543e3056c4a5a4e - - -] Unable to reload_allocations dhcp for bfc9a8ee-9bce-43ca-902b-e546524824ef.
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcp/agent.py", line 112, in call_driver
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent     getattr(driver, action)(**action_kwargs)
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 473, in reload_allocations
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent     self._spawn_or_reload_process(reload_with_HUP=True)
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 438, in _spawn_or_reload_process
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent     pm.enable(reload_cfg=reload_with_HUP)
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/external_process.py", line 92, in enable
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent     run_as_root=self.run_as_root)
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/ip_lib.py", line 927, in execute
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent     log_fail_as_error=log_fail_as_error, **kwargs)
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py", line 140, in execute
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent     raise RuntimeError(msg)
2016-09-20 08:18:35.283 11040 ERROR neutron.agent.dhcp.agent RuntimeError:
<166>Sep 20 08:18:35 node-41 neutron-dhcp-agent: 2016-09-20 08:18:35.755 16911 INFO neutron.agent.dhcp.agent [-] Finished network bfc9a8ee-9bce-43ca-902b-e546524824ef dhcp configuration
<166>Sep 20 08:18:35 node-41 neutron-dhcp-agent: 2016-09-20 08:18:35.755 16911 INFO neutron.agent.dhcp.agent [-] Synchronizing state complete
<166>Sep 20 08:18:35 node-41 neutron-openvswitch-agent: 2016-09-20 08:18:35.801 25357 INFO neutron.agent.common.ovs_lib [req-2f137dfc-f109-4eac-8fb4-5fcb905ed60b - - - - -] Port 32fcc25c-090e-4f50-9e3e-84fdb1aac901 not present in bridge br-int
<166>Sep 20 08:18:35 node-41 neutron-openvswitch-agent: 2016-09-20 08:18:35.802 25357 INFO neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-2f137dfc-f109-4eac-8fb4-5fcb905ed60b - - - - -] port_unbound(): net_uuid None not in local_vlan_map
<166>Sep 20 08:18:35 node-41 neutron-openvswitch-agent: 2016-09-20 08:18:35.802 25357 INFO neutron.agent.securitygroups_rpc [req-2f137dfc-f109-4eac-8fb4-5fcb905ed60b - - - - -] Remove device filter for [u'32fcc25c-090e-4f50-9e3e-84fdb1aac901']
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-09-22 01:26:23 -0500

Ajaycs gravatar image

1) please check status of command #neutron agent-list

2) please check DHCP agent - DHCP agent provides DHCP services for virtual networks (Self-service networks) /etc/neutron/dhcp_agent.ini [DEFAULT] interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq enable_isolated_metadata = True

3) Provision the network for instance -> http://docs.openstack.org/mitaka/install-guide-rdo/launch-instance-networks-selfservice.html (http://docs.openstack.org/mitaka/inst...)

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: 2016-09-20 04:53:42 -0500

Seen: 431 times

Last updated: Sep 21 '16