Tuesday, 2021-07-13

*** rpittau|afk is now known as rpittau07:39
kevkohi09:07
kevkois it possible to check if var is INT in jinja2 ? 09:07
haerwuint or numbeR?09:31
haerwukevko: https://jinja.palletsprojects.com/en/2.9.x/templates/#int09:36
haerwukevko: {% if variable|int != 0 %} hello {% endif %}09:36
kevkohmm, what if i will try to convert 0 ? :D 09:37
kevkodo you have new nick ? :D 09:38
haerwuit is Polish pronouncation of hrw09:51
haerwuI use different computer and forgot to copy oftc identitication cert09:51
kevkoi was in Poland previous week :) 10:04
kevkoweekend10:04
*** ricolin_ is now known as ricolin12:48
Fl1ntGood afternoon :D12:56
kmastersonkevko: {% if var is number %} should work12:57
kevkoFl1nt: hi \o/13:58
Fl1nthey what's up kevko ?13:59
kevkoFl1nt: quite good ;) .. tempesting kolla wallaby :) 14:00
kevkoFl1nt: and i'm surprised :) 14:00
Fl1ntah ah ah will have to do it in few months :D14:00
kevkoFl1nt: (but with patches not already merged :D )14:00
kevkofew14:01
Fl1ntlike the proxysql one ??14:01
kevkoFl1nt: for example :D 14:01
kevkoFl1nt: also arbitrator for mariadb 14:01
kevkohealthcheck for horizon ..14:01
kevkoand couple others :) 14:02
Fl1ntarbitrator for MDB ? You have a two nodes installation?14:02
kevkoFl1nt: well, yeah ..some of our clients want to save money for HW ..so on some installations we have two controllers 14:02
kevkoFl1nt: sometimes it is expensive to have 3 datacentres and of course various geo-located14:04
Fl1ntyeah I can understand those constraints ^^14:04
kevkoand mariadb is one and only critical component which need 3 nodes ..14:05
kevkorabbitmq is just fine ..rabbitmq is fine .. autoheal do the work quite OK 14:05
Fl1ntI'm preparing few patches on my own too, but gosh those times are hard one... really difficult to manage anything while everyone try to steal your time :D14:06
kevkoFl1nt: btw, could you advise me how to directly reply to some topic in openstack-discuss ? :) ..i'm getting some updates in my email with topics ..but can't directly reply14:06
Fl1ntyou need to pick up the topic name, and then just reply to the list itself.14:07
kevkoFl1nt: well, I'm little bit sad that it's not merged yet ..we are using it in production for year almost 14:07
Fl1ntthe problem with arbitrator is that it's really a poor infra solution, projects tends to stay away from those solutions whenever possible :D14:08
kevkoFl1nt: every email is "openstack-discuss Digest, Vol 33,Issue 48" etc..14:08
kevkoFl1nt: well, it's optional true/false, it doesn not need to be defined in documentation :P14:09
kevkoFl1nt: but proxysql is good solution, it is L7 which haproxy is not ..and you have traffic splited to API calls and DB ..and you can use sharding ..so you can split databases and send traffic several ways :) 14:11
Fl1ntthe only thing that proxysql is missing for me is the multi master HA feature, I can't use it with the current spof in it ^^14:16
Fl1ntbut it's a good technical solution yes14:16
kevkoFl1nt: multi master ? 14:18
kevkoFl1nt: you mean r/w to mariadb 14:18
kevkoFl1nt: to every node 14:18
kevkoFl1nt: well, it is multi-master ..but I was following haproxy behaviour ..an it currently sending all traffic to one machine ..14:19
kevkoFl1nt: if you change max_writers from 1 to 3 (in case of 3 nodes for mariadb cluster) ..you have 3 writers ..multi master ..it's just one var to change :) 14:20
kevkoFl1nt: i will provide another patch to add possibility to switch between 1. Write to one, switch to backup if fail 2. Write to one, read from all 3. Read/Write to all nodes14:22
kevkoso, values max_writer and write_is_also_reader will be changed conditionaly ..and that's it 14:23
jingvarI am not sure that 3 writers is a good idea14:25
jingvarmariadb is the core of openstack14:26
kevkojingvar: yeah, it is ..but that's what Fl1nt is missing ..15:02
kevkojingvar: and galera supports multimaster .. but yeah I have same opinion as you15:02
Fl1ntjingvar, openstack DB support multi-writers since a while now15:10
Fl1ntkevko, oh nice of you thx ^^15:10
kevkoshould :) 15:11
Fl1ntfor few services we still encounter few deadlocks right, but those are marginals as they're not primary services.15:11
kevkoFl1nt: do you mean also oslo_db read and write options ? ..or just sent all to all backends and hope it will be ok 15:12
Fl1ntat table level (even row for some), you can get multi write at the same time, so no big deal, just throw away your request to VIP 01 or 02 or 03 it will work.15:14
*** mgoddard- is now known as mgoddard15:27
*** rpittau is now known as rpittau|afk16:23
-opendevstatus- NOTICE: Depends-On using https://review.opendev.org URLs are currently not working. This was due to a config change in Zuul that we are reverting and will be restarting Zuul to pick up.17:41
RedcavalierHi, from what I understand, kolla-ansible pushes all generated configuration files on a remote host in a folder (not in container, I think?). I couldn't find any line where it injects these files inside the container. Are they injected by docker at container creation?18:35

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!