Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openstack Heat plugin configuration in windows to launch an instance #3

Open
shimithmenon opened this issue Feb 13, 2017 · 2 comments

Comments

@shimithmenon
Copy link

shimithmenon commented Feb 13, 2017

Hi,

I have a scenario where I have installed Jenkins on my windows box and I want the openstack windows images to be loaded from Jenkins. I am able to integrate Jenkins and openstack. But the problem I am facing is to launch an instances from jenkins.

Can anyone please let me know how can I configure below options in windows box, so that instance launching will be successful ?

Heat Orchestration Template (HOT) Loader Settings

**Path to the directory Heat Template : Here I have given path where I have copied yaml in jenkins server ( c:\jenkins)
Extension for the Heat Template File : yaml

Path to the directory Env : I gave same path as above ( C:\jenkins)
Extension for the Env File : yaml
Default full Env filename : default**

I am not sure what env file is talking about and my yaml file has information about image snapshot id, public and private netid ,flavor,availability zone,image name etc

But when I give these option and trying creating new task to launch an instance, I am only getting below options in "Heat Orchestration template Player" i.e
Choose Project(Tenant) :
Choose HOT :
Associate Env File :

Not getting option to create and launch an instance !

Can anyone help me with this please ? I am really stucked here since few days and cannot take it further bcz of lack of knowledge in this tool.

Any help is much appreciated.

@herviou
Copy link
Member

herviou commented Feb 13, 2017

Hi, the Plugin is here to execute heat templates, so there is no option to create an instance. If the yaml file you select create a ressource type which is an instance, the result will be an instance.
If everything is well configured you normally have the yaml file in the choose box, and the tenant names you're granted in openstack.
Check in the global configuration with the test configuration button if everything works, then you will have the choice in the job step configuration.

@shimithmenon
Copy link
Author

when I configured the openstack settings in Global configuration and tested the result was success. I have installed two plugin here one is openstack cloud plugin and openstack heat plugin. After these plugin installed I was able to see all openstack configuration setting. Please reffer the HOT loader settings screen shot attached which is been configured by me.

hot loader settings

Here one thing I am not sure is what env file which need to be configured here ? looks like the env file giving issue here.Below is the screenshot of hot player settings.

hot player

Please help me configuring these settings in windows and to launch an openstack instances from windows server!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants