Friday, 2019-07-05

*** k_mouza has quit IRC00:14
*** ricolin has joined #heat00:56
openstackgerritTakashi NATSUME proposed openstack/heat master: Fix misuse of assertTrue  https://review.opendev.org/66922801:46
*** ricolin_ has joined #heat02:08
*** ricolin has quit IRC02:11
*** ricolin__ has joined #heat02:18
*** ricolin_ has quit IRC02:21
*** happyhemant has quit IRC02:41
*** skramaja has joined #heat02:49
*** ramishra has joined #heat03:23
*** ramishra has quit IRC03:28
*** ramishra has joined #heat03:29
*** rcernin has quit IRC04:17
*** gmoro_ has joined #heat04:50
*** gmoro has quit IRC04:52
*** rcernin has joined #heat05:10
*** ricolin_ has joined #heat05:32
*** ricolin__ has quit IRC05:34
*** rcernin has quit IRC05:41
*** rcernin has joined #heat05:59
*** ivve has joined #heat06:31
openstackgerritMerged openstack/heat-tempest-plugin master: Provide software config name in api test  https://review.opendev.org/66214406:34
*** e0ne has joined #heat06:44
openstackgerritOpenStack Proposal Bot proposed openstack/heat-dashboard master: Imported Translations from Zanata  https://review.opendev.org/66927206:56
*** arbrandes has quit IRC07:00
*** arbrandes has joined #heat07:01
*** jtomasek has joined #heat07:03
*** ivve has quit IRC07:06
*** ricolin__ has joined #heat07:10
*** ricolin_ has quit IRC07:13
*** hoonetorg has quit IRC07:16
*** hoonetorg has joined #heat07:29
*** ricolin__ is now known as ricolin07:44
*** rcernin has quit IRC07:45
*** ttsiouts has joined #heat07:55
*** gkadam has joined #heat08:02
*** rcernin has joined #heat08:03
*** ivve has joined #heat08:06
*** ttsiouts has quit IRC08:06
*** ttsiouts has joined #heat08:07
*** ttsiouts has quit IRC08:11
*** k_mouza has joined #heat08:12
*** k_mouza has quit IRC08:12
*** k_mouza has joined #heat08:13
*** ttsiouts has joined #heat08:26
*** k_mouza has quit IRC08:45
*** k_mouza has joined #heat08:45
*** rcernin has quit IRC08:49
*** rcernin has joined #heat09:05
*** jistr has quit IRC09:07
*** ricolin has quit IRC09:08
*** jistr has joined #heat09:14
*** rcernin has quit IRC09:16
*** ttsiouts has quit IRC10:08
*** ttsiouts has joined #heat10:08
*** ttsiouts has quit IRC10:13
*** ttsiouts has joined #heat11:49
*** openstackgerrit has quit IRC12:04
*** antonyc has joined #heat12:11
antonycHi All12:12
antonycI'm struglling with the get_attr intrinsic12:13
antonycI'm struggling with the get_attr intrinsic12:13
antonycthe examples suggest that I can do this12:14
antonycoutputs:12:14
antonyc  instance_ip:12:14
antonyc    description: IP address of the deployed compute instance12:14
antonyc    value: { get_attr: [my_instance, first_address] }12:14
antonyc  instance_private_ip:12:14
antonyc    description: Private IP address of the deployed compute instance12:14
antonyc    value: { get_attr: [my_instance, networks, private, 0] }12:14
antonycI have a template where I'm using a wait condition to grab a created public key to pass to subsequently created hosts, I will be passing more data once I have got this working the data is correctly stored in wc_data as follows:12:17
antonycwc_data12:18
antonycNo description given12:18
antonyc{"0": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKd14inrjEiwuWQ+G7aLpKMcnyi0UwMSVpSxYBu1dxfu root@testdeps-test.novalocal"}12:18
antonycbut if I try to grab just the key itself  using:12:19
antonyc  root_pubkey:12:19
antonyc    value: { get_attr: [master_wait_condition, data, 0] }12:19
*** jcoufal has joined #heat12:19
antonycit returns {12:19
antonycand if I request value: { get_attr: [master_wait_condition, data, 1] } I get "12:19
antonycI have tried setting the ID to ROOTPUBKEY and value: { get_attr: [master_wait_condition, data, ROOTPUBKEY] } but nthen I get null12:20
antonycit seems to treat this as a pure string. What am I doing wrong?12:21
antonycnot I'm using heat_template_version: 2018-03-0212:22
antonycThe only way I can make this to work is to revert to heat_template_version: 2014-10-16 and use value: { 'Fn::Select': ['ROOTPUBKEY', {get_attr: [master_wait_condition, data] }] }12:27
*** skramaja_ has joined #heat12:39
*** skramaja has quit IRC12:40
*** skramaja_ has quit IRC12:42
antonycwhile that works and I can work with it for the moment, if I want to work with newer template formats it will not work12:42
ramishraantonyc: did you try { get_attr: [master_wait_condition, data, '0'] }  ?12:56
antonycyes12:59
antonycand 'ROOTPUBKEY' etc12:59
antonycthese still come back null13:00
antonycI started with the quotes in place and removed them becuase they were absent in the docs13:00
ramishraI don't have time to test with wc, but it seems to work with http://paste.openstack.org/show/753890/13:03
ramishraso may be you can use an additional OS::Heat::Value to work around that13:04
antonycyeah I agree it works with val, it must be an issue specific to wait conditions see here http://paste.openstack.org/show/753893/13:26
*** zaneb has joined #heat13:38
antonycI shall see if I can push the data into val and then get it out that way13:39
*** ayoung has joined #heat13:49
*** gkadam_ has joined #heat13:50
*** gkadam has quit IRC13:52
*** ekultails has joined #heat13:56
*** e0ne has quit IRC14:27
*** ttsiouts has quit IRC14:30
*** ttsiouts has joined #heat14:31
*** ttsiouts has quit IRC14:36
*** ttsiouts has joined #heat14:37
*** jcoufal has quit IRC14:40
*** gmoro_ has quit IRC14:46
*** gmoro_ has joined #heat14:46
*** antonyc has quit IRC16:14
*** ttsiouts has quit IRC16:21
*** ttsiouts has joined #heat16:21
*** ttsiouts has quit IRC16:26
*** gkadam_ has quit IRC16:37
*** k_mouza has quit IRC16:39
*** k_mouza has joined #heat16:56
*** k_mouza has quit IRC17:00
*** ramishra has quit IRC19:31
*** e0ne has joined #heat20:14
*** e0ne has quit IRC21:14
*** e0ne has joined #heat21:15
*** ivve has quit IRC21:25
*** ekultails has quit IRC21:48
*** jtomasek has quit IRC21:54
*** jistr has quit IRC22:24
*** jistr has joined #heat22:24
*** zaneb has quit IRC23:09
*** zaneb has joined #heat23:10
*** zaneb has quit IRC23:15
*** zaneb has joined #heat23:16
*** zaneb has quit IRC23:17
*** zaneb has joined #heat23:18
*** zaneb has quit IRC23:19
*** zaneb has joined #heat23:20
*** zaneb has quit IRC23:22
*** zaneb has joined #heat23:23

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