*** zzzeek has quit IRC | 00:06 | |
*** zzzeek has joined #heat | 00:08 | |
*** zzzeek has quit IRC | 00:24 | |
*** zzzeek has joined #heat | 00:29 | |
*** zzzeek has quit IRC | 00:34 | |
*** zzzeek has joined #heat | 00:35 | |
*** elod has quit IRC | 00:35 | |
*** elod has joined #heat | 00:36 | |
*** hongbin has joined #heat | 01:28 | |
*** hongbin_ has joined #heat | 01:46 | |
*** dopplerg- has joined #heat | 01:47 | |
*** dopplergange has quit IRC | 01:47 | |
*** hoonetorg has quit IRC | 01:47 | |
*** hongbin has quit IRC | 01:48 | |
*** hoonetorg has joined #heat | 01:49 | |
*** mikecmpbll has quit IRC | 02:37 | |
*** mikecmpbll has joined #heat | 02:43 | |
*** zzzeek has quit IRC | 02:47 | |
*** zzzeek has joined #heat | 02:51 | |
*** rcernin has quit IRC | 02:59 | |
*** rcernin has joined #heat | 03:14 | |
*** hongbin_ has quit IRC | 03:15 | |
*** hongbin has joined #heat | 03:16 | |
*** zzzeek has quit IRC | 03:19 | |
*** zzzeek has joined #heat | 03:21 | |
*** simondodsley has quit IRC | 03:22 | |
*** simondodsley has joined #heat | 03:26 | |
*** vishalmanchanda has joined #heat | 03:52 | |
openstackgerrit | wu.shiming proposed openstack/python-heatclient master: Remove translation sections from setup.cfg https://review.opendev.org/750272 | 03:57 |
---|---|---|
*** zzzeek has quit IRC | 04:03 | |
*** zzzeek has joined #heat | 04:05 | |
*** ramishra has quit IRC | 04:31 | |
*** ramishra has joined #heat | 04:31 | |
*** mikecmpbll has quit IRC | 04:41 | |
*** mikecmpbll has joined #heat | 04:46 | |
*** hongbin has quit IRC | 05:12 | |
*** zzzeek has quit IRC | 06:02 | |
*** zzzeek has joined #heat | 06:03 | |
*** zzzeek has quit IRC | 06:22 | |
*** zzzeek has joined #heat | 06:24 | |
*** gfidente has joined #heat | 06:57 | |
*** jtomasek has joined #heat | 06:58 | |
*** tosky has joined #heat | 07:35 | |
*** rcernin has quit IRC | 08:00 | |
*** tosky has quit IRC | 08:05 | |
*** tosky has joined #heat | 08:10 | |
*** tosky has quit IRC | 08:14 | |
*** tosky has joined #heat | 08:14 | |
*** apetrich has joined #heat | 08:14 | |
*** zzzeek has quit IRC | 08:16 | |
*** zzzeek has joined #heat | 08:17 | |
*** k_mouza has joined #heat | 08:26 | |
*** zzzeek has quit IRC | 08:47 | |
*** zzzeek has joined #heat | 08:50 | |
openstackgerrit | wu.shiming proposed openstack/python-heatclient master: Remove six.PY2 https://review.opendev.org/750301 | 09:35 |
*** tosky has quit IRC | 09:39 | |
*** k_mouza has quit IRC | 10:16 | |
*** zzzeek has quit IRC | 10:48 | |
*** zzzeek has joined #heat | 10:50 | |
*** k_mouza has joined #heat | 11:08 | |
*** k_mouza has quit IRC | 11:14 | |
*** k_mouza has joined #heat | 11:18 | |
*** k_mouza has quit IRC | 11:18 | |
openstackgerrit | Zihao Wang proposed openstack/heat master: Remove babel.cfg https://review.opendev.org/750356 | 13:00 |
*** cliffparsons has joined #heat | 13:01 | |
*** k_mouza has joined #heat | 13:09 | |
*** gfidente has quit IRC | 13:12 | |
openstackgerrit | Zihao Wang proposed openstack/heat master: Remove babel.cfg https://review.opendev.org/750356 | 13:20 |
*** beekneemech is now known as bnemec | 13:34 | |
*** ekultails has joined #heat | 13:37 | |
*** gfidente has joined #heat | 13:37 | |
openstackgerrit | Luke Short proposed openstack/heat stable/ussuri: Lazily cache parsed value of list/json parameters https://review.opendev.org/750363 | 13:40 |
zaneb | gregwork: your template looks ok to me, I'd have expected that to work | 14:22 |
gregwork | its coming through the other end as standalone-ansible-zzz132451/Stanadlone with this | 14:24 |
gregwork | # [{"network_config": [{"addresses": [{"ip_netmask": {"list_join": ["/", [{"get_param": "ControlPlaneIp"}, {"get_param": "ControlPlaneSubnetCidr"}]]}}], "dns_servers": {"ge | 14:24 |
gregwork | t_param": "DnsServers"}, "domain": {"get_param": "DnsSearchDomains"}, "members": [{"mtu": {"get_param": "InterfaceLocalMtu"}, "name": "interface_name", "primary": true, "ty | 14:24 |
gregwork | pe": "interface"}, {"mtu": {"get_param": "InterfaceLocalMtu"}, "type": "vlan", "vlan_id": {"get_param": "AioManagementNetworkVlanID"}}], "mtu": {"get_param": "InterfaceLoca | 14:24 |
gregwork | lMtu"}, "name": "br-ctlplane", "ovs_extra": ["br-set-external-id br-ctlplane bridge-id br-ctlplane"], "routes": {"get_param": "ControlPlaneStaticRoutes"}, "type": "ovs_brid | 14:24 |
gregwork | ge", "use_dhcp": false}]}] : the json serialized os-net-config config to apply | 14:24 |
gregwork | # | 14:24 |
gregwork | those should be resolved when it ends up here | 14:25 |
gregwork | im going to try adding the block to the net-config-standalone.j2.yaml directly .. this should work, but it kind of makes me wonder how anyone was going to use the override | 14:26 |
*** k_mouza has quit IRC | 14:27 | |
zaneb | gregwork: wait, are you saying that the parameter value contains intrinsic functions like "list_join" &c.? | 14:28 |
gregwork | ok so let me start from the beginning .. during my stack deploy i am passing an environment file that contains StandaloneNetConfigOverride and AioManagementNetworkVlanID | 14:29 |
gregwork | the former contains that big block and the latter is a simple integer | 14:29 |
gregwork | net-config-standalone.yaml has a if statement that says if standalonenetconfigoveride is defined, then use that, else use what is hardcoded in the template | 14:30 |
gregwork | my environment file does define it successfully, but the content of that override is not being interpolated | 14:30 |
gregwork | and its being written literally | 14:30 |
gregwork | so "get_param" link list all of that | 14:31 |
gregwork | http://paste.openstack.org/show/797589/ | 14:33 |
gregwork | those are more or less the moving parts | 14:34 |
gregwork | im guessing i cant pass StandaloneNetConfigOvrride from that high up ? | 14:34 |
gregwork | or maybe i cant pass dynamic variables down | 14:36 |
gregwork | or blocks containing strings that should be interpreted dynamically when read | 14:36 |
gregwork | maybe that last one is it .. but i yield to the masters for clarity | 14:37 |
gregwork | :P | 14:37 |
zaneb | gregwork: ok, now I understand. the result of get_param is always a literal value. there's no way to force it to be interpreted as if it were part of the template | 14:41 |
gregwork | ok so this is just not a thing, but based on the comments from that template... how is this ever going to be used | 14:42 |
gregwork | https://github.com/openstack/tripleo-heat-templates/blob/master/net-config-standalone.j2.yaml#L77-L83 | 14:42 |
gregwork | like its a great idea .. | 14:42 |
*** tkajinam has quit IRC | 14:43 | |
gregwork | however outside of editing the template directly with my block i dont think this can be used as intended | 14:43 |
gregwork | and editing the template defeats the purpose because i could just edit the content of the if statement | 14:43 |
gregwork | and im trying to not modify the sources | 14:43 |
zaneb | if you want a custom config you just pass it | 14:43 |
gregwork | but how do i pass data to StandaloneNetConfigOverride | 14:44 |
gregwork | where things are interpreted | 14:44 |
gregwork | or are we just confirming that is not possible and the only network config i can pass is one that doesnt need to be looked up/resolved | 14:46 |
zaneb | you don't, you have to calculate the config you want. does it depend on data produced by a higher-level stack? in that case I can see what you mean about it being pretty useless | 14:46 |
gregwork | zaneb: right it does depend on things set at the higher level | 14:47 |
gregwork | for my use case i can write it out as http://paste.openstack.org/show/797591/ | 14:49 |
gregwork | but thats crap | 14:49 |
gregwork | since all of that was defined in other templates above it | 14:49 |
zaneb | which part are you trying to override? | 14:49 |
gregwork | well the whole default block in the https://github.com/openstack/tripleo-heat-templates/blob/master/net-config-standalone.j2.yaml#L115-L156 | 14:50 |
zaneb | oh, it's the extra vlan member? | 14:51 |
gregwork | yeah im trying to use vlans in my config | 14:51 |
zaneb | I don't think there's any way to do what you want :( | 14:51 |
*** k_mouza has joined #heat | 14:51 | |
gregwork | you agree i could write out resolved block and use that though | 14:52 |
gregwork | i just cant use anything that needs to be resolved/looked up as the intrinsic would be passed literally | 14:52 |
zaneb | yes, that would work but obviously could get out of sync with any IP addresses that are generated inside the Heat templates | 14:53 |
zaneb | correct | 14:53 |
gregwork | yeah its less than ideal | 14:53 |
gregwork | is this kind of a use case rfe worthy ? | 14:53 |
gregwork | eg. some mechanism to pass blocks which contain intrinsics which get resolved | 14:54 |
zaneb | it'd be worth raising this with the tripleo team. if they know what customisations people are needing, they might be willing to add them to the templates | 14:54 |
gregwork | well that would be fixing the template, im talking about enhancing heat with new capability :) | 14:55 |
zaneb | like an exec function? it's an interesting idea | 14:55 |
zaneb | not sure it's actually possible, I'd have to think about it a bit more | 14:55 |
gregwork | yeah | 14:59 |
zaneb | it'd be interesting if it could help out with the case where you want to pass a calculation with %index% as a parameter to a member of a ResourceGroup. I don't think a straight exec would be enough to solve that though | 15:00 |
gregwork | so we could: This: { interpret: { get_param: that } } | 15:00 |
zaneb | doesn't hurt to raise an issue | 15:01 |
gregwork | on the main heat project ? | 15:02 |
*** k_mouza has quit IRC | 15:03 | |
zaneb | yep | 15:05 |
*** k_mouza has joined #heat | 15:10 | |
*** mailingsam has joined #heat | 15:16 | |
*** k_mouza has quit IRC | 15:29 | |
gmann | zaneb: ricolin can you review this, needed for Focal migration and to avoid break gate when base tox jobs will be switched to Focal https://review.opendev.org/#/c/750080/ | 15:29 |
*** jmlowe has quit IRC | 15:30 | |
*** jmlowe has joined #heat | 15:32 | |
*** k_mouza has joined #heat | 15:41 | |
zaneb | gmann: approved | 16:01 |
gmann | thanks | 16:01 |
*** k_mouza has quit IRC | 16:06 | |
*** k_mouza has joined #heat | 16:08 | |
*** k_mouza has quit IRC | 16:18 | |
*** vishalmanchanda has quit IRC | 16:21 | |
*** k_mouza has joined #heat | 16:24 | |
*** gfidente has quit IRC | 16:25 | |
*** k_mouza has quit IRC | 16:30 | |
openstackgerrit | Merged openstack/python-heatclient master: [goal] Migrate testing to ubuntu focal https://review.opendev.org/750080 | 16:33 |
*** bnemec has quit IRC | 16:52 | |
*** bnemec has joined #heat | 17:02 | |
*** jtomasek has quit IRC | 17:04 | |
openstackgerrit | Luke Short proposed openstack/heat stable/train: Lazily cache parsed value of list/json parameters https://review.opendev.org/750469 | 17:58 |
*** mailingsam has quit IRC | 18:15 | |
*** apetrich has quit IRC | 19:00 | |
*** cliffparsons has quit IRC | 19:06 | |
*** _erlon_ has joined #heat | 19:31 | |
*** cliffparsons has joined #heat | 19:32 | |
openstackgerrit | Sam Kumar proposed openstack/heat master: Adds backups and backups_gigabytes parameters https://review.opendev.org/750481 | 19:51 |
*** zzzeek has quit IRC | 20:16 | |
*** zzzeek has joined #heat | 20:17 | |
*** mikecmpbll has quit IRC | 20:54 | |
*** ekultails has quit IRC | 21:12 | |
*** _erlon_ has quit IRC | 22:56 | |
*** tkajinam has joined #heat | 22:57 | |
*** tkajinam has quit IRC | 22:57 | |
*** tkajinam has joined #heat | 22:58 | |
*** rcernin has joined #heat | 23:02 | |
openstackgerrit | Ghanshyam Mann proposed openstack/heat-tempest-plugin master: [goal] Migrate heat-tempest-plugin jobs to focal https://review.opendev.org/743106 | 23:15 |
openstackgerrit | Ghanshyam Mann proposed openstack/heat-tempest-plugin master: [goal] Migrate tox based testing to Focal https://review.opendev.org/743106 | 23:20 |
*** zzzeek has quit IRC | 23:33 | |
*** zzzeek has joined #heat | 23:35 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!