*** rcernin has joined #heat | 00:01 | |
*** zhurong has quit IRC | 00:34 | |
*** k_mouza has joined #heat | 00:43 | |
*** k_mouza has quit IRC | 00:48 | |
*** zhurong has joined #heat | 01:15 | |
*** spsurya has joined #heat | 01:29 | |
*** maddtux has joined #heat | 03:03 | |
gregwork | are these not things that you can do in heat: https://pastebin.com/CCnP5Mj2 | 04:43 |
---|---|---|
gregwork | both instances of get_file never actually happen | 04:44 |
gregwork | no errors | 04:44 |
gregwork | these are nested resources/tacks | 04:44 |
gregwork | from the master stack if i define "web_content" type: string default: get_file: http://place/where/i/get/this.sh and pass get_param web_content .. things are fine | 04:45 |
gregwork | but doing get_files in the nested/substacks never happens | 04:45 |
gregwork | is it supposed to ? | 04:45 |
gregwork | i thought so | 04:45 |
gregwork | maybe this is a bug ? python2-heatclient-1.14.1-1.el7ost | 04:46 |
*** ricolin has joined #heat | 04:47 | |
gregwork | im tailing the heat-engine.log on the control plane and for higher level get_file's i can see the engine going out to the website and pulling down the content | 04:47 |
gregwork | but not for these substacks | 04:47 |
gregwork | just silently ignored without errors | 04:47 |
gregwork | i mean i get a error, that the variables i am using have no conent, but no get_file failures .. the get_files just never run | 04:48 |
gregwork | ricolin: do you know if str_replace / resource_def can handle streamed content for template and variable assignment ? | 04:49 |
gregwork | this is a test case where this can be observed: https://pastebin.com/U3eynvbj | 05:01 |
gregwork | basically node_bridge in L3 is empty, despite that getting populated in L2 | 05:02 |
gregwork | stack will deploy but node_bridge: {} and hmmn: "" | 05:02 |
*** jtomasek has joined #heat | 05:02 | |
*** radeks has joined #heat | 05:25 | |
*** ivve has joined #heat | 05:29 | |
openstackgerrit | Shi Yan proposed openstack/heat-tempest-plugin master: Fix for boot_config_env default path https://review.opendev.org/679596 | 05:59 |
*** ttsiouts has joined #heat | 06:55 | |
*** gfidente has joined #heat | 06:56 | |
*** ttsiouts has quit IRC | 06:57 | |
*** rcernin has quit IRC | 07:08 | |
*** rcernin has joined #heat | 07:25 | |
*** rcernin has quit IRC | 07:48 | |
*** k_mouza has joined #heat | 08:14 | |
*** rubasov has quit IRC | 09:02 | |
*** rubasov has joined #heat | 09:16 | |
*** gmoro has joined #heat | 09:26 | |
*** e0ne has joined #heat | 09:29 | |
*** rubasov has quit IRC | 09:33 | |
*** rubasov has joined #heat | 09:45 | |
*** mlycka has joined #heat | 09:54 | |
openstackgerrit | Shi Yan proposed openstack/heat-tempest-plugin master: Fix for boot_config_env default path https://review.opendev.org/679596 | 11:06 |
openstackgerrit | Merged openstack/heat-dashboard master: Enforces unicode decoding of data https://review.opendev.org/589860 | 11:12 |
*** maddtux has quit IRC | 12:09 | |
*** tkajinam has joined #heat | 12:54 | |
*** tkajinam has quit IRC | 12:58 | |
*** tkajinam has joined #heat | 12:59 | |
*** tkajinam has quit IRC | 13:06 | |
*** ricolin_ has joined #heat | 13:59 | |
*** ricolin has quit IRC | 14:02 | |
*** ricolin_ is now known as ricolin | 14:22 | |
*** k_mouza has quit IRC | 14:30 | |
*** k_mouza_ has joined #heat | 14:30 | |
*** k_mouza_ has quit IRC | 16:42 | |
*** mlycka has quit IRC | 16:43 | |
*** e0ne has quit IRC | 16:44 | |
*** spsurya has quit IRC | 16:44 | |
*** jtomasek has quit IRC | 17:44 | |
*** jtomasek has joined #heat | 17:59 | |
*** jtomasek has joined #heat | 18:00 | |
*** gfidente is now known as gfidente|afk | 18:05 | |
*** e0ne has joined #heat | 18:15 | |
*** e0ne has quit IRC | 18:46 | |
*** gfidente|afk has quit IRC | 20:02 | |
*** gfidente has joined #heat | 20:02 | |
*** gfidente has quit IRC | 20:14 | |
*** gfidente has joined #heat | 21:04 | |
*** gfidente is now known as gfidente|afk | 21:17 | |
flwang | stevebaker: still there? | 21:53 |
*** ivve has quit IRC | 22:06 | |
*** ivve has joined #heat | 22:07 | |
*** ivve has quit IRC | 22:17 | |
*** gfidente|afk has quit IRC | 22:18 | |
stevebaker | flwang: hi | 22:30 |
*** rcernin has joined #heat | 22:54 | |
*** tkajinam has joined #heat | 22:56 | |
flwang | stevebaker: the question i asked last week is | 22:56 |
flwang | Magnum is trying to use Fedora CoreOS 30 as the node operating system | 22:57 |
flwang | but there is no cloud-init in Fedora CoreOS, cloud-init is replaced with ignition | 22:57 |
flwang | with ignition, it only support it's special json format and we have to use user-data-type: RAW | 22:58 |
stevebaker | flwang: can you paste an example of what you're trying currently? | 22:58 |
flwang | you know, that means we can't use software deployment which needs user-data-type: SOFTWARE_CONFIG | 22:58 |
flwang | https://review.opendev.org/#/c/678458/ | 22:59 |
flwang | stevebaker: ^ | 22:59 |
flwang | https://review.opendev.org/#/c/678458/3/magnum/drivers/k8s_fedora_coreos_v1/templates/kubemaster.yaml@532 | 23:00 |
stevebaker | OK, I think this will be possible by wrapping your agent_config in a OS::Heat::MultipartMime, like this cloud-init example https://opendev.org/openstack/heat-templates/src/branch/master/hot/software-config/example-templates/example-cloud-init-configure-ca-cert.yaml#L43-L47 | 23:08 |
stevebaker | flwang: make sure you give the part the type application/vnd.coreos.ignition+json so ignition can recognise it, see https://docs.openstack.org/heat/latest/template_guide/openstack.html#OS::Heat::MultipartMime | 23:09 |
flwang | stevebaker: does the MultipartMime work with heat-agent? like SoftwareDeployment? | 23:11 |
stevebaker | flwang: when you set user_data_format:SOFTWARE_CONFIG, heat creates multi-part boot config data which includes the agent bootstrap stuff. And when you specify a user_data which is a OS::Heat::MultipartMime, those parts are just appended to the multipart data which heat created. So as long as you have the right mime type for ignition, ignition should find its part in the boot config (I'm assuming ignition is multi-part aware, they only | 23:14 |
stevebaker | mention their mime-type here https://github.com/arithx/ignition/blob/master/doc/getting-started.md ) | 23:14 |
stevebaker | flwang: maybe I'll just be specific in the review | 23:16 |
flwang | stevebaker: it would be much appreciated if you can help review this patch | 23:17 |
flwang | stevebaker: another question is about this https://review.opendev.org/#/c/678458/3/magnum/drivers/k8s_fedora_coreos_v1/templates/kubemaster.yaml@501 | 23:17 |
flwang | as you mentioned, the heat-container-agent needs a bootstrap file(mostly the confidential file) to talk to heat to poll those scripts, but that file needs th stack id | 23:18 |
flwang | i'm trying to build this file manually at https://review.opendev.org/#/c/678458/3/magnum/drivers/k8s_fedora_coreos_v1/templates/fragments/configure-agent.ign@58 | 23:19 |
flwang | but now the only blocker is, i need the stack ID | 23:19 |
flwang | but when i use OS::stack_id, i got an error saying that there is circular reference | 23:20 |
flwang | any idea? thanks | 23:20 |
stevebaker | ugh, it looks like they only use the mime-type for http fetches, and the ignition openstack provider consumes all of the user_data. https://github.com/coreos/ignition/blob/master/internal/providers/openstack/openstack.go | 23:36 |
stevebaker | flwang: ^ | 23:36 |
stevebaker | flwang: until ignition becomes multi-part user_data aware, you won't be able to mix it with SOFTWARE_CONFIG :( | 23:37 |
flwang | stevebaker: ok, i think we should be able to contribute that to let it support multi-part user-data? | 23:40 |
stevebaker | flwang: yes, it would be a nice wee contribution | 23:41 |
flwang | stevebaker: cool, i will take a look, and my ask for your help | 23:41 |
flwang | did you see my above question about the OS::stack_id? | 23:41 |
stevebaker | flwang: raise an issue and see if you get some early feedback on the idea https://github.com/coreos/ignition/issues | 23:42 |
flwang | stevebaker: good point, will do | 23:42 |
flwang | mind me @ ing you in the issue? | 23:42 |
stevebaker | flwang: sure thing, steveb @ github | 23:44 |
flwang | stevebaker: cool | 23:45 |
stevebaker | flwang: does fedora-30 coreos still have cloud-init? | 23:45 |
flwang | stevebaker: unfortunately no | 23:45 |
flwang | only support ignition AFAIK | 23:45 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!