<div dir="auto">Hi all,<div dir="auto"><br></div><div dir="auto">I could not find any solution to my query.. Please reconsider it and help me as I am unable to move forward with this error it just spoils my whole setup and i have to start up again and again from the scratch</div><div dir="auto"><br></div><div dir="auto">Thanks in advance</div><div dir="auto">Regards </div><div dir="auto">Shweta</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 15-May-2017 5:37 PM,  <<a href="mailto:openstack-request@lists.openstack.org">openstack-request@lists.openstack.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Openstack mailing list submissions to<br>
        <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:openstack-request@lists.openstack.org">openstack-request@lists.<wbr>openstack.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:openstack-owner@lists.openstack.org">openstack-owner@lists.<wbr>openstack.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Openstack digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: How can we use Orchestration service efficiently (Amit Uniyal)<br>
   2. Re: How can we use Orchestration service efficiently<br>
      (Vijay Baskar)<br>
   3. Re: How can we use Orchestration service efficiently (Amit Uniyal)<br>
   4. Openstack devstack authentication error (Shweta Singh)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Sun, 14 May 2017 17:48:10 +0530<br>
From: Amit Uniyal <<a href="mailto:auniyal61@gmail.com">auniyal61@gmail.com</a>><br>
To: openstack <<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><wbr>>,<br>
        <a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.<wbr>org</a><br>
Subject: Re: [Openstack] How can we use Orchestration service<br>
        efficiently<br>
Message-ID:<br>
        <CAFB3AaaCnKL=vVMpcga7yHix=<wbr>GMNPn8+XSFOhbk8N=<a href="mailto:kW-bq6QQ@mail.gmail.com">kW-bq6QQ@<wbr>mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
`Hi all,<br>
<br>
I guess I understood how heat create works. and also the meaning of options<br>
[ suspend, resume, check stack, change stack template ].<br>
<br>
So now whole stack is a single object.<br>
<br>
I am trying to use os_client_config to create heat stack as:<br>
<br>
*heat = os_client_config.make_client('<wbr>orchestration')*<br>
<br>
now heat object has a function create_stack(**kwargs)<br>
<br>
<br>
I tried to use it as:<br>
<br>
template = {<br>
<br>
'description': 'network and instances',<br>
 'heat_template_version': '2015-10-15',<br>
 'resources': {'net-a': {'properties': {'name': 'network-a'},<br>
   'type': 'OS::Neutron::Net'}}<br>
<br>
}<br>
<br>
<br>
*stack = heat.stacks.create(**template)<wbr>*<br>
<br>
it throws error as  ERROR: No stack name specified<br>
<br>
so I added new key as *template.update({'stack_name'<wbr>: 'stack-a'})*<br>
<br>
and this time I got error as ERROR: No template specified<br>
<br>
<br>
what would be the proper procedure to launch stack by os_client_config.<br>
<br>
<br>
<br>
<br>
Regards<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Thu, May 4, 2017 at 5:53 PM, Amit Uniyal <<a href="mailto:auniyal61@gmail.com">auniyal61@gmail.com</a>> wrote:<br>
<br>
> Hi all,<br>
><br>
> Please help with heat service, the only example I could find is to create<br>
> new stack. But how to use existing stack template which is already stored<br>
> by orchestration service.<br>
><br>
> My understanding is we need to form/write a .yaml template and create new<br>
> stack by this template. It saves this template on orchestration and run the<br>
> template. According to template VMs will get launch (or other tasks) and it<br>
> should be finished. then whats the meaning of options [ suspend, resume,<br>
> check stack, change stack template ].<br>
><br>
> How can we rerun the same template without form/creating new stack in<br>
> openstack.<br>
><br>
><br>
> Thanks and Regards<br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.openstack.org/pipermail/openstack/attachments/20170514/51291b4f/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>pipermail/openstack/<wbr>attachments/20170514/51291b4f/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 14 May 2017 21:55:48 +0530<br>
From: Vijay Baskar <<a href="mailto:vijay.baskar47@gmail.com">vijay.baskar47@gmail.com</a>><br>
To: Amit Uniyal <<a href="mailto:auniyal61@gmail.com">auniyal61@gmail.com</a>><br>
Cc: <a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.<wbr>org</a>, <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Subject: Re: [Openstack] How can we use Orchestration service<br>
        efficiently<br>
Message-ID:<br>
        <<a href="mailto:CAPhn54mPv771n_21BUqVg0%2BC9ak2q4qoO3ZbDemjpffr4FySiQ@mail.gmail.com">CAPhn54mPv771n_21BUqVg0+<wbr>C9ak2q4qoO3ZbDemjpffr4FySiQ@<wbr>mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
A stack template defines a set of resources like VMs, networks, router..<br>
and the relationship between them. You can create an entire cloud<br>
 infrastructure using a template. When creating a stack these resources<br>
will be created so that you dont need to create them individually. Suspend<br>
means , the instances mentioned in the template will be suspended.<br>
Similarly instances will be paused and resumed when stack is paused and<br>
resumed respectively. Change stack template is for changing the<br>
infrastructure created with the template, like upgrading the instances<br>
flavour used in it.<br>
<br>
I do not understand your second question about re running the stack.<br>
<br>
Are you trying to create stacks using python API?<br>
<br>
On May 14, 2017 6:02 PM, "Amit Uniyal" <<a href="mailto:auniyal61@gmail.com">auniyal61@gmail.com</a>> wrote:<br>
<br>
> `Hi all,<br>
><br>
> I guess I understood how heat create works. and also the meaning of<br>
> options [ suspend, resume, check stack, change stack template ].<br>
><br>
> So now whole stack is a single object.<br>
><br>
> I am trying to use os_client_config to create heat stack as:<br>
><br>
> *heat = os_client_config.make_client('<wbr>orchestration')*<br>
><br>
> now heat object has a function create_stack(**kwargs)<br>
><br>
><br>
> I tried to use it as:<br>
><br>
> template = {<br>
><br>
> 'description': 'network and instances',<br>
>  'heat_template_version': '2015-10-15',<br>
>  'resources': {'net-a': {'properties': {'name': 'network-a'},<br>
>    'type': 'OS::Neutron::Net'}}<br>
><br>
> }<br>
><br>
><br>
> *stack = heat.stacks.create(**template)<wbr>*<br>
><br>
> it throws error as  ERROR: No stack name specified<br>
><br>
> so I added new key as *template.update({'stack_name'<wbr>: 'stack-a'})*<br>
><br>
> and this time I got error as ERROR: No template specified<br>
><br>
><br>
> what would be the proper procedure to launch stack by os_client_config.<br>
><br>
><br>
><br>
><br>
> Regards<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> On Thu, May 4, 2017 at 5:53 PM, Amit Uniyal <<a href="mailto:auniyal61@gmail.com">auniyal61@gmail.com</a>> wrote:<br>
><br>
>> Hi all,<br>
>><br>
>> Please help with heat service, the only example I could find is to create<br>
>> new stack. But how to use existing stack template which is already stored<br>
>> by orchestration service.<br>
>><br>
>> My understanding is we need to form/write a .yaml template and create new<br>
>> stack by this template. It saves this template on orchestration and run the<br>
>> template. According to template VMs will get launch (or other tasks) and it<br>
>> should be finished. then whats the meaning of options [ suspend, resume,<br>
>> check stack, change stack template ].<br>
>><br>
>> How can we rerun the same template without form/creating new stack in<br>
>> openstack.<br>
>><br>
>><br>
>> Thanks and Regards<br>
>><br>
>><br>
><br>
> ______________________________<wbr>_________________<br>
> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/</a><br>
> openstack<br>
> Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/</a><br>
> openstack<br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.openstack.org/pipermail/openstack/attachments/20170514/488babc4/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>pipermail/openstack/<wbr>attachments/20170514/488babc4/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sun, 14 May 2017 22:24:09 +0530<br>
From: Amit Uniyal <<a href="mailto:auniyal61@gmail.com">auniyal61@gmail.com</a>><br>
To: Vijay Baskar <<a href="mailto:vijay.baskar47@gmail.com">vijay.baskar47@gmail.com</a>>, openstack<br>
        <<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><wbr>>,  <a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.<wbr>org</a><br>
Subject: Re: [Openstack] How can we use Orchestration service<br>
        efficiently<br>
Message-ID:<br>
        <<wbr>CAFB3AabpSNTo86dG9hSxvznd71cWH<wbr>k=+<a href="mailto:J%2BGiUGfrXGRzGuXKJQ@mail.gmail.com">J+GiUGfrXGRzGuXKJQ@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Vijay,<br>
<br>
Thanks for reply.<br>
<br>
Currently I am trying to create a stack using python API, The library I am<br>
using is os_client_config, its a part of OpenstackClient.<br>
<br>
In my last mail I explained how I am trying to create stack through<br>
os_client_config.make_client('<wbr>orchestration') object.<br>
<br>
Can you help me with this, or is there any other library to create stack in<br>
python.<br>
<br>
<br>
Regards<br>
<br>
On Sun, May 14, 2017 at 9:55 PM, Vijay Baskar <<a href="mailto:vijay.baskar47@gmail.com">vijay.baskar47@gmail.com</a>><br>
wrote:<br>
<br>
> A stack template defines a set of resources like VMs, networks, router..<br>
> and the relationship between them. You can create an entire cloud<br>
>  infrastructure using a template. When creating a stack these resources<br>
> will be created so that you dont need to create them individually. Suspend<br>
> means , the instances mentioned in the template will be suspended.<br>
> Similarly instances will be paused and resumed when stack is paused and<br>
> resumed respectively. Change stack template is for changing the<br>
> infrastructure created with the template, like upgrading the instances<br>
> flavour used in it.<br>
><br>
> I do not understand your second question about re running the stack.<br>
><br>
> Are you trying to create stacks using python API?<br>
><br>
> On May 14, 2017 6:02 PM, "Amit Uniyal" <<a href="mailto:auniyal61@gmail.com">auniyal61@gmail.com</a>> wrote:<br>
><br>
>> `Hi all,<br>
>><br>
>> I guess I understood how heat create works. and also the meaning of<br>
>> options [ suspend, resume, check stack, change stack template ].<br>
>><br>
>> So now whole stack is a single object.<br>
>><br>
>> I am trying to use os_client_config to create heat stack as:<br>
>><br>
>> *heat = os_client_config.make_client('<wbr>orchestration')*<br>
>><br>
>> now heat object has a function create_stack(**kwargs)<br>
>><br>
>><br>
>> I tried to use it as:<br>
>><br>
>> template = {<br>
>><br>
>> 'description': 'network and instances',<br>
>>  'heat_template_version': '2015-10-15',<br>
>>  'resources': {'net-a': {'properties': {'name': 'network-a'},<br>
>>    'type': 'OS::Neutron::Net'}}<br>
>><br>
>> }<br>
>><br>
>><br>
>> *stack = heat.stacks.create(**template)<wbr>*<br>
>><br>
>> it throws error as  ERROR: No stack name specified<br>
>><br>
>> so I added new key as *template.update({'stack_name'<wbr>: 'stack-a'})*<br>
>><br>
>> and this time I got error as ERROR: No template specified<br>
>><br>
>><br>
>> what would be the proper procedure to launch stack by os_client_config.<br>
>><br>
>><br>
>><br>
>><br>
>> Regards<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> On Thu, May 4, 2017 at 5:53 PM, Amit Uniyal <<a href="mailto:auniyal61@gmail.com">auniyal61@gmail.com</a>> wrote:<br>
>><br>
>>> Hi all,<br>
>>><br>
>>> Please help with heat service, the only example I could find is to<br>
>>> create new stack. But how to use existing stack template which is already<br>
>>> stored by orchestration service.<br>
>>><br>
>>> My understanding is we need to form/write a .yaml template and create<br>
>>> new stack by this template. It saves this template on orchestration and run<br>
>>> the template. According to template VMs will get launch (or other tasks)<br>
>>> and it should be finished. then whats the meaning of options [ suspend,<br>
>>> resume, check stack, change stack template ].<br>
>>><br>
>>> How can we rerun the same template without form/creating new stack in<br>
>>> openstack.<br>
>>><br>
>>><br>
>>> Thanks and Regards<br>
>>><br>
>>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Mailing list: <a href="http://lists.openstack.org/cgi" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi</a><br>
>> -bin/mailman/listinfo/<wbr>openstack<br>
>> Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
>> Unsubscribe : <a href="http://lists.openstack.org/cgi" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi</a><br>
>> -bin/mailman/listinfo/<wbr>openstack<br>
>><br>
>><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.openstack.org/pipermail/openstack/attachments/20170514/7ea0e5fb/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>pipermail/openstack/<wbr>attachments/20170514/7ea0e5fb/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 15 May 2017 09:50:58 +0530<br>
From: Shweta Singh <<a href="mailto:shwetasept22@gmail.com">shwetasept22@gmail.com</a>><br>
To: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Subject: [Openstack] Openstack devstack authentication error<br>
Message-ID:<br>
        <<a href="mailto:CANX_B7AUT_DU0oe136UPN3Xs1CVoBd7b4GWfx1q4ZVMKSbtKtg@mail.gmail.com">CANX_B7AUT_<wbr>DU0oe136UPN3Xs1CVoBd7b4GWfx1q4<wbr>ZVMKSbtKtg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
We installed Openstack devstack on the machine but we are facing an<br>
*authentication<br>
failure error while logging to openstack dashboard*. According to the<br>
observation it is because of the expiry of the token which keystone uses<br>
for the authentication and authorization.<br>
<br>
Can anyone help. Thanks in advance<br>
<br>
<br>
Regards,<br>
Shweta<br>
Tata Consultancy Services<br>
Gurgaon<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.openstack.org/pipermail/openstack/attachments/20170515/844d8ea8/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>pipermail/openstack/<wbr>attachments/20170515/844d8ea8/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
Openstack mailing list<br>
<a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Openstack Digest, Vol 47, Issue 13<br>
******************************<wbr>***********<br>
</blockquote></div><br></div>