Ask Your Question
0

install a software on cloud using openstack REST API

asked 2015-11-29 08:27:52 -0600

Suresh Kumar gravatar image

Hi, I have installed openstack on my machine. I want to install java,eclipse IDE on that openstack instance. Could anyone please let me know if there is any REST API that can do this? Also, please post me a sample request.

Thanks, Suresh

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-11-30 02:10:11 -0600

Prateek K gravatar image

I might be wrong here but as far as openstack VM's are concerned there is no provision in openstack by which we can access them via REST.

If your use case if you want to install services after the VM is created remotely and REST is not a mandatory thing to use then you can create scripts and in those scripts you can specify what to install and what to configure.

In horizon also there is an option that comes by the name of Customization-script( its for that purpose only)

This service is facilitated through neutron-metadata-agent which enable us to customize the VM after they are launched. There is a separate project known as cloud-init which helps doing this.

It is supported both for Linux as well as Windows VM's

edit flag offensive delete link more

Comments

Thanks Prateek for your reply. I want to provide a UI to application user where he/she can choose the applications to be installed after provisioning a VM without need to interact with scripts or Horizon. Somewhere I saw Heat templates can do this(I'm not sure) but Idon't know exactly how to do this

Suresh Kumar gravatar imageSuresh Kumar ( 2015-11-30 08:14:40 -0600 )edit

Yes I have heard too that heat can do it but I havent tried heat till now so cant be very sure about it

Prateek K gravatar imagePrateek K ( 2015-11-30 22:23:10 -0600 )edit

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: 2015-11-29 08:27:52 -0600

Seen: 118 times

Last updated: Nov 30 '15