*** catintheroof has joined #heat | 00:23 | |
*** kei1 has quit IRC | 00:26 | |
*** kei1 has joined #heat | 00:28 | |
openstackgerrit | Kazunori Shinohara proposed openstack/heat master: WIP: Imporve update preview logic https://review.openstack.org/493852 | 00:53 |
---|---|---|
*** ricolin has joined #heat | 00:58 | |
*** GonZo2K has quit IRC | 00:59 | |
*** kiennt has joined #heat | 01:01 | |
*** dixiaoli has joined #heat | 01:01 | |
*** dixiaoli_ has joined #heat | 01:02 | |
*** dixiaoli has quit IRC | 01:02 | |
*** elynn has joined #heat | 01:20 | |
*** liusheng has quit IRC | 01:21 | |
*** gkadam has quit IRC | 01:28 | |
*** liusheng has joined #heat | 01:34 | |
*** catintheroof has quit IRC | 01:47 | |
*** gongysh has joined #heat | 02:07 | |
*** EricGonczer_ has joined #heat | 02:15 | |
openstackgerrit | yfzhao proposed openstack/heat master: Fix wrong links https://review.openstack.org/492831 | 02:41 |
*** ramishra has quit IRC | 02:44 | |
*** ramishra has joined #heat | 02:46 | |
*** gongysh has quit IRC | 02:47 | |
*** catintheroof has joined #heat | 02:50 | |
*** gongysh has joined #heat | 02:53 | |
*** catintheroof has quit IRC | 03:03 | |
*** Shunli has joined #heat | 03:05 | |
*** vishwana_ has joined #heat | 03:18 | |
*** vishwanathj has quit IRC | 03:21 | |
*** yangyapeng has quit IRC | 03:28 | |
*** EricGonczer_ has quit IRC | 03:30 | |
*** yangyapeng has joined #heat | 03:32 | |
*** links has joined #heat | 03:47 | |
*** ramishra has quit IRC | 03:55 | |
*** ramishra has joined #heat | 03:57 | |
*** nicolasbock has joined #heat | 04:13 | |
*** yangyapeng has quit IRC | 04:15 | |
*** shan has joined #heat | 04:39 | |
openstackgerrit | chenaidong1 proposed openstack/heat master: Delete redundant code https://review.openstack.org/494075 | 05:09 |
*** flg has joined #heat | 05:17 | |
*** AJaeger has joined #heat | 05:27 | |
AJaeger | heat team, could you import these translations for stable, please? https://review.openstack.org/#/c/491172/ and https://review.openstack.org/#/c/491173/ | 05:27 |
*** mdnadeem has joined #heat | 05:27 | |
ricolin | tiantian, Maybe you can just approve on those two? | 05:29 |
*** mdnadeem has quit IRC | 05:37 | |
*** flg has quit IRC | 05:42 | |
*** zsli_ has joined #heat | 05:43 | |
*** kiennt has quit IRC | 05:43 | |
*** Shunli has quit IRC | 05:45 | |
*** zsli__ has joined #heat | 05:49 | |
*** mdnadeem has joined #heat | 05:49 | |
*** zsli_ has quit IRC | 05:52 | |
*** omie888777 has quit IRC | 06:00 | |
*** kiennt has joined #heat | 06:02 | |
*** namnh has joined #heat | 06:05 | |
*** hoonetorg has quit IRC | 06:08 | |
*** kiennt has quit IRC | 06:11 | |
*** skramaja has joined #heat | 06:12 | |
*** omie888777 has joined #heat | 06:13 | |
*** kiennt has joined #heat | 06:16 | |
*** armaan has joined #heat | 06:17 | |
*** hoonetorg has joined #heat | 06:21 | |
*** jprovazn has joined #heat | 06:55 | |
*** rcernin has joined #heat | 06:57 | |
*** kiennt has quit IRC | 06:57 | |
*** kiennt has joined #heat | 06:58 | |
*** ricolin has quit IRC | 07:05 | |
*** shardy_afk is now known as shardy | 07:10 | |
*** masuberu has joined #heat | 07:14 | |
*** rcernin has quit IRC | 07:16 | |
*** masber has quit IRC | 07:16 | |
*** masuberu has quit IRC | 07:18 | |
*** ccamacho has joined #heat | 07:18 | |
*** rcernin has joined #heat | 07:19 | |
openstackgerrit | Rabi Mishra proposed openstack/heat master: Fix error for invalid auth_encryption_key https://review.openstack.org/494092 | 07:25 |
*** masuberu has joined #heat | 07:28 | |
*** masuberu has quit IRC | 07:31 | |
*** shardy is now known as shardy_afk | 07:32 | |
*** zsli_ has joined #heat | 07:43 | |
*** flg has joined #heat | 07:43 | |
*** zsli__ has quit IRC | 07:46 | |
*** omie888777 has quit IRC | 07:49 | |
*** elynn has quit IRC | 07:59 | |
*** iogg has joined #heat | 07:59 | |
*** elynn has joined #heat | 08:00 | |
*** omie888777 has joined #heat | 08:02 | |
*** elynn_ has joined #heat | 08:04 | |
*** elynn has quit IRC | 08:04 | |
*** derekh has joined #heat | 08:10 | |
*** shardy_afk is now known as shardy | 08:17 | |
*** gfidente has joined #heat | 08:23 | |
*** gfidente has joined #heat | 08:23 | |
*** ramishra has quit IRC | 08:24 | |
*** amoralej|off is now known as amoralej | 08:25 | |
*** ramishra has joined #heat | 08:27 | |
*** dixiaoli has joined #heat | 08:34 | |
*** dixiaoli has quit IRC | 08:36 | |
*** dixiaoli_ has quit IRC | 08:38 | |
*** serlex has joined #heat | 08:55 | |
openstackgerrit | Rabi Mishra proposed openstack/heat master: Fix error for invalid auth_encryption_key https://review.openstack.org/494092 | 09:01 |
*** hoonetorg has quit IRC | 09:07 | |
*** hoonetorg has joined #heat | 09:10 | |
*** dixiaoli has joined #heat | 09:14 | |
*** zsli_ has quit IRC | 09:33 | |
*** ricolin has joined #heat | 09:36 | |
*** shan is now known as shan|afk | 09:45 | |
*** dixiaoli has quit IRC | 09:45 | |
*** dixiaoli has joined #heat | 09:48 | |
*** dixiaoli has quit IRC | 10:03 | |
*** namnh has quit IRC | 10:04 | |
*** kiennt has quit IRC | 10:05 | |
*** elynn_ has quit IRC | 10:06 | |
*** flg has quit IRC | 10:33 | |
*** flg has joined #heat | 11:06 | |
AJaeger | thanks, ricolin and tiantian | 11:07 |
*** AJaeger has left #heat | 11:07 | |
*** szaher has joined #heat | 11:15 | |
*** elynn has joined #heat | 11:45 | |
*** jcoufal has joined #heat | 12:10 | |
*** dprince has joined #heat | 12:15 | |
*** jmlowe has quit IRC | 12:20 | |
*** kbaegis has joined #heat | 12:21 | |
*** skramaja has quit IRC | 12:33 | |
*** shan|afk has quit IRC | 12:40 | |
*** dyasny_ has quit IRC | 12:44 | |
*** kiennt has joined #heat | 12:45 | |
*** catintheroof has joined #heat | 12:49 | |
*** spzala has quit IRC | 12:51 | |
*** kbaegis has quit IRC | 12:56 | |
*** shan|afk has joined #heat | 12:57 | |
*** gongysh has quit IRC | 13:00 | |
*** gongysh has joined #heat | 13:00 | |
*** gongysh has quit IRC | 13:00 | |
*** EricGonczer_ has joined #heat | 13:01 | |
shewless | Hi guys. For the unit tests: self.assertEqual(self.stack.identifier(), identity) | 13:01 |
shewless | is the first value "expected" and the second value "actual"? | 13:01 |
*** spzala has joined #heat | 13:12 | |
*** spzala has quit IRC | 13:12 | |
*** spzala has joined #heat | 13:12 | |
*** shan|afk has quit IRC | 13:18 | |
*** pradk has quit IRC | 13:19 | |
ricolin | shewless, yes:) | 13:22 |
*** ramishra has quit IRC | 13:25 | |
*** ramishra has joined #heat | 13:28 | |
*** jmlowe has joined #heat | 13:28 | |
*** chlong_ has joined #heat | 13:32 | |
*** felipemonteiro has joined #heat | 13:35 | |
*** felipemonteiro_ has joined #heat | 13:36 | |
*** elynn_ has joined #heat | 13:39 | |
*** felipemonteiro has quit IRC | 13:40 | |
*** elynn has quit IRC | 13:41 | |
*** crose has joined #heat | 13:58 | |
*** kbaegis has joined #heat | 13:59 | |
*** chlong_ has quit IRC | 13:59 | |
*** jprovazn has quit IRC | 14:01 | |
*** yangyapeng has joined #heat | 14:03 | |
shewless | shardy, ricolin: friendly ping on https://review.openstack.org/#/c/493588/. I am stuck trying to figure out why 3 unit tests are failing | 14:06 |
*** EricGonc_ has joined #heat | 14:06 | |
*** kiennt has quit IRC | 14:06 | |
shewless | any help would be appreciated.. even pointers for debugging | 14:06 |
*** EricGonczer_ has quit IRC | 14:07 | |
*** elynn__ has joined #heat | 14:10 | |
*** felipemonteiro_ has quit IRC | 14:10 | |
*** elynn_ has quit IRC | 14:13 | |
*** mdnadeem has quit IRC | 14:26 | |
*** flg has quit IRC | 14:26 | |
*** links has quit IRC | 14:32 | |
*** kiennt has joined #heat | 14:39 | |
*** felipemonteiro has joined #heat | 14:41 | |
*** felipemonteiro_ has joined #heat | 14:42 | |
*** pradk has joined #heat | 14:44 | |
*** gkadam has joined #heat | 14:45 | |
ricolin | Hi guys meeting in 15mins, feel free to add agenda here https://wiki.openstack.org/wiki/Meetings/HeatAgenda#Agenda_.282017-08-16_1500_UTC.29 | 14:45 |
*** felipemonteiro has quit IRC | 14:46 | |
*** jprovazn has joined #heat | 14:54 | |
*** elynn__ has quit IRC | 14:58 | |
*** elynn__ has joined #heat | 14:59 | |
ricolin | kiennt, LanceHaig, kazsh, gaborm, mrwolf, zaneb, ramishra, therve, shardy, skraynev, prazumovsky, elynn, spzala, tiantian Meeting time! at openstack-meeting-5 | 15:00 |
*** spzala has quit IRC | 15:01 | |
*** spzala has joined #heat | 15:01 | |
*** rcernin has quit IRC | 15:07 | |
*** gkadam is now known as gkadam-afk | 15:24 | |
*** shardy is now known as shardy_afk | 15:27 | |
*** gkadam-afk has quit IRC | 15:31 | |
*** gkadam has joined #heat | 15:32 | |
*** links has joined #heat | 15:34 | |
*** mdnadeem has joined #heat | 15:37 | |
*** ccamacho has quit IRC | 15:44 | |
*** ccamacho has joined #heat | 15:46 | |
*** links has quit IRC | 15:49 | |
*** spzala has quit IRC | 15:51 | |
*** spzala has joined #heat | 15:51 | |
*** spzala has quit IRC | 15:55 | |
*** elynn__ has quit IRC | 16:01 | |
*** iogg has quit IRC | 16:09 | |
*** kiennt has quit IRC | 16:11 | |
*** ramishra has quit IRC | 16:13 | |
*** pbourke has quit IRC | 16:21 | |
*** iogg has joined #heat | 16:21 | |
*** pbourke has joined #heat | 16:23 | |
*** iogg has quit IRC | 16:26 | |
*** charlesr has joined #heat | 16:26 | |
*** ccamacho has quit IRC | 16:32 | |
*** charlesr has quit IRC | 16:33 | |
*** crose has quit IRC | 16:34 | |
*** crose has joined #heat | 16:34 | |
*** serlex has quit IRC | 16:37 | |
*** yangyapeng has quit IRC | 16:44 | |
*** yangyapeng has joined #heat | 16:47 | |
*** rcernin has joined #heat | 16:49 | |
*** spzala has joined #heat | 16:52 | |
*** yangyapeng has quit IRC | 16:52 | |
*** dprince has quit IRC | 16:58 | |
*** strigazi_OFF is now known as strigazi | 17:00 | |
shewless | a | 17:00 |
*** shardy_afk is now known as shardy | 17:03 | |
ricolin | shewless, hi | 17:05 |
*** derekh has quit IRC | 17:06 | |
ricolin | in those failing test the stack_name return as unicode like u'' ('stack_name': u'ef0c41a4-644f-447c-ad80-7eecb0becf79') which you should use same in your expected dict | 17:06 |
*** gfidente is now known as gfidente|afk | 17:12 | |
*** blomquisg is now known as blomquisg_gone | 17:14 | |
*** shardy has quit IRC | 17:23 | |
*** gkadam has quit IRC | 17:25 | |
*** dprince has joined #heat | 17:26 | |
*** spzala has quit IRC | 17:34 | |
*** spzala has joined #heat | 17:35 | |
*** spzala has quit IRC | 17:39 | |
*** jtomasek is now known as jtomasek|afk | 17:41 | |
*** armaan_ has joined #heat | 17:42 | |
*** blomquisg_gone is now known as blomquisg | 17:43 | |
*** armaan has quit IRC | 17:45 | |
*** ricolin has quit IRC | 17:46 | |
*** armaan has joined #heat | 17:46 | |
*** armaan_ has quit IRC | 17:49 | |
*** strigazi is now known as strigazi_OFF | 17:55 | |
*** spzala has joined #heat | 18:03 | |
*** shewless has quit IRC | 18:05 | |
*** armaan has quit IRC | 18:09 | |
*** shewless has joined #heat | 18:19 | |
shewless | ricolin: lost my previous connection.. but the stack name is returned correctly | 18:20 |
shewless | ricolin: the problem is that the "tenant_name" (which is what I added) is coming back blank | 18:20 |
shewless | but only for these 3 tests | 18:20 |
shewless | and I can't figure out why this test differs from the rest | 18:20 |
shewless | ricolin: so the reference is: reference = {'tenant': 'stack_service_test_tenant', 'path': '', 'stack_id': '4bbe5bca-985d-4b7e-92ae-70d50a04ff0b', 'stack_name': 'service_identify_uuid_test_stack', 'tenant_name': 'test_tenant'} | 18:21 |
shewless | ricolin: but the actual is: actual = {'path': '', 'stack_id': '4bbe5bca-985d-4b7e-92ae-70d50a04ff0b', 'stack_name': u'service_identify_uuid_test_stack', 'tenant': u'stack_service_test_tenant', 'tenant_name': ''} | 18:22 |
shewless | I can't figure out why the tenant_name is blank in this case. the dummy_context is configured to set it to a value.. and that's working for all other tests | 18:23 |
shewless | the only thing I can think of is that there is a "_from_db" path that I might not be handling correctly | 18:24 |
*** flg has joined #heat | 18:28 | |
*** amoralej is now known as amoralej|off | 18:47 | |
*** nicolasbock has quit IRC | 18:55 | |
*** jmlowe has quit IRC | 18:57 | |
*** mdnadeem has quit IRC | 19:00 | |
*** armaan has joined #heat | 19:03 | |
*** armaan has quit IRC | 19:18 | |
*** armaan has joined #heat | 19:18 | |
*** kbaegis1 has joined #heat | 19:22 | |
*** kbaegis has quit IRC | 19:23 | |
*** crose has quit IRC | 19:29 | |
*** nicolasbock has joined #heat | 19:39 | |
*** jprovazn has quit IRC | 19:43 | |
*** yangyapeng has joined #heat | 19:44 | |
*** yangyapeng has quit IRC | 19:49 | |
*** iogg has joined #heat | 19:49 | |
*** nicolasbock has quit IRC | 19:49 | |
*** rcernin has quit IRC | 19:55 | |
mw_ | Hi guys. Quick question for you. I'd like to create a heat template to spawn an arbitrary number of Nova::Servers. With each server I require 3 neutron ports. I'd like the servers and ports to be named something like mgmt_port_$x, db_port_$x, server_$x, and, if possible, have and IP addressing scheme that increments for each loop. Is such a thing possible with Heat? | 20:04 |
shewless | mw_ : you can use OS::Heat::ResourceGroup for this | 20:07 |
shewless | Basically you create a "nested" template that creates a server and port | 20:08 |
shewless | Then in your "base" template you use ResourceGroup and point it to your nested template with a count of 3 | 20:08 |
mw_ | shewless: Does that allow for incrementing IP addrs etc? | 20:09 |
shewless | If you defined your OS::Neutron::Subnet in your base template then each of your ports in the resource group will get an incrementing IP from that pool | 20:09 |
mw_ | shewless: From what I could tell the index just starts at 0 and increments for each resource in the group up to $cound | 20:09 |
shewless | mw_: Use the OS::Neutron::Subnet and you won't need the index | 20:09 |
shewless | mw_: You just tell your port or server to pull from that subnet and heat take care of the rest | 20:10 |
mw_ | If I need to assign floating IPs to these servers don't I need a neutron port? | 20:10 |
mw_ | rather than just assigning to a subnet | 20:10 |
shewless | mw_: Let me paste an example for you | 20:11 |
mw_ | I also need these IP addresses to be static, or at least very predictable. | 20:11 |
mw_ | shewless: Ok, thanks. | 20:11 |
shewless | mw_: possible but a bit more of a pain | 20:11 |
mw_ | shewless: What I have right now is 3 ports per server, one per network it's a part of. It's a pain to add new servers to this configuration because I'm statically assigning IP addresses etc.. | 20:14 |
*** dprince has quit IRC | 20:18 | |
mw_ | shewless: Is this reasonable? | 20:19 |
shewless | mw_: not sure what you mean | 20:21 |
mw_ | shewless: Using heat to accomplish something like this? | 20:22 |
shewless | mw_: I didn't get what you're trying to accomplish | 20:23 |
shewless | mw_: check out https://github.com/shewless/heat-templates/blob/master/basic-nested/server.yaml | 20:23 |
shewless | mw_: it uses a nested template: https://github.com/shewless/heat-templates/blob/master/basic-nested/nested/device.yaml | 20:24 |
shewless | see how the nested template grabs a floating ip and then returns it as output | 20:24 |
shewless | you can part this stack output if you want to know the floating ip | 20:24 |
mw_ | shewless: This is amazing. Thank you so much!! | 20:29 |
shewless | mw_: no problem. | 20:30 |
*** flg has quit IRC | 20:35 | |
*** jcoufal_ has joined #heat | 20:36 | |
*** jcoufal has quit IRC | 20:39 | |
*** felipemonteiro_ has quit IRC | 20:48 | |
mw_ | shewless: I have cloud-init scripts that modifies the interfaces files with IP addrs and some additional properties in some cases (since I have been using static IPs on ports), as well as populates the hosts file with the IPs of the other instances. The template you provided wouldn't give me IPs predictable enough to populate a hosts file like that, would it? | 20:50 |
mw_ | Sorry to slam you with lame questions :S | 20:50 |
*** vegarl has joined #heat | 20:50 | |
*** jcoufal_ has quit IRC | 20:52 | |
*** armaan_ has joined #heat | 20:54 | |
*** armaan has quit IRC | 20:57 | |
*** spzala has quit IRC | 20:58 | |
*** spzala has joined #heat | 21:00 | |
shewless | mv_: do you want the "private" ip? | 21:01 |
shewless | mw_: ubuntu does a great job of auto configuring the IPs for you! But you can easily use runcmd and pull the IP from the port | 21:02 |
*** vishwana_ has quit IRC | 21:03 | |
*** vishwanathj has joined #heat | 21:04 | |
shewless | mw_: Here is an example: https://pastebin.com/me7kyGhE | 21:05 |
*** spzala has quit IRC | 21:05 | |
shewless | mw_ : user_data uses "runcmd" to execute an arbitrary shell script and it uses str_replace to pass in the IP address from one of the ports | 21:06 |
shewless | mw_: you can use that str_replace to get any number of attributes from your resources | 21:06 |
mw_ | shewless: hmm that's interesting. | 21:18 |
mw_ | I'll have to take a look at that | 21:18 |
mw_ | *look into that | 21:18 |
*** catintheroof has quit IRC | 21:21 | |
*** felipemonteiro has joined #heat | 21:36 | |
*** kbaegis has joined #heat | 21:44 | |
*** kbaegis1 has quit IRC | 21:47 | |
*** gfidente|afk is now known as gfidente | 21:50 | |
*** felipemonteiro_ has joined #heat | 21:54 | |
*** vishwana_ has joined #heat | 21:54 | |
*** iogg has quit IRC | 21:55 | |
*** felipemonteiro has quit IRC | 21:57 | |
*** omie888777 has quit IRC | 21:57 | |
*** vishwanathj has quit IRC | 21:58 | |
*** armaan_ has quit IRC | 22:08 | |
*** kbaegis1 has joined #heat | 22:18 | |
*** kbaegis has quit IRC | 22:21 | |
mw_ | shewless: If I create 2 resource groups: 1 for all my network resources, and another for my servers, can the server resource group just depends_on the network group? Will that actually wait for the entire group to come up before spawning the second group? | 22:23 |
*** pradk has quit IRC | 22:27 | |
*** felipemonteiro_ has quit IRC | 22:34 | |
*** EricGonc_ has quit IRC | 22:57 | |
*** EricGonczer_ has joined #heat | 23:28 | |
*** EricGonczer_ has quit IRC | 23:30 | |
*** spzala has joined #heat | 23:34 | |
*** spzala has quit IRC | 23:38 | |
*** yangyapeng has joined #heat | 23:45 | |
*** yangyapeng has quit IRC | 23:54 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!