*** k_mouza has quit IRC | 00:14 | |
*** ricolin has joined #heat | 00:56 | |
openstackgerrit | Takashi NATSUME proposed openstack/heat master: Fix misuse of assertTrue https://review.opendev.org/669228 | 01:46 |
---|---|---|
*** ricolin_ has joined #heat | 02:08 | |
*** ricolin has quit IRC | 02:11 | |
*** ricolin__ has joined #heat | 02:18 | |
*** ricolin_ has quit IRC | 02:21 | |
*** happyhemant has quit IRC | 02:41 | |
*** skramaja has joined #heat | 02:49 | |
*** ramishra has joined #heat | 03:23 | |
*** ramishra has quit IRC | 03:28 | |
*** ramishra has joined #heat | 03:29 | |
*** rcernin has quit IRC | 04:17 | |
*** gmoro_ has joined #heat | 04:50 | |
*** gmoro has quit IRC | 04:52 | |
*** rcernin has joined #heat | 05:10 | |
*** ricolin_ has joined #heat | 05:32 | |
*** ricolin__ has quit IRC | 05:34 | |
*** rcernin has quit IRC | 05:41 | |
*** rcernin has joined #heat | 05:59 | |
*** ivve has joined #heat | 06:31 | |
openstackgerrit | Merged openstack/heat-tempest-plugin master: Provide software config name in api test https://review.opendev.org/662144 | 06:34 |
*** e0ne has joined #heat | 06:44 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/heat-dashboard master: Imported Translations from Zanata https://review.opendev.org/669272 | 06:56 |
*** arbrandes has quit IRC | 07:00 | |
*** arbrandes has joined #heat | 07:01 | |
*** jtomasek has joined #heat | 07:03 | |
*** ivve has quit IRC | 07:06 | |
*** ricolin__ has joined #heat | 07:10 | |
*** ricolin_ has quit IRC | 07:13 | |
*** hoonetorg has quit IRC | 07:16 | |
*** hoonetorg has joined #heat | 07:29 | |
*** ricolin__ is now known as ricolin | 07:44 | |
*** rcernin has quit IRC | 07:45 | |
*** ttsiouts has joined #heat | 07:55 | |
*** gkadam has joined #heat | 08:02 | |
*** rcernin has joined #heat | 08:03 | |
*** ivve has joined #heat | 08:06 | |
*** ttsiouts has quit IRC | 08:06 | |
*** ttsiouts has joined #heat | 08:07 | |
*** ttsiouts has quit IRC | 08:11 | |
*** k_mouza has joined #heat | 08:12 | |
*** k_mouza has quit IRC | 08:12 | |
*** k_mouza has joined #heat | 08:13 | |
*** ttsiouts has joined #heat | 08:26 | |
*** k_mouza has quit IRC | 08:45 | |
*** k_mouza has joined #heat | 08:45 | |
*** rcernin has quit IRC | 08:49 | |
*** rcernin has joined #heat | 09:05 | |
*** jistr has quit IRC | 09:07 | |
*** ricolin has quit IRC | 09:08 | |
*** jistr has joined #heat | 09:14 | |
*** rcernin has quit IRC | 09:16 | |
*** ttsiouts has quit IRC | 10:08 | |
*** ttsiouts has joined #heat | 10:08 | |
*** ttsiouts has quit IRC | 10:13 | |
*** ttsiouts has joined #heat | 11:49 | |
*** openstackgerrit has quit IRC | 12:04 | |
*** antonyc has joined #heat | 12:11 | |
antonyc | Hi All | 12:12 |
antonyc | I'm struglling with the get_attr intrinsic | 12:13 |
antonyc | I'm struggling with the get_attr intrinsic | 12:13 |
antonyc | the examples suggest that I can do this | 12:14 |
antonyc | outputs: | 12:14 |
antonyc | instance_ip: | 12:14 |
antonyc | description: IP address of the deployed compute instance | 12: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 instance | 12:14 |
antonyc | value: { get_attr: [my_instance, networks, private, 0] } | 12:14 |
antonyc | I 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 |
antonyc | wc_data | 12:18 |
antonyc | No description given | 12:18 |
antonyc | {"0": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKd14inrjEiwuWQ+G7aLpKMcnyi0UwMSVpSxYBu1dxfu root@testdeps-test.novalocal"} | 12:18 |
antonyc | but 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 #heat | 12:19 | |
antonyc | it returns { | 12:19 |
antonyc | and if I request value: { get_attr: [master_wait_condition, data, 1] } I get " | 12:19 |
antonyc | I have tried setting the ID to ROOTPUBKEY and value: { get_attr: [master_wait_condition, data, ROOTPUBKEY] } but nthen I get null | 12:20 |
antonyc | it seems to treat this as a pure string. What am I doing wrong? | 12:21 |
antonyc | not I'm using heat_template_version: 2018-03-02 | 12:22 |
antonyc | The 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 #heat | 12:39 | |
*** skramaja has quit IRC | 12:40 | |
*** skramaja_ has quit IRC | 12:42 | |
antonyc | while that works and I can work with it for the moment, if I want to work with newer template formats it will not work | 12:42 |
ramishra | antonyc: did you try { get_attr: [master_wait_condition, data, '0'] } ? | 12:56 |
antonyc | yes | 12:59 |
antonyc | and 'ROOTPUBKEY' etc | 12:59 |
antonyc | these still come back null | 13:00 |
antonyc | I started with the quotes in place and removed them becuase they were absent in the docs | 13:00 |
ramishra | I don't have time to test with wc, but it seems to work with http://paste.openstack.org/show/753890/ | 13:03 |
ramishra | so may be you can use an additional OS::Heat::Value to work around that | 13:04 |
antonyc | yeah 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 #heat | 13:38 | |
antonyc | I shall see if I can push the data into val and then get it out that way | 13:39 |
*** ayoung has joined #heat | 13:49 | |
*** gkadam_ has joined #heat | 13:50 | |
*** gkadam has quit IRC | 13:52 | |
*** ekultails has joined #heat | 13:56 | |
*** e0ne has quit IRC | 14:27 | |
*** ttsiouts has quit IRC | 14:30 | |
*** ttsiouts has joined #heat | 14:31 | |
*** ttsiouts has quit IRC | 14:36 | |
*** ttsiouts has joined #heat | 14:37 | |
*** jcoufal has quit IRC | 14:40 | |
*** gmoro_ has quit IRC | 14:46 | |
*** gmoro_ has joined #heat | 14:46 | |
*** antonyc has quit IRC | 16:14 | |
*** ttsiouts has quit IRC | 16:21 | |
*** ttsiouts has joined #heat | 16:21 | |
*** ttsiouts has quit IRC | 16:26 | |
*** gkadam_ has quit IRC | 16:37 | |
*** k_mouza has quit IRC | 16:39 | |
*** k_mouza has joined #heat | 16:56 | |
*** k_mouza has quit IRC | 17:00 | |
*** ramishra has quit IRC | 19:31 | |
*** e0ne has joined #heat | 20:14 | |
*** e0ne has quit IRC | 21:14 | |
*** e0ne has joined #heat | 21:15 | |
*** ivve has quit IRC | 21:25 | |
*** ekultails has quit IRC | 21:48 | |
*** jtomasek has quit IRC | 21:54 | |
*** jistr has quit IRC | 22:24 | |
*** jistr has joined #heat | 22:24 | |
*** zaneb has quit IRC | 23:09 | |
*** zaneb has joined #heat | 23:10 | |
*** zaneb has quit IRC | 23:15 | |
*** zaneb has joined #heat | 23:16 | |
*** zaneb has quit IRC | 23:17 | |
*** zaneb has joined #heat | 23:18 | |
*** zaneb has quit IRC | 23:19 | |
*** zaneb has joined #heat | 23:20 | |
*** zaneb has quit IRC | 23:22 | |
*** zaneb has joined #heat | 23:23 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!