Monday, 2021-01-11

*** vishalmanchanda has joined #cloudkitty04:00
*** sboyron has joined #cloudkitty08:22
*** sboyron has quit IRC08:30
*** sboyron has joined #cloudkitty08:57
*** vishalmanchanda has quit IRC09:18
*** sboyron has quit IRC09:48
*** mkarpiarz has quit IRC10:15
*** sboyron has joined #cloudkitty10:26
*** Oriz has joined #cloudkitty12:19
*** Oriz has quit IRC12:20
*** rafaelweingartne has joined #cloudkitty13:26
*** rafaelweingartne has joined #cloudkitty13:27
rafaelweingartne#startmeeting cloudkitty14:00
openstackMeeting started Mon Jan 11 14:00:06 2021 UTC and is due to finish in 60 minutes.  The chair is rafaelweingartne. Information about MeetBot at http://wiki.debian.org/MeetBot.14:00
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.14:00
*** openstack changes topic to " (Meeting topic: cloudkitty)"14:00
openstackThe meeting name has been set to 'cloudkitty'14:00
rafaelweingartneHello guys, happy new year!14:00
rafaelweingartneRoll count14:00
priteauo/14:02
priteauHappy new year rafaelweingartne!14:02
*** mkarpiarz has joined #cloudkitty14:04
rafaelweingartnepriteau: it seems that it is just us today14:05
priteauAnd maybe mkarpiarz?14:05
mkarpiarzHi, I'm here!14:06
rafaelweingartnehmm... mkarpiarz: are you going to participate in the meeting?14:06
rafaelweingartneah.. cool!14:06
rafaelweingartne#topic Review priorities14:06
*** openstack changes topic to "Review priorities (Meeting topic: cloudkitty)"14:06
rafaelweingartneWe have reviewed and merged some patches in the past week.14:06
rafaelweingartneDo you guys have some review priorities for us to focus on?14:07
mkarpiarzNothing in the pipeline from my side.14:08
priteauNothing special from me either.14:09
mkarpiarzBut I was trying to assign priorities to tasks from our PTG meeting.14:09
mkarpiarzAnd also add tasks that could kickstartdevelopment for each section.14:09
rafaelweingartneI see14:11
mkarpiarzMy idea was to try and focus on ideas we came up during the PTG.14:11
rafaelweingartneI agree14:12
rafaelweingartneI confess that I have not had time to address those issues14:12
priteaumkarpiarz: When you said "last 4 main points" in your email, did you mean top level items in the etherpad?14:12
rafaelweingartneI have been working lately on other components only; what I an able to do for now is to review patches only14:12
mkarpiarz4 bottom ones14:12
priteaui.e. 1) Stop processing resources that have been deleted/removed and do not have data anymore, 2) Reprocessing API?, etc.?14:13
mkarpiarzYep14:13
priteauOK14:13
priteauSo one question, for item 3 "Cleanups of the database to remove old/legacy unwanted data objects", are we actually talking about dataframes?14:13
rafaelweingartnemkarplarz: I guess, you as the contributor should have the ability to choose where you want to work14:14
rafaelweingartnepriteau: I thought that this issue refered to the that table where we have the reference for the projects to be processed14:14
priteauMaybe it does, that's why I am asking :)14:15
rafaelweingartnethat table only grows, and as projects/resources get deleted, they are not cleaned up. Therefore, CloudKitty still processes projects that do not have usage data anymore14:15
priteauI thought it was up to fetchers to decide what projects to process14:17
rafaelweingartnebut the problem is that they always process all of them14:18
rafaelweingartnethem=all available in the database and that were not processed in that timeframe14:18
rafaelweingartnetherefore, the projects/resources table to be processed only grows, and slows down the system (Cloudkitty)14:19
priteauInteresting, I didn't know it worked like that14:19
rafaelweingartneI do not know the initial design, but that is how it is working right now14:19
priteauSo if you use the keystone fetcher, start rating on a project, then remove the cloudkitty rating role from that project, it is still processed?14:19
rafaelweingartnethen, the fetcher fetches the usage data from the backend (e.g. gnocchi) for each project/or resource in that table14:19
rafaelweingartnepriteau: as far as we have seen yes, because cloudkitty will collect data from gnocchi14:20
priteauyou mean the collector14:20
rafaelweingartneand there is no access control there with respect to project14:20
rafaelweingartneI mean, that I recall that Gnocchi is doing14:21
rafaelweingartneI did not test removing a role, but we noticed that happening with delete/removed projects14:21
rafaelweingartnethey are still being processed, even though there is no data in Gnocchi14:21
priteauI would say it depends on the fetcher being used14:22
rafaelweingartneWe noticed this with Keystone fetcher14:22
rafaelweingartneoh, no, I mean Gnocchi14:22
priteauOK, for Gnocchi fetcher it makes less sense that it would work like this14:23
rafaelweingartneyes, we do use Gnocchi14:23
rafaelweingartnebackend = gnocchi14:23
priteauRather than clean up old projects via API we may want to change the fetcher to update the list?14:23
rafaelweingartneyes, exactly that would be even more interesting14:24
rafaelweingartnewe just could not figure out a method to check that14:24
rafaelweingartneif a resource/project was deleted in Gnocchi for instance14:24
rafaelweingartnethat is why one of the ideas was to enable this process via an API call14:24
priteauIf the metrics are deleted you won't be able to find any data for the project in Gnocchi, but we could detect that and mark the project as inactive in CloudKitty or delete the row14:26
rafaelweingartneah14:26
rafaelweingartnethat would be a good idea14:26
rafaelweingartneinactive project14:26
rafaelweingartneWe did not think that14:26
openstackgerritMerged openstack/cloudkitty-tempest-plugin master: Use tempest's ServiceClients rather than Manager  https://review.opendev.org/c/openstack/cloudkitty-tempest-plugin/+/76771414:27
rafaelweingartneI could work on that this week14:28
mkarpiarzSounds good to me!14:28
priteauThe advantage of marking it as inactive is that you would keep the record and be able to see when it was last updated14:29
priteauCould be useful for debugging14:29
rafaelweingartneexactly14:29
rafaelweingartneI like this solution better14:29
mkarpiarzCool, so sounds like we have a plan for this point.14:32
rafaelweingartneto give you an idea of the problem, we have 337 active projects, and in Cloudkitty storage states, there are 990 projects being processed14:32
priteauI understand, it must slow down processing quite a bit14:32
rafaelweingartneyes, it does14:32
priteau"Allow for a free USAGE consumption (e.g. First 1GB free, then 3 Cent/GB)"14:34
priteauCan't you do that with thresholds?14:34
rafaelweingartneyes, you can14:35
rafaelweingartnebut there was a bug14:35
rafaelweingartneI had a patch for that14:35
priteauAlso, remember that you can write custom pyscripts rules (although I've never tried it)14:35
rafaelweingartnehttps://review.opendev.org/c/openstack/python-cloudkittyclient/+/75295614:35
rafaelweingartneexactly14:36
priteau"Reprocessing API?" > I think this is important. When setting up CloudKitty and tuning rating rules, it's a pain to have to clear SQL and storage backend14:36
rafaelweingartneyes exactly14:36
rafaelweingartnethat is where this proposal comes from14:36
rafaelweingartneI do not have time for this month to work on this, but I could devote some time, maybe next month14:37
mkarpiarzAnd what do you think has to be done? Maybe someone else can pick this up?14:37
rafaelweingartnefirst, a specification needs to be written down. I have not put much thinking on this yet14:38
mkarpiarzI was going to start working on custom mutators as I feel this is important (especially for Prometheus) but can looks into something else instead.14:39
priteauYes, design first for this as it involves new API14:39
rafaelweingartnethat would be interesting, either one of them this reprocessing API, or the custom mutators14:39
mkarpiarzAh, it sounds like reprocessing API is above my abilities, so I'll stick with mutators for now. ;)14:40
rafaelweingartne:)14:41
mkarpiarzHopefully we will have some new reviews to discuss during the next meeting then.14:42
rafaelweingartneexactly14:43
mkarpiarzShould we move on to the next point on the agenda of this meeting?14:44
priteauWe need to keep an eye on the release schedule14:45
rafaelweingartneyes14:46
rafaelweingartneI will ask for your help when the time comes14:46
priteauIf we want to ship new APIs with client support, client release is March 1114:46
rafaelweingartnethis will be my first release14:46
priteauMaking the release is the easy part14:46
priteauIt's writing the code in time that's the hard part :P14:46
mkarpiarzxD14:46
rafaelweingartne:)14:47
rafaelweingartneI will open for general topics now14:47
rafaelweingartnehttps://review.opendev.org/c/openstack/python-cloudkittyclient/+/75295614:47
rafaelweingartneops14:47
rafaelweingartnewrong paste14:47
rafaelweingartne#topic AOB14:48
*** openstack changes topic to "AOB (Meeting topic: cloudkitty)"14:48
mkarpiarzNothing on my side.14:49
priteauNothing special from me either.14:50
rafaelweingartneGreat14:50
rafaelweingartneThank you guys for participating. Have a nice week.14:50
rafaelweingartneThank you guys for participating. Have a nice week.14:50
rafaelweingartne#endmeeting14:50
*** openstack changes topic to "Rating component for OpenStack https://wiki.openstack.org/wiki/CloudKitty"14:50
openstackMeeting ended Mon Jan 11 14:50:57 2021 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)14:51
openstackMinutes:        http://eavesdrop.openstack.org/meetings/cloudkitty/2021/cloudkitty.2021-01-11-14.00.html14:51
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/cloudkitty/2021/cloudkitty.2021-01-11-14.00.txt14:51
openstackLog:            http://eavesdrop.openstack.org/meetings/cloudkitty/2021/cloudkitty.2021-01-11-14.00.log.html14:51
priteauThanks rafaelweingartne, you too14:52
mkarpiarzThanks, guys!15:02
*** rafaelweingartne has quit IRC15:06
jopdorpsorry for missing the meeting!16:42
*** openstackgerrit has quit IRC17:37
*** sboyron has quit IRC18:18
*** sboyron has joined #cloudkitty18:19
*** gmann is now known as gmann_afk19:25
*** gmann_afk is now known as gmann21:13
*** fresta has quit IRC21:37
*** fresta has joined #cloudkitty21:45
*** sboyron has quit IRC22:11

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