Ask Your Question
0

openstack server list - Status = ERROR

asked 2019-04-23 01:34:08 -0500

tjoen gravatar image

updated 2019-04-28 14:25:36 -0500

[rewritten]
neutron-14.0.1
https://docs.openstack.org/install-gu...

    $ openstack server create ... Status BUILD
    $ openstack server list       Status ERROR

I have the journalctl log of debug = true of neutron of last command at http://www.tjoen.dds.nl/debug.log Only seen in debug mode is:

Apr 26 13:43:59 controller neutron-dhcp-agent[2672]: 2019-04-26 13:43:59.003 2672 DEBUG neutron.agent.linux.utils [-] Unable to access /var/lib/neutron/dhcp/b0b68164-0172-4675-b1a9-cc9d9f63adb3/pid get_value_from_file /usr/lib/python3.7/site-packages/neutron/agent/linux/utils.py:261
edit retag flag offensive close merge delete

Comments

I wonder if something is missing in the kernel. Can you set net.ipv4.ip_nonlocal_bind manually, inside and outside the DHCP namespace? Does dmesg reveal anything?

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-23 22:23:03 -0500 )edit

@Bernd

0# sysctl net.ipv4.ip_nonlocal_bind
net.ipv4.ip_nonlocal_bind = 1
0#sysctl net.ipv4.ip_nonlocal_bind=0
net.ipv4.ip_nonlocal_bind = 0
0# sysctl net.ipv4.ip_nonlocal_bind
net.ipv4.ip_nonlocal_bind = 0
0$ dmesg|grep -i dhcp
1$
tjoen gravatar imagetjoen ( 2019-04-24 04:38:14 -0500 )edit

0# echo 0 > /proc/sys/net/ipv4/ip_nonlocal_bind
0# cat /proc/sys/net/ipv4/ip_nonlocal_bind
1

tjoen gravatar imagetjoen ( 2019-04-24 04:55:49 -0500 )edit

kernel-4.19.0 has this problem. kernel-5.0.0 I can change that value
UPDATE kernel-5.0.0 AND first sysctl -w net.ipv6.conf.default.accept_ra=0
same errors including
Unable to access /var/lib/neutron/dhcp/b0b68164-0172-4675-b1a9-cc9d9f63adb3/pid
(after the output Status ERROR)

tjoen gravatar imagetjoen ( 2019-04-24 05:51:37 -0500 )edit

kernel-5.0.9 same probem. But I guess I found the problem:
# ip netns exec qdhcp-b0b68164-0172-4675-b1a9-cc9d9f63adb3 sysctl -w net.ipv4.ip_nonlocal_bind=1
setting the network namespace "qdhcp-b0b68164-0172-4675-b1a9-cc9d9f63adb3" failed: Invalid argument

tjoen gravatar imagetjoen ( 2019-04-25 06:56:43 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-04-24 04:41:03 -0500

tjoen gravatar image

Unable to plug DHCP port for network solved by
neutron ALL = (root) NOPASSWD: /bin/sysctl

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: 2019-04-23 01:34:08 -0500

Seen: 79 times

Last updated: Apr 28