First time here? Check out the FAQ!
2019-04-18 10:16:28 -0600 | received badge | ● Famous Question (source) |
2018-02-27 12:21:02 -0600 | received badge | ● Famous Question (source) |
2018-02-27 12:21:02 -0600 | received badge | ● Notable Question (source) |
2017-02-22 16:23:57 -0600 | received badge | ● Popular Question (source) |
2017-02-19 20:57:41 -0600 | received badge | ● Scholar (source) |
2017-02-19 20:57:38 -0600 | received badge | ● Supporter (source) |
2017-02-17 22:56:25 -0600 | asked a question | Can nova-compute service get root privilege? 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? |
2017-02-17 22:48:23 -0600 | received badge | ● Notable Question (source) |
2017-02-17 09:04:00 -0600 | commented answer | How to execute a command on hosts (physical machines) via OpenStack code? Horizon is not a problem. It's not vanilla Horizon but a custermized Horizon, so it can get node name and IP addresses. |
2017-02-16 17:34:04 -0600 | received badge | ● Popular Question (source) |
2017-02-13 01:44:34 -0600 | asked a question | How to execute a command on hosts (physical machines) via OpenStack code? I am trying to modify/add some OpenStack code to implement such functionality: after users click one button on web page, some command will be executed on the specified host (e.g. one compute node). One user scenario is, enable KSM kernel feature on one specified host. All need to do is to execute "echo 1 > /sys/kernel/mm/ksm/run", then KSM kernel feature will be enabled. Now I can get the IP of the host (one compute node), but how to execute the above command by leveraging OpenStack code? (I checked all the Nova APIs. It seems there is no such Nova API to execute a command on a host. Also, I checked all the Ironic APIs. The same result.) |