Monday, 2021-12-13

opendevreviewPierre Riteau proposed openstack/cloudkitty master: Add support for multiple value filters  https://review.opendev.org/c/openstack/cloudkitty/+/77892209:02
opendevreviewRafael Weingartner proposed openstack/cloudkitty master: Fixes quote API  https://review.opendev.org/c/openstack/cloudkitty/+/80899710:58
priteauzigo: I'll ask either of them to approve your patch during today's meeting13:56
priteauWhich should have been started already?14:05
opendevreviewPierre Riteau proposed openstack/cloudkitty master: Fix quote API  https://review.opendev.org/c/openstack/cloudkitty/+/80899714:08
mkarpiarzI'm here, so we are simply waiting for someone to start it. :)14:08
priteau#startmeeting cloudkitty14:10
opendevmeetMeeting started Mon Dec 13 14:10:27 2021 UTC and is due to finish in 60 minutes.  The chair is priteau. Information about MeetBot at http://wiki.debian.org/MeetBot.14:10
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.14:10
opendevmeetThe meeting name has been set to 'cloudkitty'14:10
priteau#topic Roll call14:10
priteauMaybe this will make Rafael join ;-)14:10
mkarpiarz:)14:11
priteauI've just left a comment on https://review.opendev.org/c/openstack/cloudkitty/+/82139714:12
priteauI've just sent an email to Rafael14:13
mkarpiarzI agree changes like this shouldn't need another +1/+2.14:14
mkarpiarzI'm going to merge 821397 now. :)14:15
priteauPlease do14:15
mkarpiarzShould we start discussing other changes now?14:16
mkarpiarzI will be testing this change in my test environment: https://review.opendev.org/c/openstack/cloudkitty/+/79920714:17
mkarpiarzThere have been some significant changes since the last patch I looked at.14:18
priteauOh right, this is still in progress14:19
priteauLet's go over the meeting agenda since it was prepared14:20
priteauTopics for meeting of 13/12/202114:20
priteau#topic Target reviews14:20
priteau1) https://review.opendev.org/c/openstack/cloudkitty/+/77535914:20
priteauNo response from original author14:20
priteauBut we know the bug can exist, I've seen it before, although I am not sure how to reproduce it14:20
mkarpiarzA comment says "The ZeroDivisionError is raised when no executions have occured when calling the 'average_runtime' method"14:22
mkarpiarzI've never seen this edge case but it look plausible to me.14:23
priteauI said I would check if I can reproduce, not had the time to look into yet14:24
priteauLet's discuss the next one14:25
priteauhttps://review.opendev.org/c/openstack/cloudkitty/+/81478914:25
priteauThis one has been approved in the past both by you and Rafael14:25
priteauThere were just some small changes since14:25
priteauCan you approve again?14:25
priteauIt would make zigo very happy ;-)14:25
zigoVery much ! :)14:25
mkarpiarzAh, I forgot to check back on this one. Approved and merged.14:28
priteauNext is https://review.opendev.org/c/openstack/cloudkitty/+/81727514:28
priteauAlready a +2 from you so we'll need an approval from Rafael14:29
priteauAdded him to reviewers14:29
priteauNext https://review.opendev.org/c/openstack/cloudkitty/+/80899714:29
mkarpiarzOK14:29
priteauI've made some small changes to this one, it can get my +2 once Zuul jobs run14:29
priteauReally just cosmetic changes, either in commit/reno or in code layout14:30
priteauPlease check back in one hour or so14:30
priteauFinally, https://review.opendev.org/c/openstack/cloudkitty/+/77892214:30
mkarpiarzSure, thanks for the heads-up.14:30
priteauThis one is going through the gate14:30
mkarpiarzAwesome!14:31
priteauThat's all for the target reviews14:31
priteauI guess we should set the next one? Reprocessing patch?14:32
mkarpiarzSure.14:32
mkarpiarzTwo weeks from now I'll be on holiday but should be able to look into 799207 before that.14:33
mkarpiarz(by "look into" I mean test it out)14:34
priteauI will be on holiday too. I propose that we skip the next meeting and meet on 10/01?14:34
priteauor 01/10 if you like month-first14:35
priteau3rd of Jan is UK bank holiday too14:35
priteauI am adding this to https://etherpad.opendev.org/p/cloudkitty-meeting-topics14:35
mkarpiarzYes, Jan 10 works for me.14:36
priteauI'll also add the patches that aren't merging today14:37
mkarpiarzOK14:37
priteauLet's log the meeting date change14:38
priteau#info The meeting of 27/12/2021 is cancelled. Our next meeting will be on 10/01/2022.14:39
priteauNext topic is14:39
priteau#topic Stable releases14:39
priteauThat's really just a notice14:39
priteauWe've released stable versions of Wallaby and Victoria14:39
priteauThey both include the policy fix for get_summary14:40
priteau#info CloudKitty 13.0.1 (victoria) and 14.0.1 (wallaby) released14:40
priteau#topic Pyscripts14:40
mkarpiarzCool!14:40
priteauThis is a topic I added to the agenda14:40
priteauBefore proposing the wallaby and victoria releases, I thought we should maybe backport the pyscript fix14:41
priteauSo I tried to use pyscript in master, but I was not able to get it working (even with the fix)14:41
opendevreviewMerged openstack/cloudkitty master: Add support for multiple value filters  https://review.opendev.org/c/openstack/cloudkitty/+/77892214:41
priteauI am thinking the example scripts from the docs are outdated14:41
priteauI am getting the following error14:42
priteauUnhandled exception: TypeError: 'DataFrame' object is not iterable14:42
mkarpiarzYes, I've also had problems when trying to use pyscripts in my test environment.14:42
mkarpiarzWhich collector are you using?14:42
priteaugnocchi14:43
priteauI used the script from here: https://docs.openstack.org/cloudkitty/latest/user/rating/pyscripts.html#custom-module-example14:44
priteauLooking at git history I saw that at some point when the Dataframe and Datapoint classes were introduced, the scripts didn't change. Maybe they should have14:44
priteauthe tempest plugin only tests CRUD operations14:45
mkarpiarzAccording to my notes the problem is caused by line 78 in cloudkitty/rating/pyscripts/__init__.py.14:45
mkarpiarz*line 7714:46
priteauSame here14:46
priteauFile "/var/lib/kolla/venv/lib/python3.6/site-packages/cloudkitty/rating/pyscripts/__init__.py", line 78, in start_script      14:46
priteau  exec(code, context)  # nosec                                                                                                14:46
mkarpiarzApparently the "data" DataFrame is empty.14:46
priteauYes. I added some debug and found the same problem14:47
mkarpiarzDespite metrics being present in Gnocchi.14:47
mkarpiarzAh, cool.14:47
priteauI will see if I can debug further14:48
priteauIf we can't fix it though we would need to warn that it doesn't work.14:48
priteauHello Rafael14:50
mkarpiarzI agree but we first need to rule out we both are making some systematic user error.14:50
mkarpiarzAnd if we are, then we should update docs. ;)14:51
priteauIndeed14:51
rafaelweingartnerHello guys!14:51
rafaelweingartnerSorry for the trouble :(14:51
priteauNo worries14:52
priteauYou can catch up on the discussion at https://meetings.opendev.org/meetings/cloudkitty/2021/cloudkitty.2021-12-13-14.10.log.txt14:52
priteauBut to summarise the most important:14:52
priteauReprocessing patch is next target review14:52
priteauMeeting of 27/12 cancelled due to holidays, next on 10/0114:53
rafaelweingartnerok14:53
rafaelweingartnercool14:53
priteauPyscripts is broken, or maybe the docs are just wrong14:53
priteauAlso one for you rafaelweingartner, please review https://review.opendev.org/c/openstack/cloudkitty/+/81727514:53
priteauYou've done so already :)14:54
opendevreviewMerged openstack/cloudkitty master: Add missing whitespace in log message  https://review.opendev.org/c/openstack/cloudkitty/+/82139714:54
rafaelweingartneryes, I did :)14:54
priteauI am planning a longer discussion of this in a blog post on the StackHPC website14:54
priteauWould you still prefer that I update the patch?14:55
rafaelweingartnerCan you sumarize a little bit there?14:55
rafaelweingartnerI can imagine how it is used, but the usecase is not clear to me14:55
priteauIt can be used for anything really.14:55
priteauI used it to join with other metrics to perform some data changes14:55
priteauFor example replacing project_id by project_name14:56
rafaelweingartnerI see14:57
rafaelweingartnerbut I would expect some description such as https://review.opendev.org/c/openstack/cloudkitty/+/78665114:57
rafaelweingartnerohterwise, the patch become a bit vague for some operators or users14:57
priteauOK, I can update14:58
rafaelweingartnerthanks14:59
priteauFinally, I also updated the quote API patch with some small wording/layout changes14:59
priteauhttps://review.opendev.org/c/openstack/cloudkitty/+/80899714:59
priteauI hope that's OK.15:00
priteauIt's ready for review by mkarpiarz again15:00
rafaelweingartnerSure, it is :)15:00
rafaelweingartnerthanks for that15:00
priteauThat's all for today I think!15:02
mkarpiarzThank you, guys!15:02
rafaelweingartnerCool!15:02
rafaelweingartnerAgain, thank you so much for picking this one up15:02
priteauHave a good end of the year holiday time everyone15:03
priteau#endmeeting15:03
opendevmeetMeeting ended Mon Dec 13 15:03:22 2021 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:03
opendevmeetMinutes:        https://meetings.opendev.org/meetings/cloudkitty/2021/cloudkitty.2021-12-13-14.10.html15:03
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/cloudkitty/2021/cloudkitty.2021-12-13-14.10.txt15:03
opendevmeetLog:            https://meetings.opendev.org/meetings/cloudkitty/2021/cloudkitty.2021-12-13-14.10.log.html15:03
mkarpiarzThanks, you too. :)15:03
opendevreviewMerged openstack/cloudkitty master: Adding two options in fetcher_keystone  https://review.opendev.org/c/openstack/cloudkitty/+/81478915:04
opendevreviewMerged openstack/cloudkitty master: Fix quote API  https://review.opendev.org/c/openstack/cloudkitty/+/80899715:42

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