Re: [openstack-dev] .pem file and python-heatclient call

2017-11-10 Thread Yatin Karel
Hi David, Looking at your code it looks you are wrongly using insecure=True. I think you should use insecure=True while creating heat client object, in your code it's "heat". Something similar to below should work:- from heatclient import client as heatclient heat=heatclient.Client(api_version, *

Re: [openstack-dev] .pem file and python-heatclient call

2017-11-10 Thread David Gabriel
Dears, Do you have any idea to work arround this problem by deactivating the check of the certificate ? I have this line in my code but the check is still processed. What do you suggest ? stack = heat.stacks.create(stack_name=stack_name, template=nct_template, parameters={}, *insecure=True*) 20

[openstack-dev] .pem file and python-heatclient call

2017-11-08 Thread David Gabriel
Dears, I want to use use a .pem file to call python-heatclient API in order to create stacks (Openstack address is based on https). I am wondering, where to copy this pem file and how to refer it ? Bellow the errors I got: File "/usr/lib/python2.7/dist-packages/heatclient/v1/stacks.py", line 10