Tuesday, 2019-09-03

stevebakerflwang: are you saying this didn't work? $STACK_ID: {get_param "OS::stack_id"}00:13
stevebakerflwang: that sounds like a heat bug00:13
*** radeks has quit IRC01:15
*** hongbin has joined #heat01:44
flwangstevebaker: it doesn't work for me01:56
flwangi got an error saying there is circular reference, i will test it again with a simpler HOT and let you know01:56
flwangstevebaker: many thanks for your help01:56
*** ramishra has joined #heat02:27
flwangstevebaker: https://github.com/coreos/ignition/issues/84902:53
*** maddtux has joined #heat03:03
*** skramaja has joined #heat03:18
*** hongbin has quit IRC03:26
*** hongbin has joined #heat03:28
*** e0ne has joined #heat03:47
*** gkadam has joined #heat03:50
*** hongbin has quit IRC04:29
*** e0ne has quit IRC04:49
*** hongbin has joined #heat04:49
*** hongbin has quit IRC04:49
*** e0ne has joined #heat04:50
*** e0ne has quit IRC04:51
*** e0ne has joined #heat05:08
openstackgerritgugug proposed openstack/python-heatclient master: Sync Sphinx requirement  https://review.opendev.org/66606105:12
*** e0ne has quit IRC05:16
*** ivve has joined #heat05:35
*** e0ne has joined #heat06:00
*** e0ne has quit IRC06:03
ricolingregwork, Hi just saw your messages, get_file with URL only supported with orchestration client right now (will check with others on why we didn't add that for API on first place), If you're using commends like openstack stack create/heat stack-create, you should get warning on didn't fetch url content and forbid you to run the create process06:12
*** e0ne has joined #heat06:12
gregworkricolin: alright .. i did eventually figure it out :)06:13
gregworkside question .. is there any way to refernce a key name in a map for the purposes of a comparison06:13
ricolinwhat map?06:15
ricolinzaneb, I'm wondering if we should directly support get_file with URL for API call. Know any history about that?:)06:16
*** e0ne has quit IRC06:20
gregworkim doing something like this: https://pastebin.com/p4GBnDTH06:20
gregworkso that all works but i had to change my ipa_enrollment environment from a key: password map06:21
gregworkto nameofhostkey: { name: nameofhost, otp: password }06:21
gregworkbecause i couldnt reference the keyname06:21
gregworkthere doesnt appear to be a way to do that, only get values06:21
gregworkbtw conditions and if .. so good :)06:23
gregworkalso OS::Heat::TestResource06:24
gregworkvery useful06:24
gregworkcant imagine doing too much self education without that kind of stuff06:25
gregworkricolin: i found zaneb's about that during my googling .. sad it got shutdown due to "lack of customer interest"06:27
gregwork*zaneb's bz06:27
gregworkheat templates need to live in scm, you need maximum flex to leverage things like git06:28
* gregwork sighs .. will need to open some tickets on why heat falls down so hard when dealing with octavia stack deletes06:30
gregwork15-20% of the time i stack delete the lb fails to get cleaned up by heat :/06:31
*** radeks has joined #heat06:31
ricolingetting key names can be an interesting cases, we usually assume user already knows about all keys like `get_param: [ param_map_1, key_1 ] `06:40
ricolinmaybe you can use yaql in template for that functionality https://docs.openstack.org/heat/latest/template_guide/hot_spec.html#yaql06:45
ricolinand for octavia stack delete issue, are you plan to create a story in heat for that?06:47
ricolingregwork, ^^^06:47
gregworkricolin: you see what im trying to do there tho right .. if the guest_name matches the key of the same name in the ipa_enrollment dictionary06:49
gregworkbut that cant be done without maybe yaql magic so i had to adjust my dictionary and add placeholders06:49
gregworkim almost done my test case which ill post on my github, in context this might make a bit more sense.  the goal is to accomplish  the following mostly in heat: 1) stand up the cloudforms project with quotas, 2) deploy a 8 node cluster ( bastion, 2db, 2web, 3 worker ) with a load balancer, proper network isolation by cluster role, security groups, neutron rbac for the workers to talk to the undercloud so they can enroll06:52
gregworkthe06:52
gregworkdirector06:52
gregworkthere just nothing out there ive seen that does that, and i think there should be something that does a proper prod like deployment of cloudforms in openstack06:53
gregworkcan heat work ansible? i saw something about software configuration via puppet .. not sure if there is ansible capability06:54
gregworki wrote roles in ansible to configure the cfme appliances in their respective tasks .. ive been thinking about how to do that in the absence of ansible with softwareconfig06:55
gregworki was thinking about maybe using a wait condition on the bastion and once the cluster nodes are all up perhaps having the bastion do the cfme appliance configuration06:56
*** gfidente has joined #heat07:10
*** rcernin has quit IRC07:23
ricolingregwork, you can use ansible with software config https://github.com/openstack/heat-templates/blob/master/hot/software-config/example-templates/example-ansible-template.yaml07:30
gregworknice07:32
gregworkis there a heat method for generic http ?07:35
gregworkthat will need context07:35
gregworkso we also have awx/tower in our environment07:35
gregworki can expose a job template in tower and if you have creds to perform a get/post you can have the ansible workflow kick off07:35
gregworki was thinking for a simple get i could use OS::Heat::TestResource and get_file07:36
gregworkbut that wouldnt work for anything real, espeically if i needed to pass login / post07:37
*** zhurong has quit IRC07:56
*** mlycka has joined #heat07:57
*** tkajinam has quit IRC08:02
*** rubasov has quit IRC08:04
*** rubasov has joined #heat08:05
*** rubasov has quit IRC08:08
*** rubasov has joined #heat08:08
*** e0ne has joined #heat08:09
*** rubasov has quit IRC08:14
*** rubasov has joined #heat08:14
*** k_mouza has joined #heat08:18
*** mikecmpbll has joined #heat08:32
*** rubasov has quit IRC08:33
openstackgerritThomas Bechtold proposed openstack/heat-tempest-plugin master: Drop "docs" tox target and the docs integration  https://review.opendev.org/67972408:49
*** rcernin has joined #heat09:00
ricolinI think we better handing http fetch in a place that can deal with more sophisticate logic like use heat-agents with script or ansible09:08
ricolinbut totally fine if any new function added in stack template:)09:09
*** SmearedBeard has joined #heat09:31
*** tkajinam has joined #heat09:48
*** k_mouza has quit IRC09:50
*** k_mouza has joined #heat10:03
*** k_mouza has quit IRC10:14
*** k_mouza has joined #heat10:15
*** tkajinam has quit IRC10:18
*** SmearedBeard has quit IRC10:31
*** SmearedBeard has joined #heat10:33
*** hoonetorg has quit IRC10:44
*** hoonetorg has joined #heat10:57
*** SmearedBeard has quit IRC11:02
*** SmearedBeard has joined #heat11:03
*** rubasov has joined #heat11:04
*** SmearedBeard has quit IRC11:05
*** ricolin_ has joined #heat11:51
*** ricolin has quit IRC11:54
*** k_mouza_ has joined #heat12:19
*** k_mouza has quit IRC12:22
*** jcoufal has joined #heat12:29
*** maddtux has quit IRC12:36
*** gkadam has quit IRC12:37
*** jcoufal has quit IRC12:39
*** jcoufal has joined #heat13:06
*** k_mouza has joined #heat13:07
*** k_mouza_ has quit IRC13:11
*** k_mouza_ has joined #heat13:35
*** k_mouza has quit IRC13:38
*** k_mouza has joined #heat14:02
*** k_mouza_ has quit IRC14:05
*** rcernin has quit IRC14:32
*** ramishra_ has joined #heat14:36
*** ramishra has quit IRC14:36
*** mlycka has quit IRC14:50
*** skramaja has quit IRC15:10
*** beekneemech is now known as bnemec15:51
*** jmlowe has quit IRC15:59
*** e0ne has quit IRC16:00
*** jcoufal has quit IRC16:15
*** jcoufal has joined #heat16:16
*** ricolin_ has quit IRC16:25
*** k_mouza_ has joined #heat16:49
*** k_mouza_ has quit IRC16:51
*** k_mouza has quit IRC16:52
*** jmlowe has joined #heat17:00
*** jtomasek has quit IRC17:01
*** mikecmpbll has quit IRC17:03
*** e0ne has joined #heat17:12
*** e0ne has quit IRC17:23
*** e0ne has joined #heat17:23
*** ramishra_ has quit IRC17:30
*** e0ne has quit IRC17:30
*** jtomasek has joined #heat17:46
*** jtomasek has quit IRC17:50
*** jtomasek has joined #heat17:53
*** e0ne has joined #heat18:15
*** gfidente is now known as gfidente|afk18:43
*** e0ne_ has joined #heat19:24
*** e0ne_ has quit IRC19:26
*** e0ne has quit IRC19:27
*** jmlowe has quit IRC19:29
*** jmlowe has joined #heat19:47
*** radeks has quit IRC20:37
*** jtomasek has quit IRC20:42
*** jcoufal has quit IRC20:42
*** iokiwi has joined #heat22:47
*** tkajinam has joined #heat22:55
*** rcernin has joined #heat23:06
flwangstevebaker: around?23:48
stevebakerflwang: hey23:48
flwangstevebaker: i tried vnd.coreos.ignition+json and hacked heat to support that, but still no luck23:49
stevebakerflwang: did the multipart resource actually get created this time though?23:49
flwangstevebaker: i added a 'or' condition at https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/heat/multi_part.py#L120 to support the coreos mime23:50
flwangi can't ssh into the node, could i check that from heat?23:50
stevebakerflwang: oh yeah, you'll need to add 'application' type support https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/heat/multi_part.py#L5623:53
flwangis 'application' the accurate value?23:54
flwangor i should use 'vnd.coreos.ignition+json'?23:54
flwanghttp://paste.openstack.org/show/770468/23:55
flwangthis is my code23:55
stevebakerthe type is application, the subtype is vnd.coreos.ignition+json. I think the resource will need a python change to support 'application' as a type, to be treated exactly like 'text'23:56
flwangok23:57
flwanglet me try now23:57
openstackgerritFeilong Wang proposed openstack/heat master: [WIP] Support CoreOS ignition  https://review.opendev.org/67988223:58
flwangstevebaker: is this https://review.opendev.org/#/c/679882/1/heat/engine/resources/openstack/heat/multi_part.py enough?23:59

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