Thursday, 2018-10-25

*** asalkeld has joined #heat00:37
*** longkb has joined #heat00:55
*** longkb has quit IRC01:10
*** hongbin has joined #heat01:21
*** longkb has joined #heat02:18
*** asalkeld has quit IRC02:52
*** openstackgerrit has joined #heat03:02
openstackgerritMerged openstack/heat master: Revert "Add openstack/placement as a required project for heat-grenade*"  https://review.openstack.org/61300803:02
*** maddtux has joined #heat03:11
*** ramishra has joined #heat03:37
*** ricolin has joined #heat03:44
*** hongbin has quit IRC04:08
*** ivve has joined #heat04:26
*** ricolin has quit IRC04:33
*** ricolin has joined #heat04:33
*** k_mouza has joined #heat05:03
*** k_mouza has quit IRC05:07
*** gfidente has joined #heat06:26
*** rcernin has quit IRC07:00
openstackgerritMerged openstack/heat-tempest-plugin master: Add requires_service_type test decorator  https://review.openstack.org/61129507:23
*** hjensas has quit IRC07:24
*** hjensas has joined #heat07:28
*** mattgo has joined #heat07:45
*** serlex has joined #heat07:58
*** strobelight has quit IRC08:00
*** strobelight has joined #heat08:00
*** strobelight_ has joined #heat08:10
*** strobelight is now known as Guest9434308:10
*** strobelight_ is now known as strobelight08:11
*** Guest94343 has quit IRC08:13
*** k_mouza has joined #heat08:15
*** k_mouza has quit IRC08:35
*** strobelight has quit IRC08:44
*** ricolin has quit IRC09:16
*** derekh has joined #heat09:39
*** longkb has quit IRC09:58
*** pbourke has quit IRC10:48
*** pbourke has joined #heat10:48
*** jistr_ is now known as jistr12:14
*** strobelight has joined #heat12:22
*** gfidente has quit IRC12:42
*** gfidente has joined #heat12:42
*** maddtux has quit IRC12:49
*** jcoufal has joined #heat12:50
*** bnemec has joined #heat12:56
*** irclogbot_0 has joined #heat13:19
*** irclogbot_0 has quit IRC13:22
*** irclogbot_0 has joined #heat13:24
*** jistr is now known as jistr|call13:29
*** irclogbot_0 has quit IRC13:37
*** irclogbot_0 has joined #heat13:38
*** jcoufal has quit IRC13:48
*** jcoufal has joined #heat13:51
*** mchlumsky_ has quit IRC13:54
*** mchlumsky has joined #heat14:06
*** irclogbot_0 has quit IRC14:07
*** irclogbot_0 has joined #heat14:17
*** irclogbot_0 has quit IRC14:22
*** gfidente has quit IRC14:32
*** gmoro has quit IRC14:34
*** gmoro has joined #heat14:36
-openstackstatus- NOTICE: Zuul and Nodepool services are being restarted to migrate them to a new Zookeeper cluster. THis brings us an HA database running on newer servers.14:38
*** gfidente has joined #heat14:46
*** ramishra has quit IRC14:46
*** jistr|call is now known as jistr14:50
*** jtomasek has quit IRC15:01
*** irclogbot_0 has joined #heat15:06
*** ricolin has joined #heat15:06
*** irclogbot_0 has quit IRC15:21
*** mattgo has quit IRC15:22
-openstackstatus- NOTICE: The Zuul and Nodepool database transition is complete. Changes updated during the Zuul outage may need to be rechecked.15:29
*** mattgo has joined #heat15:51
*** sshnaidm|ruck is now known as sshnaidm|bbl15:54
*** derekh has quit IRC15:58
*** ivve has quit IRC16:16
*** ivve has joined #heat16:17
*** shardy has quit IRC16:25
*** mnaser has quit IRC16:26
*** mnaser has joined #heat16:26
openstackgerritHarrathi Issam proposed openstack/heat master: Add tags support for ProviderNet resource  https://review.openstack.org/61337016:30
*** dopplergange has quit IRC16:33
*** ivve has quit IRC16:39
*** gfidente has quit IRC16:42
*** mattgo has quit IRC17:10
*** sshnaidm|bbl is now known as sshnaidm|off17:15
*** zaneb has quit IRC17:53
*** zzzeek_ has joined #heat17:54
zzzeek_hi heat, how do I get my "param" here to be coerced to string and not integer?  http://paste.openstack.org/show/733060/17:59
zzzeek_do I have to use str_template ?17:59
zzzeek_err, str_replace18:05
*** zaneb has joined #heat18:07
*** serlex has quit IRC18:14
* zzzeek_ goes to try yaql18:17
zanebzzzeek_: does the param have type 'string'?18:21
zzzeek_zaneb: it's integer18:22
zzzeek_zaneb: trying this now: http://paste.openstack.org/show/733066/18:22
zaneblist_join uses json.dumps() to encode non-string arguments18:22
zzzeek_zaneb: welp i got an error, one moment18:22
zanebI think str_replace might work better18:23
zzzeek_zaneb: CREATE_FAILED  resources.ControllerServiceChain: Error in 140 output role_data: Error in MysqlPuppetBase output role_data: Items to jo18:23
zzzeek_in must be string, map or list not 204818:23
zaneb(than list_join)18:23
zzzeek_that doesnt seem to be using json18:23
zanebhttps://ask.openstack.org/en/question/98902/serialise-data-to-json-in-hot/?answer=98903#post-id-9890318:25
zanebah, sorry, only list or dict: https://git.openstack.org/cgit/openstack/heat/tree/heat/engine/hot/functions.py#n68318:28
zanebthat seems like an oversight :(18:28
zzzeek_zaneb: yeah just foudn https://github.com/openstack/heat/blob/8cc82b4e14d658c454ed4a224365c5da576a9877/heat/engine/hot/functions.py#L67618:28
zzzeek_zaneb: that SO answer seems wrong18:29
zzzeek_zaneb: also, yes, we're in a declarative templating language seems reasonable it *should* do this18:29
*** bnemec has quit IRC18:29
zanebagree, this should work18:30
zzzeek_see this is the curse of being me, I'm the one to find all these edge cases whenever i use anything18:31
zaneblol18:31
zzzeek_anyway the yaql thing seems like a get out of jail free card for any imperative expression18:32
zzzeek_so if that works I'll just keep a note of that18:32
zzzeek_it's heat so...we have to wait 25 minutes to see if it works or not :)18:32
zanebstr_replace should work: https://git.openstack.org/cgit/openstack/heat/tree/heat/engine/hot/functions.py#n48818:32
zzzeek_this thing is using punch cards behind the scenes isnt it18:33
zanebwho told you?18:33
zzzeek_can hear it clacking18:33
zzzeek_punch cards on the edge18:33
zzzeek_that is a great band name18:34
zzzeek_zaneb: the yaql worked:  "maxconn 2048"18:50
zzzeek_i like this /var/lib/mistral thing where I can see everyhing at once18:51
zzzeek_did heat have that before and I didn't know how to find it?18:51
zanebno idea what you're referring to :)18:51
zanebI haven't really kept up with TripleO18:52
zanebit's not a part of Heat itself, whatever it is18:52
zzzeek_zaneb: oh.  well it's a mistral thing then :)18:52
zzzeek_that's specific to tripleo then, I guess.18:53
zanebyeah, tripleo has its own actions defined in mistral. so assume related to one of those18:53
zzzeek_so, yes tripleo now does heat for like the first half of the show then it's doing some "mistral" thing which involves a lot of ansible18:54
zzzeek_and...it's easeir to see what's going on than before, or at least i know better now how to look around18:54
zzzeek_we're not looking at stacks and deployments in the DB anymore18:54
zanebah, right. yeah, Heat now generates ansible playbooks rather than doing software deployments itself18:55
zzzeek_i think heat is still spinning up the nodes...maybe.   because they haev to be up for all the ansible things to run.18:55
zaneband then another step in the workflow runs the playbooks with ansible18:55
zanebyep, Heat does the hardware part still18:55
zzzeek_but here is the funny part18:56
zzzeek_the ansible is spinning up docker containers and then it's running puppet inside the containers18:56
zzzeek_i can only imagine how much peope would hate me if i had come up with this system one day :)18:56
zanebpath dependency is a bear19:00
zanebfwiw I don't think it actually runs puppet inside the containers. I think it runs puppet to generate the config that it then puts into the containers19:01
zzzeek_zaneb: i think both might be happening19:08
zzzeek_zaneb: does this mean "puppet is running"? puppet apply --debug --verbose --detailed-exitcodes --summarize --color=false --modulepath /etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules --tags file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation,galera_ready,mysql_database,mysql_grant,mysql_user -e19:09
zzzeek_'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::database::mysql_bundle'19:09
zzzeek_that's in a docker container19:10
zanebI think so19:10
zzzeek_it uses docker to do everything i think.19:10
zzzeek_which is also kind of nice becasue oyu can list out all the containers and see things that happened19:11
zanebthat makes sense. but it might be one container to generate the configs and then separate containers to run the services19:11
zzzeek_zaneb: yes it is19:13
zzzeek_zaneb: there's five containers just to deploy mysql19:14
*** irclogbot_0 has joined #heat19:24
*** jcoufal_ has joined #heat19:26
*** jcoufal has quit IRC19:27
*** irclogbot_0 has quit IRC19:51
*** irclogbot_0 has joined #heat20:00
*** ricolin_ has joined #heat20:09
*** ricolin has quit IRC20:12
*** jcoufal_ has quit IRC20:19
*** jcoufal has joined #heat20:22
*** irclogbot_0 has quit IRC20:22
*** ricolin_ has quit IRC20:23
*** jcoufal has quit IRC20:54
*** irclogbot_0 has joined #heat21:14
*** strobelight has quit IRC21:45

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