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