Error in DevStack: ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (Permission denied)

asked 2016-04-24 12:57:43 -0500

danutek gravatar image

I'm getting an error when running the ./stack.sh script for the devstack.

The error is

ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (Permission denied)

and it only occurs when I add the Neutron configurations:

#Neutron Configuration#
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron

If I run the ovs-vsctl command as root, no error. But the script must run them as the stack user and not do a sudo first.

edit retag flag offensive close merge delete

Comments

Does your stack user have sudo privilages ?

sumant-murke gravatar imagesumant-murke ( 2017-01-17 11:25:45 -0500 )edit