Can nova-compute service get root privilege?

asked 2017-02-17 22:56:25 -0500

finixlei gravatar image

I would add a new Nova API as extension. The related handler function in nova-compute service will run some commands in local physical machine, i.e. the compute node. However, these commands require root privilege to run. Is it possible to let nova-compute service get root privilege for calling these commands?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-02-17 23:32:21 -0500

updated 2017-02-17 23:33:37 -0500

Nova-compute routinely does things that require root privilege, for example set up Openvswitch bridges. Check out the rootwrap feature.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-02-17 22:56:25 -0500

Seen: 144 times

Last updated: Feb 17 '17