[Solved] neutron-dhcp-agent error: Alias or class name is not set; loading interface driver 'None'

asked 2018-12-21 08:01:31 -0500

tjoen gravatar image

updated 2018-12-21 12:24:52 -0500

neutron-dhcp-agent doesn't start

DEBUG neutron.agent.dhcp.agent [-] Calling driver for network: 49aeddcc-4097-4550-8661-23ecdeffbe28 action: enable call_driver /usr/lib/python3.7/site-packages/neutron/agent/dhcp/agent.py:135
ERROR neutron_lib.utils.runtime [-] Alias or class name is not set
ERROR neutron.agent.common.utils [-] Error loading interface driver 'None'


interface_driver = linuxbridge
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
enable_isolated_metadata = true

All other setting exactly from provider install-guide
same result with --config-dir=/etc/neutron

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-12-21 12:24:33 -0500

tjoen gravatar image

updated 2018-12-21 12:25:58 -0500

ExecStart=/usr/bin/neutron-dhcp-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dhcp_agent.ini
and /etc/sudoers.d/neutron:
neutron ALL = (root) NOPASSWD: /usr/sbin/ip

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-12-21 08:01:31 -0500

Seen: 878 times

Last updated: Dec 21 '18