# tail -f neutron-dhcp-agent.log
2025-05-28 21:20:11.019 9535 ERROR neutron.agent.linux.utils [None req-a68599f9-502b-4c20-8937-2b73a84c9b3b - - - - - -] Exit code: 3; Cmd: ['ip', 'netns', 'exec', 'qdhcp-0714c2e8-7863-47bc-a9bd-7a8dcf894a2f', 'env', 'PROCESS_TAG=dnsmasq-0714c2e8-7863-47bc-a9bd-7a8dcf894a2f', 'dnsmasq', '--no-hosts', '--no-resolv', '--pid-file=/var/lib/neutron/dhcp/0714c2e8-7863-47bc-a9bd-7a8dcf894a2f/pid', '--dhcp-hostsfile=/var/lib/neutron/dhcp/0714c2e8-7863-47bc-a9bd-7a8dcf894a2f/host', '--addn-hosts=/var/lib/neutron/dhcp/0714c2e8-7863-47bc-a9bd-7a8dcf894a2f/addn_hosts', '--dhcp-optsfile=/var/lib/neutron/dhcp/0714c2e8-7863-47bc-a9bd-7a8dcf894a2f/opts', '--dhcp-leasefile=/var/lib/neutron/dhcp/0714c2e8-7863-47bc-a9bd-7a8dcf894a2f/leases', '--dhcp-match=set:ipxe,175', '--dhcp-userclass=set:ipxe6,iPXE', '--local-service', '--bind-dynamic', '--dhcp-range=set:subnet-3a83a31a-e1ae-4433-8bfe-f62d9f568e26,10.63.101.0,static,255.255.255.0,86400s', '--dhcp-option-force=option:mtu,1500', '--dhcp-lease-max=256', '--conf-file=/etc/neutron/dnsmasq-neutron.conf', '--domain=xxxx.com']; Stdin: ; Stdout: ; Stderr: dnsmasq: cannot read /etc/neutron/dnsmasq-neutron.conf: Permission denied2025-05-28 21:20:12.143 9535 ERROR neutron.agent.linux.dhcp [None req-a68599f9-502b-4c20-8937-2b73a84c9b3b - - - - - -] Failed to start DHCP process for network 0714c2e8-7863-47bc-a9bd-7a8dcf894a2f: neutron.common.utils.WaitTimeout: Timed out after 300 seconds
I checked all configuration files readable by neutron account, and all directories have 0755 permission, but all files under /var/neutron/dhcp are created and updated properly.
/var/lib/neutron/dhcp/0714c2e8-7863-47bc-a9bd-7a8dcf894a2f# ls -la
total 20
drwxr-xr-x 2 neutron neutron 79 May 28 21:20 .
drwxr-xr-x 3 neutron neutron 50 May 27 02:10 ..
-rw-r--r-- 1 neutron neutron 117 May 28 21:20 addn_hosts
-rw-r--r-- 1 neutron neutron 116 May 28 21:20 host
-rw-r--r-- 1 neutron neutron 14 May 28 21:20 interface
-rw-r--r-- 1 neutron neutron 93 May 28 21:20 leases
-rw-r--r-- 1 neutron neutron 393 May 28 21:20 opts
The environment is on Ubuntu 24.04.2 with OpenStack 2024.2 (Dalmation), neutron-25.1.1.dev18, dnsmasq 2.90.
I couldn't figure out where the issue is.