Tuesday, 2018-01-02

*** jmlowe_ has quit IRC00:00
*** jmlowe has joined #heat00:00
*** namnh has joined #heat01:03
*** kiennt26 has joined #heat01:08
*** yangyapeng has joined #heat01:10
*** kiennt26 has quit IRC01:21
*** higgins` has quit IRC01:45
*** higgins has joined #heat01:48
*** zhenguo has joined #heat02:14
*** pbourke_ has quit IRC02:22
*** yangyapeng has quit IRC02:22
*** yangyapeng has joined #heat02:23
*** pbourke_ has joined #heat02:24
*** kiennt26 has joined #heat02:51
*** yangyape_ has joined #heat02:55
*** yangyapeng has quit IRC02:55
*** links has joined #heat03:34
*** yangyapeng has joined #heat03:41
*** yangyape_ has quit IRC03:41
*** ramishra has joined #heat04:08
*** nicolasbock has quit IRC04:38
*** skramaja has joined #heat05:45
*** skramaja has quit IRC06:09
*** skramaja_ has joined #heat06:09
*** skramaja_ has quit IRC06:13
*** skramaja_ has joined #heat06:14
*** armaan has quit IRC06:31
*** armaan has joined #heat06:31
*** ivveh has quit IRC06:39
*** ivveh has joined #heat06:40
*** ivveh has quit IRC06:51
*** openstackgerrit has joined #heat07:03
openstackgerritNguyen Hung Phuong proposed openstack/heat-dashboard master: Use assertRegex instead of assertRegexpMatches  https://review.openstack.org/53068907:03
*** jtomasek has joined #heat08:10
*** jtomasek has quit IRC08:12
*** jtomasek has joined #heat08:12
*** armaan has quit IRC08:20
*** armaan has joined #heat08:26
*** mdnadeem has joined #heat08:51
*** gmoro has joined #heat09:04
*** yassine has joined #heat09:06
*** yassine is now known as Guest1072609:06
*** SmearedBeard has joined #heat09:10
*** gmoro has quit IRC09:14
*** gmoro has joined #heat09:16
*** shardy has joined #heat09:32
*** dbecker has joined #heat09:34
*** gfidente has joined #heat09:52
*** gfidente has joined #heat09:52
*** derekh has joined #heat09:55
*** armaan has quit IRC09:56
*** pbourke_ has quit IRC10:02
*** pbourke has joined #heat10:10
*** namnh has quit IRC10:14
*** huangtianhua_ has joined #heat10:20
*** kiennt26 has quit IRC10:21
*** huangtianhua has quit IRC10:23
*** liusheng has quit IRC10:23
*** liusheng has joined #heat10:23
*** ricolin has joined #heat10:31
*** ramishra has quit IRC10:35
*** armaan has joined #heat10:38
*** armaan_ has joined #heat10:40
*** armaan has quit IRC10:40
*** ramishra has joined #heat10:48
*** maestropandy has joined #heat10:55
*** maestropandy has left #heat10:55
*** Guest10726 has quit IRC11:00
*** hjensas has quit IRC11:09
*** hjensas has joined #heat11:09
*** hjensas has quit IRC11:09
*** hjensas has joined #heat11:09
*** blinky_ghost has joined #heat11:11
blinky_ghostshardy: Hi, can you give me a help here?11:12
shardyblinky_ghost: possibly, what's the problem?11:12
blinky_ghostI'm using a resourcegroup nested stack, however I need to use predictable ips for my servers in the same fashion as tripleo. That is working fine, however when I try to "heal" the stack, marking a resource group nova node as unhealthy it messes all my nodes because of indexes. This doesn't happen when I don't use predictable ips. Is there a better way to specify which node I want to remove from the stack without messing it up?11:17
*** armaan_ has quit IRC11:19
*** huangtianhua_ has quit IRC11:23
*** huangtianhua_ has joined #heat11:24
*** SmearedBeard has quit IRC11:31
*** mdnadeem has quit IRC11:40
*** serlex has joined #heat11:46
*** SmearedBeard has joined #heat11:47
*** nicolasbock has joined #heat11:58
*** mdnadeem has joined #heat12:04
*** links has quit IRC12:13
*** gfidente has quit IRC12:30
*** SmearedBeard has quit IRC12:31
*** Smeared_Beard has joined #heat12:34
*** maestropandy has joined #heat12:47
*** maestropandy has quit IRC12:51
*** maestropandy has joined #heat12:52
*** maestropandy has left #heat12:52
*** jcoufal has joined #heat12:59
*** skramaja_ has quit IRC13:22
*** gfidente has joined #heat13:23
*** gfidente has joined #heat13:23
*** ygl has joined #heat13:23
*** ramishra has quit IRC13:26
*** ygl_ has joined #heat13:27
*** yassine has joined #heat13:28
*** yassine has quit IRC13:28
*** ygl has quit IRC13:29
*** yassine has joined #heat13:29
*** yassine is now known as Guest7410813:29
ygl_hi all13:34
ygl_i need help on nested templates13:34
ygl_i have nested templates n1 and n2 which are normal OS::Nova:server resources. I am using them both in a parent template p1. How can I capture the value of the mac address of a network port of n1 to use it in the post configuration of n2 ?13:35
*** serlex has quit IRC13:38
*** ygl_ has quit IRC13:40
*** ygl has joined #heat13:41
ygli need some help13:42
ygli have nested templates n1 and n2 which are normal OS::Nova:server resources. I am using them both in a parent template p1. How can I capture the value of the mac address of a network port of n1 to use it in the post configuration of n2 ?13:42
yglis anyone there ?13:46
*** mchlumsky has joined #heat14:03
*** zaneb has joined #heat14:05
*** mchlumsky has quit IRC14:13
*** ygl has quit IRC14:15
*** mchlumsky has joined #heat14:16
shardyIf ygl appears again, I created http://paste.openstack.org/show/636146/ to demonstrate how to pass an output between nested stacks14:17
*** serlex has joined #heat14:19
*** mchlumsky has quit IRC14:26
*** mchlumsky has joined #heat14:28
*** gmoro has quit IRC14:31
blinky_ghostshardy: you saw my question?14:37
shardyblinky_ghost: Sorry I missed it - the way we do this in TripleO is use the removal_policies interface to resource group14:38
shardyblinky_ghost: that means you can permanently blacklist a node without changing the indexes (the input data for predictable IPs will contain some unused list items though)14:39
blinky_ghostshardy: do you have an example how to do that?14:39
shardyhttps://docs.openstack.org/heat/latest/template_guide/openstack.html#OS::Heat::ResourceGroup-prop-removal_policies14:40
shardyhttps://github.com/openstack/tripleo-heat-templates/blob/master/overcloud.j2.yaml#L19414:40
shardyblinky_ghost: ^^14:40
shardyblinky_ghost: basically something like removal_policies: [{'resource_list': ['0']}]14:40
shardyblinky_ghost: however note you will have to maintain that list on update, e.g update the list instead of overwriting it14:41
*** hongbin has joined #heat14:41
shardywe have a workflow in TripleO which does that, but heat doesn't provide a way to do it by default AFAIK14:41
blinky_ghostshardy: so you're saying that I have to scale out instead of replacing the node? Can I reuse the ip of the blacklisted node?14:43
shardyblinky_ghost: if you want to replace the node, you can use the resource mark unhealthy interface14:43
shardyblinky_ghost: then heat will replace the resource group member you marked unhealthy on the next stack update14:44
shardySorry I don't have a good example of that, but I've done it with TripleO deployments and it works fine14:44
shardyblinky_ghost: it'll be something like stack resource mark unhealthy <resource group nested stack ID> "0"14:45
shardythen do a stack update (or in the case of TripleO run the deploy command again14:45
blinky_ghostshardy: ok, so I have to mark the interface unhealthy, meaning the neutron port instead of nova server. Then I have to scale out, add a node to the counter?14:46
shardyblinky_ghost: No you don't need to change the count14:46
shardyjust mark whatever you want to replace unhealthy then update14:46
shardyheat treats the unhealthy resource as failed so it gets replaced14:47
blinky_ghostshardy: but I tested the unhealthy on the nova server and it messes the indexes because I use fixed ips. Are you saying I need to mark unhealthy the neutron port?14:47
shardyblinky_ghost: you need to mark the ResoureGroup member unhealthy, whatever that is14:48
shardyblinky_ghost: in the case of tripleo, it's a nested stack containing a server and some ports14:48
shardythey all get replaced on the next update14:48
shardymarking just the server (or port associated) probably won't work IME14:49
blinky_ghostshardy: In this example http://paste.openstack.org/show/636188/ I have a resource group with 3 servers and I want to replace node 0. Which resources should I mark unhealthy?14:59
openstackgerritMerged openstack/heat master: Refactor unit tests for server network  https://review.openstack.org/52960814:59
shardyblinky_ghost: is each server, and the ports etc it depends on, encapsulated in a nested stack you scale out via ResourceGroup?15:01
shardyblinky_ghost: the way I'd do it is do openstack stack resource list <nested stack ID> "0"15:01
shardyblinky_ghost: where the ID is e.g 0b2333d2-2d58-4b9a-a497-b3373f00116b for rabbitmqcluster15:01
shardyblinky_ghost: if you have coupling based on the index over multiple resource groups (which is a bad idea) then you may have to replicate the mark unhealthy in more than one place15:02
blinky_ghostshardy: It's seems to be working openstack stack resource mark unhealthy f23d7cfc-1653-43e1-bac2-ab5533dfaf9d rabbitmqserver. I marked unhealthy the OS::Nova::Server and it's seems to be working :)15:03
blinky_ghostthanks15:03
blinky_ghostshardy: usually I would mark all the resource unhealthy for that index (without fixed ips), but since I want to reuse the ips, I just mark the Nova Server. Does it make sense?15:05
shardyblinky_ghost: yes that makes sense, but IME it's best to scale out the server and all the things it depends on, as it's more likely you'll encounter issues re dependencies if you try to scale ports and servers via independent resource groups15:34
shardyblinky_ghost: that said, if it works for you, then all good :)15:35
*** blomquisg_gone is now known as blomquisg15:38
*** tiantian has joined #heat15:45
*** Guest74108 has quit IRC15:45
*** bnemec-xmas is now known as bnemec15:46
*** huangtianhua_ has quit IRC15:47
*** mchlumsky has quit IRC15:48
*** mchlumsky has joined #heat15:49
blinky_ghostshardy: In this case all I want is to replace the server and reuse the ips, for example if the compute node dies. Scale out is a different thing, I would change the counter and use new ips.15:52
*** ricolin has quit IRC15:53
*** vishwanathj has quit IRC16:12
*** armaan has joined #heat17:00
*** mwynne has joined #heat17:19
*** d0ugal has quit IRC17:19
*** d0ugal has joined #heat17:19
*** fragatina has joined #heat17:29
*** fragatin_ has joined #heat17:31
*** fragatina has quit IRC17:34
*** gkadam_ has joined #heat17:36
*** armaan has quit IRC17:41
*** mdnadeem has quit IRC17:42
*** armaan has joined #heat17:43
*** armaan has quit IRC17:43
*** armaan has joined #heat17:45
*** armaan has quit IRC17:51
*** armaan has joined #heat17:51
*** catintheroof has joined #heat17:51
*** armaan has quit IRC17:55
*** derekh has quit IRC17:59
*** armaan has joined #heat17:59
*** armaan has quit IRC18:07
*** harlowja has joined #heat18:12
*** fragatin_ has quit IRC18:31
*** serlex has quit IRC18:37
*** blinky_ghost has quit IRC18:56
*** chenying has quit IRC18:58
*** fishbone_ has joined #heat19:08
*** gfidente has quit IRC19:15
*** dbecker has quit IRC19:25
*** ayoung has joined #heat19:42
*** flwang1 has quit IRC19:53
*** d0ugal has quit IRC20:00
*** shardy has quit IRC20:04
*** dbecker has joined #heat20:13
*** d0ugal has joined #heat20:18
*** dbecker has quit IRC20:24
*** fragatina has joined #heat20:24
*** flwang1 has joined #heat20:26
*** catintheroof has quit IRC20:46
*** catintheroof has joined #heat20:46
*** catintheroof has quit IRC20:51
*** fragatina has quit IRC21:00
*** Smeared_Beard has quit IRC21:05
*** jose-phillips has joined #heat21:23
*** fragatina has joined #heat21:31
*** fragatina has quit IRC21:32
*** fragatina has joined #heat21:32
*** jcoufal has quit IRC21:42
*** rcernin has joined #heat21:45
*** hongbin has quit IRC21:45
*** fragatina has quit IRC22:44
*** catintheroof has joined #heat22:46
openstackgerritNicolas Helgeson proposed openstack/heat master: Add project tags to heat orchestration  https://review.openstack.org/50796222:56
*** blomquisg is now known as blomquisg_gone23:05
*** gkadam has joined #heat23:16
*** gkadam_ has quit IRC23:16
*** jtomasek has quit IRC23:17

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