Tuesday, 2022-04-19

*** dasm is now known as dasm|off00:11
*** chandankumar is now known as chkumar|ruck04:47
*** chkumar|ruck is now known as chandankumar04:51
*** ysandeep|out is now known as ysandeep05:49
*** ministry is now known as __ministry06:48
*** jpena|off is now known as jpena07:01
*** ysandeep is now known as ysandeep|lunch07:29
*** arxcruz|out is now known as arxcruz08:11
*** ysandeep|lunch is now known as ysandeep09:50
*** icey_ is now known as icey09:53
*** dviroel|out is now known as dviroel11:31
*** ysandeep is now known as ysandeep|afk11:41
dpawlikdansmith: hey, I saw your latest change https://review.opendev.org/c/openstack/devstack/+/837139 I have one question: the whole json should be parsed as a single message, right?12:49
*** ysandeep|afk is now known as ysandeep12:53
*** dasm|off is now known as dasm13:03
*** blarnath is now known as d34dh0r5313:07
dansmithdpawlik: I'm not sure what that means.. I want to be able to graph or aggregate individual values in there13:27
dansmithdpawlik: I think clarkb knows better how this will all fit13:27
stephenfinclarkb: fungi: Just as an FYI, I tried to use pyproject.toml with pbr for sphinx-click over the long weekend. Found a couple of limitations.13:38
dpawlikdansmith: allright. let's see what he says13:38
stephenfinFirstly, I had to keep the 'setup.py' file otherwise setuptools didn't load the pbr machinery. I guess this is expected as _something_ needs to tell setuptools to use that, and there's no way to configure this via setup.cfg (that I know of)13:39
stephenfinI found I had to define '[project] name' in pyproject.toml or it simply wouldn't work. I also has to populate '[project] dynamic' with almost the full set of attributes otherwise setuptools issued deprecation warnings13:40
stephenfinI did try moving stuff from setup.cfg to pyproject.toml but it crashed and burned, likely because pbr has no idea about pyproject.toml and its "view of the world" was therefore incomplete13:41
pdeorefungi, something is wrong with glance team meeting etherpad https://etherpad.opendev.org/p/glance-team-meeting-agenda 13:41
fungistephenfin: yes, the setup.py is still necessary for now. i actually have a pyproject.toml based application using pbr since months though13:41
pdeorecould you please help us to get it reverted?13:41
stephenfinother than that though, things looked pretty good13:41
stephenfinfungi: Oh, if you've a link I'd like to compare13:42
fungistephenfin: i do still put the metadata in setup.cfg for now, though you'd need a *very* new setuptools to support metadata in pyproject.toml anyway13:42
pdeorefungi, ^^13:43
stephenfinYeah, I'm guessing Fedora might just have that. I'm not sure. Here's the changes I ended up with, in any case (just in case you're curious) https://github.com/click-contrib/sphinx-click/commit/4aba8f2301332e8892a7db75111bd66441553a7613:44
fungistephenfin: https://mudpy.org/gitweb?p=mudpy.git;a=tree13:44
fungipdeore: i can in just a moment, need to switch computers and identify the last good revision from the timeslider13:45
pdeorefungi, sure np, 13:46
fungistephenfin: i want to test switching the metadata over to pyproject.toml, but some of my deps seem to be downgrading setuptools to too old of a version to support that yet13:47
fungibut maybe if i bump the minimum setuptools in pyproject.toml it'll at least give me an error13:49
stephenfinfungi: that's strange, you can get away without '[project] name' yet I get this issue https://paste.opendev.org/show/bK4aRjbLoLheL2fWyKPy/13:52
stephenfinah, it's the presence of '[tool.setuptools] py-modules'13:53
fungioh, yes that's probably going to require a host of other stuff13:54
stephenfinthat appears to be where the '[project] dynamic' stuff is coming from also13:56
fungipdeore: looks like the usual case we see of some user with an autotranslation browser extension has accidentally translated a chunk of the document into standard chinese. i think you'll want it rolled back to revision 103282 from 2022-04-14 since the translation happened immediately after that13:57
fungi#status log Restored the glance-team-meeting-agenda Etherpad to revision 103282 at pdeore's request14:00
opendevstatusfungi: finished logging14:00
fungipdeore: it's probably no coincidence that i just did the same for glance's ptg pad on friday14:00
fungii suspect it was the same user who visited both pads, so maybe it's someone active in glance? it would be awesome if we could figure out what browser extension is doing that14:01
fungistephenfin: if you skim the recent entries for the setuptools changelog (particularly for 61.0.0) you'll see that it treats presence of [tool.setuptools] in pyproject.toml as a switch to turn on a bunch of validation and new behaviors14:17
fungihttps://setuptools.pypa.io/en/latest/history.html#v61-0-014:17
* stephenfin looks14:17
stephenfinMy one big criticism of this pyproject.toml thing is that its mere presence seems to completely change the build behavior (to isolated builds)14:18
stephenfinsounds like setuptools is following a similar path :-(14:19
fungiyep14:19
fungithough for the stuff i've been testing with it so far, build isolation hasn't caused a problem14:20
*** dviroel is now known as dviroel|afk14:24
*** dviroel|afk is now known as dviroel|mtg14:39
*** ysandeep- is now known as ysandeep|out14:45
clarkbdansmith: dpawlik: yes I think you index it not like line by line logs but as a single json document. I would use a separate set of indexes too. Then you can query the info out of that index and get per document data14:50
clarkbdansmith: dpawlik: basically using elasticsaerch more properly as a document store14:50
dpawlikclarkb: ok, thanks14:51
dpawlikdansmith: I will prepare a patch for logsender that will parse the json and send it today/tomorrow14:51
dansmiththanks!14:52
*** dviroel|mtg is now known as dviroel14:54
*** dviroel is now known as dviroel|lunch15:06
bcafarelgmann: hi is https://review.opendev.org/q/I941ef5ea90970a0901236afe81c551aaf24ac1d8 is the proper fix for git issue on ussuri and older branches?16:05
bcafarel(hoping to clear some of the pending train backports we have)16:06
*** jpena is now known as jpena|off16:08
fungiit's less of a fix and more of a workaround, but properly fixing is going to need a hefty overhaul of how devstack installs and runs services16:09
*** dviroel|lunch is now known as dviroel16:14
clarkbbcafarel: fungi: but ya that second iteration should work on bionic which is what ussuri and older run on16:16
clarkbthe first iteration did not, it only worked on focal16:16
bcafarelsounds good16:24
*** dasm is now known as dasm|off17:06
*** dviroel is now known as dviroel|out20:41
gmannfungi: can you +W in this https://review.opendev.org/c/openstack/project-config/+/83670321:35
gmannbcafarel: this one basically https://review.opendev.org/c/openstack/devstack/+/83774921:35
bcafarelgmann: thanks for the squashed backports!22:07
opendevreviewMerged openstack/project-config master: Remove tempest-lib from infra  https://review.opendev.org/c/openstack/project-config/+/83670322:31

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