New Question

DHCP not assigning IP

asked 2018-11-23 15:55:23 +0300

tric78 gravatar image


after reading and fighting a lot i can't manage to do this working, so my last chance is someone can help me..

I have configured a controller (Hyper-V VM with CentOs) from zero following the openstack official guides, and the cloudbase HyperVNovaComputeQueens1700 with neutron agent in 2 standalone (no domain) Hyper-V hosts (one of them hosts the controller)

Everything is working OK except the instances are not getting IP address. If I assign the IP manually, I can ping and communicate between controller and instance. In the controller, if i sniff traffic with tcpdump i can see the DHCP request, but not the response. In the logs i see the dnsmasq in the controller assign the IP.

In my neutronhypervagent.conf i have these lines: *


but in linuxbridge_agent.ini in the controller i have these:

 firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
enable_security_group= true

is this config correct?

what else could i do for troubleshooting the problem?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2018-11-25 12:29:26 +0300

lpetrut gravatar image


What network type are you using (flat, vlan, tunnels)? That config looks fine. You're using Hyper-V switch ACLs on the Hyper-V side and iptables on the controller for the security groups.

So, since the dnsmasq part is ok, I'd check the dhcp namespace on the controller. You may check if the DHCP requests get there as well. Also, make sure that you don't have other DHCP servers replying to your requests.

Regards, Lucian

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

Question Tools

1 follower


Asked: 2018-11-23 15:55:23 +0300

Seen: 24 times

Last updated: Nov 25 '18