Ask Your Question
3

How do I resolve RTNETLINK permission denied error encountered while running stack.sh?

asked 2015-06-08 12:35:58 -0500

Angela gravatar image

After this commit was merged, we started having issues with devstack installation on VMs and bare-metal machines. https://github.com/openstack-dev/devstack/commit/a1774b5704fc73a52ffbda869f923819adb10cf7 (https://github.com/openstack-dev/devs...)

stack.sh fails in configuring IPv6 on br-ex: 2015-06-08 16:54:45.288 | ++ sudo ovs-vsctl set Bridge br-ex other_config:disable-in-band=true 2015-06-08 16:54:45.311 | ++ echo br-ex 2015-06-08 16:54:45.312 | + local ext_gw_interface=br-ex 2015-06-08 16:54:45.312 | + local ipv6_cidr_len=64 2015-06-08 16:54:45.312 | + sudo ip -6 addr add 2001:db8::2/64 dev br-ex 2015-06-08 16:54:45.330 | RTNETLINK answers: Permission denied

Does anyone know how to resolve this issue? Are there some configuration changes I need to make to the VM or host?

Thank you for any help you can provide!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
4

answered 2015-06-10 01:19:27 -0500

Angela gravatar image

Found a solution. Although it appeared through ifconfig that IPv6 was enabled, apparently it was only partially enabled.

Here's the solution that worked for us: Edit /etc/sysctl.conf

Set following to 0: net.ipv6.conf.all.disable_ipv6 = 0 net.ipv6.conf.default.disable_ipv6 = 0 net.ipv6.conf.lo.disable_ipv6 = 0

Reboot.

edit flag offensive delete link more

Comments

1

This fixed an issue I was having when connecting to my VPN service with OpenVPN as well! Thanks!

poacher2k gravatar imagepoacher2k ( 2016-02-24 01:21:06 -0500 )edit

There is no need to reboot the machine. You simply have to apply the changes by issuing the following command: sysctl -p. That is all.

k0nsl gravatar imagek0nsl ( 2018-03-06 06:27:14 -0500 )edit

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: 2015-06-08 12:35:58 -0500

Seen: 11,541 times

Last updated: Jun 10 '15