Re: [openstack-dev] [magnum][heat] spawn a group of nodes on different availability zones

2016-06-16 Thread Zane Bitter
On 07/06/16 23:53, Hongbin Lu wrote: Hi Heat team, A question inline. Best regards, Hongbin -Original Message- From: Steven Hardy [mailto:sha...@redhat.com] Sent: March-03-16 3:57 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev]

Re: [openstack-dev] [magnum][heat] spawn a group of nodes on different availability zones

2016-06-08 Thread Oleksii Chuprykov
One more example how you may do it using yaql: oleksii@oleksii:~$ cat example.yaml heat_template_version: 2013-05-23 parameters: az_list: type: string count: type: number resources: rg: type: OS::Heat::ResourceGroup properties: count: {get_param: count}

Re: [openstack-dev] [magnum][heat] spawn a group of nodes on different availability zones

2016-06-07 Thread Hongbin Lu
Hi Heat team, A question inline. Best regards, Hongbin > -Original Message- > From: Steven Hardy [mailto:sha...@redhat.com] > Sent: March-03-16 3:57 AM > To: OpenStack Development Mailing List (not for usage questions) > Subject: Re: [openstack-dev] [magnum][heat] spawn a group of nodes

Re: [openstack-dev] [magnum][heat] spawn a group of nodes on different availability zones

2016-03-03 Thread Qiming Teng
On Fri, Mar 04, 2016 at 01:09:26PM +0800, Qiming Teng wrote: > Another option is to try out senlin service. What you need to do is > something like below: > > 1. Create a heat template you want to deploy as a group, say, > node_template.yaml > > 2. Create a senlin profile spec (heat_stack.yaml)

Re: [openstack-dev] [magnum][heat] spawn a group of nodes on different availability zones

2016-03-03 Thread Qiming Teng
Another option is to try out senlin service. What you need to do is something like below: 1. Create a heat template you want to deploy as a group, say, node_template.yaml 2. Create a senlin profile spec (heat_stack.yaml) which may look like, for example: type: os.heat.stack version: 1.0

Re: [openstack-dev] [magnum][heat] spawn a group of nodes on different availability zones

2016-03-03 Thread Mathieu Velten
Thank you both for your answers ! Indeed I need it sooner rather than later (as usual :) ) so the Newton release is a bit too far away. In the meantime I just test your solution with the index and the map and it works great !  I'll use that for now, and we will discuss taking over the Heat bp

Re: [openstack-dev] [magnum][heat] spawn a group of nodes on different availability zones

2016-03-03 Thread Steven Hardy
On Wed, Mar 02, 2016 at 05:40:20PM -0500, Zane Bitter wrote: > On 02/03/16 05:50, Mathieu Velten wrote: > >Hi all, > > > >I am looking at a way to spawn nodes in different specified > >availability zones when deploying a cluster with Magnum. > > > >Currently Magnum directly uses predefined Heat

Re: [openstack-dev] [magnum][heat] spawn a group of nodes on different availability zones

2016-03-02 Thread Zane Bitter
On 02/03/16 05:50, Mathieu Velten wrote: Hi all, I am looking at a way to spawn nodes in different specified availability zones when deploying a cluster with Magnum. Currently Magnum directly uses predefined Heat templates with Heat parameters to handle configuration. I tried to reach my goal

[openstack-dev] [magnum][heat] spawn a group of nodes on different availability zones

2016-03-02 Thread Mathieu Velten
Hi all, I am looking at a way to spawn nodes in different specified availability zones when deploying a cluster with Magnum. Currently Magnum directly uses predefined Heat templates with Heat parameters to handle configuration. I tried to reach my goal by sticking to this model, however I