Monday, 2023-01-09

*** priteau_ is now known as priteau08:58
opendevreviewRafael Weingartner proposed openstack/cloudkitty master: Add find to allowed external commands in tox  https://review.opendev.org/c/openstack/cloudkitty/+/86955712:31
opendevreviewRafael Weingartner proposed openstack/cloudkitty master: Add find to allowed external commands in tox  https://review.opendev.org/c/openstack/cloudkitty/+/86955712:51
opendevreviewRafael Weingartner proposed openstack/cloudkitty master: Add find to allowed external commands in tox  https://review.opendev.org/c/openstack/cloudkitty/+/86955713:19
rafaelweingartnerHello guys!13:53
mkarpiarzHi!13:59
rafaelweingartner#startmeeting cloudkitty14:00
opendevmeetMeeting started Mon Jan  9 14:00:26 2023 UTC and is due to finish in 60 minutes.  The chair is rafaelweingartner. Information about MeetBot at http://wiki.debian.org/MeetBot.14:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.14:00
opendevmeetThe meeting name has been set to 'cloudkitty'14:00
rafaelweingartnerHello guys!14:00
mkarpiarzHi!14:00
rafaelweingartnerI hope you all had a safe and happy hollyday season.14:01
mkarpiarzThank you!14:02
rafaelweingartnerRoll count14:02
rafaelweingartner\O14:02
mkarpiarzI'm here.14:03
rafaelweingartnerPierre: are you going to join us as well?14:07
rafaelweingartnerpriteau: :)14:08
rafaelweingartnerLet's move on, and then if priteau join us, we can sync with him14:10
priteauHello14:10
rafaelweingartnerhello :)14:10
rafaelweingartner#topic OpenSearch support14:10
rafaelweingartnerWe need to crete the OpenSearch option in the Storage backend and deprecate elastic search. Are you priteau going to take a lead on that one?14:11
priteauSorry, I missed the notification14:11
priteauYes, I can work on it with some colleagues14:11
rafaelweingartnerNo worries. Thanks for taking this one up!14:11
rafaelweingartner#topic Monasca deprecation14:12
rafaelweingartnerMonasca has been deprecated, and now we can remove it in the B release14:12
rafaelweingartnerAre we all on the same page?14:12
priteau+114:13
rafaelweingartnerok, I will take this one when B release arrives14:13
mkarpiarzYes!14:13
rafaelweingartnerI mean, when we prepare for B release14:13
mkarpiarzOK14:13
rafaelweingartner#topic add CloudKitty API reference docs14:13
rafaelweingartnermkarpiarz: is taking this one14:14
rafaelweingartnerit is almost finished, I guess14:14
rafaelweingartnerright?14:14
mkarpiarzCorrect.14:14
rafaelweingartnerthere is only that issue with Tox that we are addressing right now14:14
rafaelweingartnerThanks Mariusz!14:15
mkarpiarzAll patches we need for this have been submitted and some of them reviewed.14:15
rafaelweingartnerTalking about Tox, we have the following: https://review.opendev.org/c/openstack/cloudkitty/+/86955714:15
mkarpiarzBut yes, #link https://review.opendev.org/c/openstack/cloudkitty/+/867628 is a blocker14:15
rafaelweingartnerIt is a bit odd, but the same tox test passes here14:15
rafaelweingartnerbut not in Zuul14:15
rafaelweingartnerdo you guys know how to check the Tox version of Zuul?14:15
priteauWhich version of tox are you using?14:15
priteauIt should be in the logs14:16
rafaelweingartner4.2.614:16
priteauI can reproduce Zuul's failure14:16
priteauI have 4.2.6 too14:16
priteauDid you clean your tox envs?14:16
rafaelweingartneryes14:16
mkarpiarzRight, I'm still on 3.21.4...14:16
rafaelweingartnerI deleted the .tox folder14:16
rafaelweingartnerWhat is your O.S.?14:17
rafaelweingartnermaybe there is some other library affecting us as well then14:17
mkarpiarzDebian 11. I'm using the "python:3.9" Docker image.14:18
priteauI am on macOS14:18
priteauPython 3.10.914:18
rafaelweingartnerhmm14:18
rafaelweingartnerI am on Ubuntu 2214:19
rafaelweingartnerPython 3.8.1014:19
rafaelweingartnerlet me check with python 3.1014:19
mkarpiarzOK, I'll switch to the 3.10 image then. :)14:19
rafaelweingartnerbut the weird part is that Zuul fails with python 3.8.1014:19
mkarpiarzDo we have a pin for a specific version of tox or does Zuul use whatever version is in the repos?14:20
priteauZuul uses the latest tox 4.x, which has caused breakage.14:20
priteauStable branches should be pinned to 3.x14:20
priteauWe have to be compatible with tox414:21
priteauSince I can reproduce locally I will check14:21
rafaelweingartnerare you using a clean tox env?14:21
priteauFixed it :) 14:22
priteauI will push 14:23
mkarpiarzSure!14:23
rafaelweingartnerok, thanks14:23
rafaelweingartnerit is funny, I tested with Python 3.10 here14:23
rafaelweingartnerand it also works just fine14:23
rafaelweingartnerthere must be something else in play14:24
mkarpiarzSo I take it for the time being we need to test against both latest tox3 and tox4?14:24
priteauNo, just tox4 for master14:24
priteautox3 for stable14:24
rafaelweingartnerfor the stable branches, we do not need to do anything I guess14:24
rafaelweingartnermaybe, just pinning the library if needed14:24
mkarpiarzOK14:25
priteautox is not a requirement14:26
priteauIt's something that already lives inside the env14:27
rafaelweingartnerpriteau: so you are going to add a new patch in the open patchset?14:27
priteauI will update your patch with the fix14:27
rafaelweingartnerah ok14:27
rafaelweingartnerthanks!14:27
rafaelweingartnerSo, we can move on with the target reviews14:28
rafaelweingartner#topic Target reviews14:28
rafaelweingartnerHave you guys evaluated the spec #link ttps://review.opendev.org/c/openstack/cloudkitty-specs/+/866198?14:28
rafaelweingartnerdo you think it needs some further adjusts or changes?14:29
priteauI started reading yesterday but haven't been through it yet14:29
rafaelweingartnerI see, thanks!14:29
mkarpiarzI must admit I have forgotten about this one. :|14:29
opendevreviewPierre Riteau proposed openstack/cloudkitty master: Make tox.ini tox 4.0.0 compatible  https://review.opendev.org/c/openstack/cloudkitty/+/86955714:29
mkarpiarzI'll read it as soon as this meeting ends.14:30
rafaelweingartnerok, thanks!14:30
rafaelweingartnerSo, moving on we have this optimization patch #link https://review.opendev.org/c/openstack/cloudkitty/+/86426914:31
rafaelweingartnerIt is an important one, can you guys review it?14:31
priteauLooking 14:32
opendevreviewMerged openstack/cloudkitty master: Fix typo in docs command sample  https://review.opendev.org/c/openstack/cloudkitty/+/86755914:33
mkarpiarzLike I said, I can't test this one at scale14:33
mkarpiarzbut it's working in my test environment, hence the +2.14:33
rafaelweingartnerThis was a complicated one to catch14:34
rafaelweingartnerI guess we can even do more optimizations there, but will leave it for other round14:34
priteauI left some minor comments14:35
mkarpiarzSounds good!14:35
priteauCosmetic mostly14:35
rafaelweingartnerThanks!14:37
rafaelweingartnerI will address them14:37
rafaelweingartnerSo, moving on, we have the following one: https://review.opendev.org/c/openstack/cloudkitty/+/86282414:37
rafaelweingartner#link https://review.opendev.org/c/openstack/cloudkitty/+/862824 is a new feature that we are introducing14:37
rafaelweingartnerThere was already a round of review there, and we might need your eyes again14:38
mkarpiarzDoes this change work for you with PyScripts enabled?14:39
priteauWell, I am still worried about the fact that we store this description for every dataframe14:39
mkarpiarzYeah, we've had a discussion about this...14:40
opendevreviewRafael Weingartner proposed openstack/cloudkitty master: Optimize Gnocchi fetcher  https://review.opendev.org/c/openstack/cloudkitty/+/86426914:43
rafaelweingartnerYes, we too worry about that14:43
rafaelweingartnerbut that is already an issue that we have14:43
rafaelweingartnerwe are storing over and over again alt_name, units, and metadata14:43
rafaelweingartnerwe have noted here a task to find an optimization for that14:44
rafaelweingartnerso, it would optimiza all other situations and not just for descriptions14:44
mkarpiarzThat's a fair point.14:44
rafaelweingartnerI am not sure what you meant regarding PyScript mkarpiarz14:45
rafaelweingartnerThe fix for PyScript is the following patch #link https://review.opendev.org/c/openstack/cloudkitty/+/86457814:46
mkarpiarzIf you check my last comment, I said I had to disable PyScripts for 862824 to work.14:46
rafaelweingartnerhmm14:47
mkarpiarzOtherwise I'd get "TypeError: 'DataFrame' object is not subscriptable".14:47
mkarpiarzBut this could be something with my test environment.14:47
rafaelweingartneryes, we have it running here with PyScript14:47
priteauI guess it will make the storage backend more bloated only for the users of this feature14:47
rafaelweingartnerexactly14:48
rafaelweingartnerif you do not use it, everything will remain the same14:48
mkarpiarzOK, I'll try this patch again in a clean environment.14:48
priteaurafaelweingartner: on the Gnocchi optimisation patch, please make sure you've seen my comment: https://review.opendev.org/c/openstack/cloudkitty/+/864269/8/cloudkitty/fetcher/gnocchi.py14:49
rafaelweingartnerok, thanks!14:49
rafaelweingartnerpriteau: that is not going to happen14:51
rafaelweingartneras we check the chunk_len before using it in the expression14:52
rafaelweingartnerchunk_len and resources_chunk[chunk_len - 1]['id'] == marker14:52
priteauAh yes, of course14:52
rafaelweingartnerIf, it is 0, then it evaluates to False already14:52
priteauCan you make that chunk_len > 014:52
rafaelweingartnerhmm14:52
priteauJust for clarity14:52
rafaelweingartnerthen it will make it hard to format the line :)14:53
priteauNevermind then14:53
rafaelweingartnerbut I will do work around it14:53
priteauAlso you could rename your var to just is_last or is_last_marker14:53
rafaelweingartnerI do prefer the readability of the variable14:54
priteauWe have different readability priorities :D14:54
opendevreviewRafael Weingartner proposed openstack/cloudkitty master: Optimize Gnocchi fetcher  https://review.opendev.org/c/openstack/cloudkitty/+/86426914:55
rafaelweingartnerexactly14:55
rafaelweingartnerI tried to accomodate both 14:55
priteauOK. I just saw two small nits, otherwise I will +214:55
opendevreviewRafael Weingartner proposed openstack/cloudkitty master: Optimize Gnocchi fetcher  https://review.opendev.org/c/openstack/cloudkitty/+/86426914:56
rafaelweingartnerAwesome, thanks!14:56
rafaelweingartnerSo, moving on to the last patch #link: https://review.opendev.org/c/openstack/cloudkitty/+/86457814:57
rafaelweingartnerThis is also an important patch for us to move on and merge it as soon as possible14:57
rafaelweingartnerPyScripts were broken for a long time14:57
mkarpiarzI agree!14:58
mkarpiarzWe should merge this one as soon as possible.14:58
rafaelweingartnerGuys, we are running out of time15:00
priteauyou could be just a bit more verbose in the reno15:00
rafaelweingartnerI guess we continue in our Async mode to review the patches15:00
rafaelweingartnerDo you guys have something else to add?15:01
priteauok15:01
rafaelweingartnerTo our meeting15:01
mkarpiarzI want to add that I was able to build PDF docs15:01
rafaelweingartnerawesome!15:01
mkarpiarzbut some lines go out of the frame and the v2 API refs are completely missing.15:02
mkarpiarzSo this will need some work to fix. :(15:02
priteauIt doesn't seem worth it15:02
mkarpiarzTrue, unless there is an easy way to automatically break long listings like this one:15:03
mkarpiarzhttps://docs.openstack.org/cloudkitty/latest/admin/configuration/samples/cloudkitty-conf.html15:04
mkarpiarzEither way, I wouldn't have time to investigate any further this week.15:05
priteauHow many people will read our API docs in PDF? Probably none15:06
priteauCan we add a note that rendering is not complete?15:06
rafaelweingartnerI agree that is is not worth it15:06
mkarpiarzOK15:06
rafaelweingartnerI mean, I do not see a problem in the listing being in multiple pages15:06
rafaelweingartnerThank you guys for participating. Have a nice week.15:07
rafaelweingartner#endmeeting15:07
opendevmeetMeeting ended Mon Jan  9 15:07:38 2023 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:07
opendevmeetMinutes:        https://meetings.opendev.org/meetings/cloudkitty/2023/cloudkitty.2023-01-09-14.00.html15:07
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/cloudkitty/2023/cloudkitty.2023-01-09-14.00.txt15:07
opendevmeetLog:            https://meetings.opendev.org/meetings/cloudkitty/2023/cloudkitty.2023-01-09-14.00.log.html15:07
priteaumkarpiarz: can you please approve https://review.opendev.org/c/openstack/cloudkitty/+/869557?15:28
opendevreviewMerged openstack/cloudkitty master: Make tox.ini tox 4.0.0 compatible  https://review.opendev.org/c/openstack/cloudkitty/+/86955716:16
opendevreviewRafael Weingartner proposed openstack/cloudkitty master: Fix PyScripts processing  https://review.opendev.org/c/openstack/cloudkitty/+/86457816:41
opendevreviewRafael Weingartner proposed openstack/cloudkitty master: Add description option to a rating metric definition  https://review.opendev.org/c/openstack/cloudkitty/+/86282416:51
opendevreviewMerged openstack/cloudkitty master: Add missing api-ref envlist to tox  https://review.opendev.org/c/openstack/cloudkitty/+/86762817:43

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