Thursday, 2019-09-12

*** iokiwi has quit IRC00:11
*** ivve has quit IRC00:47
*** ricolin has joined #heat00:48
*** happyhemant has quit IRC01:00
*** maddtux has joined #heat01:00
*** flwang has joined #heat01:14
flwangstevebaker: hello01:27
*** jcoufal has quit IRC01:54
*** skramaja has joined #heat03:40
*** ricolin has quit IRC04:27
gregworkthis is semi heat related (because yaql intrinsic) .. how would you refer to the key in this dict based on the following dict: https://pastebin.com/Z4VHxgmE05:16
gregworki can filter out the right one with $.node_map.values().where($.type = 'primary-db')05:16
gregworkim not entirely sure how to refer that path back to referencing the key05:16
gregworkthere arent alot of examples online and yaql seems like a pretty powerful tool for doing lookups/transforms in heat05:17
gregworkim trying to clean up this dict by using a smarter query that can extract the name of the key for use in other parts of the heat template.  ive been working around this by adding an extra key called "name" with the same data as the key itself  https://pastebin.com/ca1C15wF05:21
gregworkin that example i can run : let(x => $.node_map) -> $x.items().select($[1]).where($.type = 'primary-db').name05:21
gregworkthat will give me exactly what i want, but requires the dict have that superfluous key05:21
*** ramishra has joined #heat05:31
*** radeks has joined #heat05:42
*** tkajinam has quit IRC06:00
*** tkajinam has joined #heat06:06
*** ricolin has joined #heat06:41
*** tkajinam_ has joined #heat06:53
*** tkajinam has quit IRC06:56
*** ricolin has quit IRC06:59
*** arbrandes has quit IRC07:00
*** arbrandes has joined #heat07:01
*** ivve has joined #heat07:07
*** spsurya has joined #heat07:07
*** ricolin has joined #heat07:18
*** happyhemant has joined #heat07:23
*** rubasov has joined #heat07:24
*** ttsiouts has joined #heat07:37
*** e0ne has joined #heat07:57
*** e0ne has quit IRC08:08
*** tkajinam_ has quit IRC08:09
*** mlycka has joined #heat08:26
*** gfidente has joined #heat08:53
*** e0ne has joined #heat09:03
*** e0ne has quit IRC09:03
*** e0ne has joined #heat09:07
*** e0ne has quit IRC09:15
*** rcernin has quit IRC09:16
*** e0ne has joined #heat09:19
*** e0ne has quit IRC09:21
*** ricolin has quit IRC09:37
*** e0ne has joined #heat09:39
*** gfidente has quit IRC10:07
*** ttsiouts has quit IRC10:13
*** ttsiouts has joined #heat10:13
*** maddtux has quit IRC10:17
*** ttsiouts has quit IRC10:17
*** gfidente has joined #heat11:01
*** ttsiouts has joined #heat11:19
*** ttsiouts has quit IRC11:23
*** ttsiouts has joined #heat11:23
*** SmearedBeard has joined #heat11:27
*** ttsiouts has quit IRC11:47
*** ttsiouts has joined #heat12:03
*** SmearedBeard has quit IRC12:22
*** SmearedBeard has joined #heat12:23
*** SmearedBeard has quit IRC12:30
*** SmearedBeard has joined #heat12:31
*** e0ne has quit IRC12:44
*** e0ne has joined #heat12:44
*** SmearedBeard has quit IRC12:45
*** jmlowe has quit IRC13:03
*** jcoufal has joined #heat13:09
*** jmlowe has joined #heat13:24
*** jmlowe has quit IRC13:25
*** skramaja has quit IRC13:33
*** jmlowe has joined #heat13:36
*** ricolin has joined #heat13:39
*** k_mouza has joined #heat13:44
*** happyhemant has quit IRC13:47
*** tkajinam has joined #heat13:55
*** mlycka has quit IRC14:06
*** jmlowe has quit IRC15:01
*** k_mouza has quit IRC15:02
*** jmlowe has joined #heat15:05
*** tkajinam has quit IRC15:06
*** spsurya has quit IRC15:16
*** ivve has quit IRC15:52
*** ttsiouts has quit IRC16:01
*** ttsiouts has joined #heat16:02
*** ricolin has quit IRC16:03
*** ricolin has joined #heat16:04
*** ricolin has quit IRC16:05
*** ttsiouts has quit IRC16:06
*** e0ne has quit IRC16:08
*** jmlowe has quit IRC16:15
*** DinaBelova has quit IRC16:30
*** DinaBelova has joined #heat16:39
*** gfidente has quit IRC16:46
*** jcoufal has quit IRC17:29
*** e0ne has joined #heat17:29
*** ivve has joined #heat17:31
*** k_mouza has joined #heat17:44
*** k_mouza has quit IRC17:48
*** jmlowe has joined #heat18:40
*** jcoufal has joined #heat19:03
*** jcoufal has quit IRC19:36
*** jtomasek has quit IRC19:58
*** e0ne has quit IRC20:03
*** e0ne has joined #heat20:37
flwangstevebaker: morning, just wanna to have a chat about the ignition issue21:22
stevebakerflwang: hey21:22
*** ramishra has quit IRC21:23
stevebakergregwork: do you know about http://yaqluator.com/ ?21:24
flwangstevebaker: seems ignition team is not interested in support the mutli part mime. now i'm thinking if we can get heat support iginition by adding a new user-data-type like IGNITION around https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/nova/server.py#L12921:24
*** zaneb has quit IRC21:25
*** zaneb has joined #heat21:25
*** e0ne has quit IRC21:32
stevebakerflwang: I have another idea. For user_data_type=SOFTWARE_CONFIG, when the userdata data is built, test the supplied userdata to see if it is ignition json. If it is, add the necessary ignition file writing to bootstrap software-config, otherwise do the current multipart-mime building. That change would happen here https://github.com/openstack/heat/blob/master/heat/engine/clients/os/nova.py#L38121:37
flwangstevebaker: yep, i think that also works, and will get smaller changes21:39
flwangwould you mind me proposing a patch?21:39
stevebakerflwang: sure thing21:39
flwangdoes heat team need a spec for this or a story on storyboard is good enough?21:40
stevebakerflwang: maybe test for {"ignition": {"version": "*"}}21:41
stevebakerflwang: I have no idea, I'm not a heat dev any more ;)21:41
flwangstevebaker: yep, we can try to json.loads it and then check if it's matching the pattern we defined21:42
flwangbut i think that's a good idea with reasonable size21:42
stevebakersounds good21:42
flwangthank you very much21:44
*** jcoufal has joined #heat21:51
*** k_mouza has joined #heat22:01
*** jcoufal has quit IRC22:06
*** rcernin has joined #heat22:19
*** ivve has quit IRC22:52
*** tkajinam has joined #heat23:03

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