Ask Your Question
0

Can nova-compute service get root privilege?

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

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
2

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

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

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

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: 2017-02-17 22:56:25 -0600

Seen: 86 times

Last updated: Feb 17 '17