Wednesday, 2017-08-16

*** catintheroof has joined #heat00:23
*** kei1 has quit IRC00:26
*** kei1 has joined #heat00:28
openstackgerritKazunori Shinohara proposed openstack/heat master: WIP: Imporve update preview logic  https://review.openstack.org/49385200:53
*** ricolin has joined #heat00:58
*** GonZo2K has quit IRC00:59
*** kiennt has joined #heat01:01
*** dixiaoli has joined #heat01:01
*** dixiaoli_ has joined #heat01:02
*** dixiaoli has quit IRC01:02
*** elynn has joined #heat01:20
*** liusheng has quit IRC01:21
*** gkadam has quit IRC01:28
*** liusheng has joined #heat01:34
*** catintheroof has quit IRC01:47
*** gongysh has joined #heat02:07
*** EricGonczer_ has joined #heat02:15
openstackgerrityfzhao proposed openstack/heat master: Fix wrong links  https://review.openstack.org/49283102:41
*** ramishra has quit IRC02:44
*** ramishra has joined #heat02:46
*** gongysh has quit IRC02:47
*** catintheroof has joined #heat02:50
*** gongysh has joined #heat02:53
*** catintheroof has quit IRC03:03
*** Shunli has joined #heat03:05
*** vishwana_ has joined #heat03:18
*** vishwanathj has quit IRC03:21
*** yangyapeng has quit IRC03:28
*** EricGonczer_ has quit IRC03:30
*** yangyapeng has joined #heat03:32
*** links has joined #heat03:47
*** ramishra has quit IRC03:55
*** ramishra has joined #heat03:57
*** nicolasbock has joined #heat04:13
*** yangyapeng has quit IRC04:15
*** shan has joined #heat04:39
openstackgerritchenaidong1 proposed openstack/heat master: Delete redundant code  https://review.openstack.org/49407505:09
*** flg has joined #heat05:17
*** AJaeger has joined #heat05:27
AJaegerheat 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 #heat05:27
ricolintiantian, Maybe you can just approve on those two?05:29
*** mdnadeem has quit IRC05:37
*** flg has quit IRC05:42
*** zsli_ has joined #heat05:43
*** kiennt has quit IRC05:43
*** Shunli has quit IRC05:45
*** zsli__ has joined #heat05:49
*** mdnadeem has joined #heat05:49
*** zsli_ has quit IRC05:52
*** omie888777 has quit IRC06:00
*** kiennt has joined #heat06:02
*** namnh has joined #heat06:05
*** hoonetorg has quit IRC06:08
*** kiennt has quit IRC06:11
*** skramaja has joined #heat06:12
*** omie888777 has joined #heat06:13
*** kiennt has joined #heat06:16
*** armaan has joined #heat06:17
*** hoonetorg has joined #heat06:21
*** jprovazn has joined #heat06:55
*** rcernin has joined #heat06:57
*** kiennt has quit IRC06:57
*** kiennt has joined #heat06:58
*** ricolin has quit IRC07:05
*** shardy_afk is now known as shardy07:10
*** masuberu has joined #heat07:14
*** rcernin has quit IRC07:16
*** masber has quit IRC07:16
*** masuberu has quit IRC07:18
*** ccamacho has joined #heat07:18
*** rcernin has joined #heat07:19
openstackgerritRabi Mishra proposed openstack/heat master: Fix error for invalid auth_encryption_key  https://review.openstack.org/49409207:25
*** masuberu has joined #heat07:28
*** masuberu has quit IRC07:31
*** shardy is now known as shardy_afk07:32
*** zsli_ has joined #heat07:43
*** flg has joined #heat07:43
*** zsli__ has quit IRC07:46
*** omie888777 has quit IRC07:49
*** elynn has quit IRC07:59
*** iogg has joined #heat07:59
*** elynn has joined #heat08:00
*** omie888777 has joined #heat08:02
*** elynn_ has joined #heat08:04
*** elynn has quit IRC08:04
*** derekh has joined #heat08:10
*** shardy_afk is now known as shardy08:17
*** gfidente has joined #heat08:23
*** gfidente has joined #heat08:23
*** ramishra has quit IRC08:24
*** amoralej|off is now known as amoralej08:25
*** ramishra has joined #heat08:27
*** dixiaoli has joined #heat08:34
*** dixiaoli has quit IRC08:36
*** dixiaoli_ has quit IRC08:38
*** serlex has joined #heat08:55
openstackgerritRabi Mishra proposed openstack/heat master: Fix error for invalid auth_encryption_key  https://review.openstack.org/49409209:01
*** hoonetorg has quit IRC09:07
*** hoonetorg has joined #heat09:10
*** dixiaoli has joined #heat09:14
*** zsli_ has quit IRC09:33
*** ricolin has joined #heat09:36
*** shan is now known as shan|afk09:45
*** dixiaoli has quit IRC09:45
*** dixiaoli has joined #heat09:48
*** dixiaoli has quit IRC10:03
*** namnh has quit IRC10:04
*** kiennt has quit IRC10:05
*** elynn_ has quit IRC10:06
*** flg has quit IRC10:33
*** flg has joined #heat11:06
AJaegerthanks, ricolin and tiantian11:07
*** AJaeger has left #heat11:07
*** szaher has joined #heat11:15
*** elynn has joined #heat11:45
*** jcoufal has joined #heat12:10
*** dprince has joined #heat12:15
*** jmlowe has quit IRC12:20
*** kbaegis has joined #heat12:21
*** skramaja has quit IRC12:33
*** shan|afk has quit IRC12:40
*** dyasny_ has quit IRC12:44
*** kiennt has joined #heat12:45
*** catintheroof has joined #heat12:49
*** spzala has quit IRC12:51
*** kbaegis has quit IRC12:56
*** shan|afk has joined #heat12:57
*** gongysh has quit IRC13:00
*** gongysh has joined #heat13:00
*** gongysh has quit IRC13:00
*** EricGonczer_ has joined #heat13:01
shewlessHi guys. For the unit tests: self.assertEqual(self.stack.identifier(), identity)13:01
shewlessis the first value "expected" and the second value "actual"?13:01
*** spzala has joined #heat13:12
*** spzala has quit IRC13:12
*** spzala has joined #heat13:12
*** shan|afk has quit IRC13:18
*** pradk has quit IRC13:19
ricolinshewless, yes:)13:22
*** ramishra has quit IRC13:25
*** ramishra has joined #heat13:28
*** jmlowe has joined #heat13:28
*** chlong_ has joined #heat13:32
*** felipemonteiro has joined #heat13:35
*** felipemonteiro_ has joined #heat13:36
*** elynn_ has joined #heat13:39
*** felipemonteiro has quit IRC13:40
*** elynn has quit IRC13:41
*** crose has joined #heat13:58
*** kbaegis has joined #heat13:59
*** chlong_ has quit IRC13:59
*** jprovazn has quit IRC14:01
*** yangyapeng has joined #heat14:03
shewlessshardy, ricolin: friendly ping on https://review.openstack.org/#/c/493588/. I am stuck trying to figure out why 3 unit tests are failing14:06
*** EricGonc_ has joined #heat14:06
*** kiennt has quit IRC14:06
shewlessany help would be appreciated.. even pointers for debugging14:06
*** EricGonczer_ has quit IRC14:07
*** elynn__ has joined #heat14:10
*** felipemonteiro_ has quit IRC14:10
*** elynn_ has quit IRC14:13
*** mdnadeem has quit IRC14:26
*** flg has quit IRC14:26
*** links has quit IRC14:32
*** kiennt has joined #heat14:39
*** felipemonteiro has joined #heat14:41
*** felipemonteiro_ has joined #heat14:42
*** pradk has joined #heat14:44
*** gkadam has joined #heat14:45
ricolinHi guys meeting in 15mins, feel free to add agenda here https://wiki.openstack.org/wiki/Meetings/HeatAgenda#Agenda_.282017-08-16_1500_UTC.2914:45
*** felipemonteiro has quit IRC14:46
*** jprovazn has joined #heat14:54
*** elynn__ has quit IRC14:58
*** elynn__ has joined #heat14:59
ricolinkiennt, LanceHaig, kazsh, gaborm, mrwolf, zaneb,  ramishra, therve, shardy, skraynev, prazumovsky, elynn, spzala, tiantian Meeting time! at openstack-meeting-515:00
*** spzala has quit IRC15:01
*** spzala has joined #heat15:01
*** rcernin has quit IRC15:07
*** gkadam is now known as gkadam-afk15:24
*** shardy is now known as shardy_afk15:27
*** gkadam-afk has quit IRC15:31
*** gkadam has joined #heat15:32
*** links has joined #heat15:34
*** mdnadeem has joined #heat15:37
*** ccamacho has quit IRC15:44
*** ccamacho has joined #heat15:46
*** links has quit IRC15:49
*** spzala has quit IRC15:51
*** spzala has joined #heat15:51
*** spzala has quit IRC15:55
*** elynn__ has quit IRC16:01
*** iogg has quit IRC16:09
*** kiennt has quit IRC16:11
*** ramishra has quit IRC16:13
*** pbourke has quit IRC16:21
*** iogg has joined #heat16:21
*** pbourke has joined #heat16:23
*** iogg has quit IRC16:26
*** charlesr has joined #heat16:26
*** ccamacho has quit IRC16:32
*** charlesr has quit IRC16:33
*** crose has quit IRC16:34
*** crose has joined #heat16:34
*** serlex has quit IRC16:37
*** yangyapeng has quit IRC16:44
*** yangyapeng has joined #heat16:47
*** rcernin has joined #heat16:49
*** spzala has joined #heat16:52
*** yangyapeng has quit IRC16:52
*** dprince has quit IRC16:58
*** strigazi_OFF is now known as strigazi17:00
shewlessa17:00
*** shardy_afk is now known as shardy17:03
ricolinshewless, hi17:05
*** derekh has quit IRC17:06
ricolinin 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 dict17:06
*** gfidente is now known as gfidente|afk17:12
*** blomquisg is now known as blomquisg_gone17:14
*** shardy has quit IRC17:23
*** gkadam has quit IRC17:25
*** dprince has joined #heat17:26
*** spzala has quit IRC17:34
*** spzala has joined #heat17:35
*** spzala has quit IRC17:39
*** jtomasek is now known as jtomasek|afk17:41
*** armaan_ has joined #heat17:42
*** blomquisg_gone is now known as blomquisg17:43
*** armaan has quit IRC17:45
*** ricolin has quit IRC17:46
*** armaan has joined #heat17:46
*** armaan_ has quit IRC17:49
*** strigazi is now known as strigazi_OFF17:55
*** spzala has joined #heat18:03
*** shewless has quit IRC18:05
*** armaan has quit IRC18:09
*** shewless has joined #heat18:19
shewlessricolin: lost my previous connection.. but the stack name is returned correctly18:20
shewlessricolin: the problem is that the "tenant_name" (which is what I added) is coming back blank18:20
shewlessbut only for these 3 tests18:20
shewlessand I can't figure out why this test differs from the rest18:20
shewlessricolin: 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
shewlessricolin: 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
shewlessI 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 tests18:23
shewlessthe only thing I can think of is that there is a "_from_db" path that I might not be handling correctly18:24
*** flg has joined #heat18:28
*** amoralej is now known as amoralej|off18:47
*** nicolasbock has quit IRC18:55
*** jmlowe has quit IRC18:57
*** mdnadeem has quit IRC19:00
*** armaan has joined #heat19:03
*** armaan has quit IRC19:18
*** armaan has joined #heat19:18
*** kbaegis1 has joined #heat19:22
*** kbaegis has quit IRC19:23
*** crose has quit IRC19:29
*** nicolasbock has joined #heat19:39
*** jprovazn has quit IRC19:43
*** yangyapeng has joined #heat19:44
*** yangyapeng has quit IRC19:49
*** iogg has joined #heat19:49
*** nicolasbock has quit IRC19:49
*** rcernin has quit IRC19: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
shewlessmw_ : you can use OS::Heat::ResourceGroup for this20:07
shewlessBasically you create a "nested" template that creates a server and port20:08
shewlessThen in your "base" template you use ResourceGroup and point it to your nested template with a count of 320:08
mw_shewless: Does that allow for incrementing IP addrs etc?20:09
shewlessIf 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 pool20:09
mw_shewless: From what I could tell the index just starts at 0 and increments for each resource in the group up to $cound20:09
shewlessmw_: Use the OS::Neutron::Subnet and you won't need the index20:09
shewlessmw_: You just tell your port or server to pull from that subnet and heat take care of the rest20: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 subnet20:10
shewlessmw_: Let me paste an example for you20:11
mw_I also need these IP addresses to be static, or at least very predictable.20:11
mw_shewless: Ok, thanks.20:11
shewlessmw_: possible but a bit more of a pain20: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 IRC20:18
mw_shewless: Is this reasonable?20:19
shewlessmw_: not sure what you mean20:21
mw_shewless: Using heat to accomplish something like this?20:22
shewlessmw_: I didn't get what you're trying to accomplish20:23
shewlessmw_: check out https://github.com/shewless/heat-templates/blob/master/basic-nested/server.yaml20:23
shewlessmw_: it uses a nested template: https://github.com/shewless/heat-templates/blob/master/basic-nested/nested/device.yaml20:24
shewlesssee how the nested template grabs a floating ip and then returns it as output20:24
shewlessyou can part this stack output if you want to know the floating ip20:24
mw_shewless: This is amazing. Thank you so much!!20:29
shewlessmw_: no problem.20:30
*** flg has quit IRC20:35
*** jcoufal_ has joined #heat20:36
*** jcoufal has quit IRC20:39
*** felipemonteiro_ has quit IRC20: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 :S20:50
*** vegarl has joined #heat20:50
*** jcoufal_ has quit IRC20:52
*** armaan_ has joined #heat20:54
*** armaan has quit IRC20:57
*** spzala has quit IRC20:58
*** spzala has joined #heat21:00
shewlessmv_: do you want the "private" ip?21:01
shewlessmw_: ubuntu does a great job of auto configuring the IPs for you! But you can easily use runcmd and pull the IP from the port21:02
*** vishwana_ has quit IRC21:03
*** vishwanathj has joined #heat21:04
shewlessmw_: Here is an example: https://pastebin.com/me7kyGhE21:05
*** spzala has quit IRC21:05
shewlessmw_ : 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 ports21:06
shewlessmw_: you can use that str_replace to get any number of attributes from your resources21:06
mw_shewless: hmm that's interesting.21:18
mw_I'll have to take a look at that21:18
mw_*look into that21:18
*** catintheroof has quit IRC21:21
*** felipemonteiro has joined #heat21:36
*** kbaegis has joined #heat21:44
*** kbaegis1 has quit IRC21:47
*** gfidente|afk is now known as gfidente21:50
*** felipemonteiro_ has joined #heat21:54
*** vishwana_ has joined #heat21:54
*** iogg has quit IRC21:55
*** felipemonteiro has quit IRC21:57
*** omie888777 has quit IRC21:57
*** vishwanathj has quit IRC21:58
*** armaan_ has quit IRC22:08
*** kbaegis1 has joined #heat22:18
*** kbaegis has quit IRC22: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 IRC22:27
*** felipemonteiro_ has quit IRC22:34
*** EricGonc_ has quit IRC22:57
*** EricGonczer_ has joined #heat23:28
*** EricGonczer_ has quit IRC23:30
*** spzala has joined #heat23:34
*** spzala has quit IRC23:38
*** yangyapeng has joined #heat23:45
*** yangyapeng has quit IRC23:54

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!