Can you execute a program on the guest os via openstack API?

asked 2014-01-30 11:20:18 -0600

anonymous user


With the WmWare tools loaded on the guest OS, I can execute any program with a given set of arguments and a username and credentials with the VmWare APIs.

Does openstack have similar capability via an API call?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-01-31 18:35:29 -0600

dzimine gravatar image

updated 2014-01-31 18:37:21 -0600


You can ssh to the vm via nova cli. (

But the implementation just defers to local OS ssh client (

There are agents for specific project. There was a discussion about adding the agent library for use by the projects themselves. But I haven't come across an idea of exposing it via API.

You can double-check - ask on openstack-dev list.

edit flag offensive delete link more

answered 2014-01-31 18:21:41 -0600

kfox1111 gravatar image

You probably want:

But, if you want to do it at any time, then the official API, if you could call it that, is to ssh execute the command on the host.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-01-30 11:20:18 -0600

Seen: 204 times

Last updated: Jan 31 '14