Monday, 2022-11-28

opendevreviewZitoun proposed openstack/cloudkitty master: CREATE INDEX idx_tenantid_begin_end ON rated_data_frames (tenant_id,begin,end)  https://review.opendev.org/c/openstack/cloudkitty/+/86543512:06
opendevreviewguest proposed openstack/cloudkitty master: CREATE INDEX idx_tenantid_begin_end ON rated_data_frames (tenant_id,begin,end)  https://review.opendev.org/c/openstack/cloudkitty/+/86543512:29
opendevreviewMerged openstack/cloudkitty master: Announce future deprecation of Elasticsearch  https://review.opendev.org/c/openstack/cloudkitty/+/86441213:37
rafaelweingartnerHello guys!13:58
priteauHi14:00
mkarpiarzHi!14:01
rafaelweingartner#startmeeting cloudkitty14:01
opendevmeetMeeting started Mon Nov 28 14:01:58 2022 UTC and is due to finish in 60 minutes.  The chair is rafaelweingartner. Information about MeetBot at http://wiki.debian.org/MeetBot.14:01
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.14:01
opendevmeetThe meeting name has been set to 'cloudkitty'14:01
rafaelweingartnerRoll count14:02
priteauo/14:02
rafaelweingartner\014:02
mkarpiarzHi114:03
rafaelweingartner#topic deprecate ElasticSearch support in favor of OpenSearch14:04
rafaelweingartnerThe patch https://review.opendev.org/c/openstack/cloudkitty/+/864412 has been merged14:04
rafaelweingartnerTherefore, we have put the announce out there14:04
rafaelweingartnerdo we need to do something else?14:04
priteauWe may want to announce it on the ML14:05
rafaelweingartnerWasn't it before?14:05
priteauThere was a message from you about Monasca14:07
rafaelweingartnerI see, I might have mixed up things then14:07
priteauIt was also mentioned in your Antelope summary14:07
priteauBut I expect few people read it14:07
rafaelweingartneryes, I agree14:08
rafaelweingartnerwe need a separated and specific email for that14:08
priteauMaybe we should make a bit more progress on the OpenSearch support first14:08
priteauAt least get it running in devstack14:08
rafaelweingartnerI thought that iw as already being used there14:09
rafaelweingartnerI thought that it was already being used there14:09
priteauWhat do you mean?14:09
rafaelweingartnerin devstack, because of Kolla-ansible adoption of OpenSearch14:09
priteaudevstack != kolla-ansible14:09
priteauThey are entirely different projets14:10
priteauprojects14:10
rafaelweingartnerI know, but I thought kolla-ansible was used there14:10
priteauNo14:10
rafaelweingartnerI might have mistaken, just because we use kolla-ansible in our labs14:10
rafaelweingartnersorry for the mistake then14:10
priteauCurrently we install ES ourselves using our devstack plugin: https://opendev.org/openstack/cloudkitty/src/branch/master/devstack/plugin.sh#L304-L31414:11
priteauBy we, I mean the cloudkitty CI/CD14:11
rafaelweingartnerI see14:12
rafaelweingartnerIn theory, we could just change that, right?14:12
rafaelweingartnerto use OpenSearch, and if they are both compatible, everything else would be fine14:13
priteauPlus verify that it still works ;-)14:13
priteauSo I would like to see a bit more progress on opensearch testing, before we announce to the whole world that we are dropping it14:13
priteau*that we are dropping ES*14:13
rafaelweingartnerok14:13
rafaelweingartnerNoted here14:14
priteauWe could try to get it done during the next two weeks?14:14
mkarpiarzWill we need to add OpenSearch support to Devstack first then?14:14
rafaelweingartnerI guess so14:14
priteauAnd if it works fine, we can announce before the end of the year14:14
priteaumkarpiarz: we absolutely need to test with opensearch in devstack, this is our CI/CD gate14:14
mkarpiarzYes, but can we switch to a different plugin or do we have to write the OpenSearch plugin first?14:15
priteauThere is no other plugin to switch to. This is cloudkitty's only plugin 14:16
rafaelweingartnerI guess it is compatible from what we discussed in the last meetings. Therefore, it would be a matter of changing in DevStack and then checking to see what happens14:16
priteauNote that Elasticsearch install is only a small part of the devstack plugin, all the other stuff stays valid.14:16
mkarpiarzI see.14:16
priteauI guess there is another decision to take14:17
priteauWe have the storage backend type configured as [storage]/backend14:18
priteauCurrently, influxdb or elasticsearch14:18
priteauDo we need to have an "opensearch" option too?14:19
rafaelweingartnerhmm14:19
rafaelweingartnerfor now for testins we would not need14:19
priteauEven if the code is the same, I would guess yes. Otherwise it would be confusing.14:19
priteauOf course, but for shipping in the release14:19
rafaelweingartnerhowever, after the deprecation, we should create OpenSearch14:19
rafaelweingartnerand log a warning message for people using ElasticSearch type14:19
rafaelweingartnerand then, we remove it in B release14:20
priteauSo in Antelope, we would have the two options: elasticsearch and opensearch. And then in B, just openseaerch14:20
rafaelweingartnerexactly14:21
priteauI can try to make some progress on testing during the coming cycle.14:22
priteauI mean, two weeks cycle.14:22
priteauUntil the next meeting14:22
rafaelweingartnerThat would help14:22
priteau#action Pierre to update the devstack plugin to use OpenSearch14:24
rafaelweingartnerI guess that is all about opensearch. Do you guys have something else to add?14:24
priteauNo14:26
mkarpiarzI'll install OpenSearch in my kolla-ansible test environment and see how this goes.14:27
priteaumkarpiarz: the upstream support has not landed yet: https://review.opendev.org/c/openstack/kolla-ansible/+/85661014:27
rafaelweingartnerI see, thanks14:28
mkarpiarzThat's fine. I'll simply replace the ElasticSearch container with the OpenSearch one.14:28
mkarpiarzhttps://opensearch.org/docs/latest/opensearch/install/docker/14:28
rafaelweingartnerSo, moving on to the next topic.14:29
mkarpiarzThis should tell us whether the change is likely to "just work". :)14:29
rafaelweingartner#topic Monasca deprecation14:29
rafaelweingartnerI sent some emails to the community regarding this topic, but I got no feedback14:29
rafaelweingartnertherefore, I am assuming that nobody is using it14:29
rafaelweingartnerSo, shall we move with the process?14:29
mkarpiarzI think so.14:30
priteau+114:30
rafaelweingartnerOk, so, I will add that in my list here14:31
rafaelweingartnerNext topic14:33
rafaelweingartner#topic CloudKitty API reference docs (https://docs.openstack.org/cloudkitty/latest/api-reference/index.html) to https://docs.openstack.org/api-ref/14:33
rafaelweingartnerDo we need to do something there? 14:33
rafaelweingartnerI mean, I recall and email from Mariusz, but I am not sure about the conclusion14:33
mkarpiarzIf we are OK with not changing v1 docs, then I'm ready to submit my changes for a review.14:34
rafaelweingartnerI am ok with it14:34
priteauI am afraid I don't know the answer for this one14:35
mkarpiarzOK, I'll do it then and we can have a discussion in the comments.14:35
rafaelweingartnerok14:36
rafaelweingartnerthanks!14:36
rafaelweingartnerso, moving on14:37
rafaelweingartner#topic Target review of the meeting14:37
rafaelweingartner#link https://review.opendev.org/c/openstack/cloudkitty/+/86282414:38
rafaelweingartnerIt is a patch that I proposed, to add a description option in the rating definition14:38
rafaelweingartnerCould you guys review it?14:38
mkarpiarzThe code looks good to me.14:42
priteauReviewing now14:43
rafaelweingartnerthanks!14:44
priteauPlease check comments14:44
rafaelweingartnerChecked14:47
rafaelweingartnerI would not expect the value to be replicated in the backend14:47
rafaelweingartnerI am using the same method to store it as the "alt_name"14:48
rafaelweingartnerI never checked thouhg in Influx how this data is persisted14:48
rafaelweingartnerhave you guys checked?14:48
mkarpiarzOK, I'll add this patch to my test environemnt and report back on how it looks in Influx.14:51
rafaelweingartnerthanks!14:52
rafaelweingartnerThe other one, #link https://review.opendev.org/c/openstack/cloudkitty/+/86190814:52
priteauIt is stored in the datapoint itself: https://review.opendev.org/c/openstack/cloudkitty/+/862824/1/cloudkitty/dataframe.py14:52
rafaelweingartnerI have not had time to work on it to add tempest tests for it14:52
priteauSo I assume you will see it in every dataframe object in influxdb, and in every document in ES14:52
rafaelweingartnerSince we are running out of time, I would like peole to check these two #https://review.opendev.org/c/openstack/cloudkitty/+/864269 and #https://review.opendev.org/c/openstack/cloudkitty/+/86457814:53
rafaelweingartnerthey are important fixes for CloudKitty14:54
mkarpiarzOK14:54
rafaelweingartnerone is an optimization to reduce the memmory footprint when loading scope IDs14:54
rafaelweingartnerand the other is a fix for pyscripts that were not working for over 3 years14:54
mkarpiarzI just want to say 864578 didn't fix PyScripts in my test environment.14:55
rafaelweingartnerWhat is the problem you are having?14:56
rafaelweingartnerI am using it14:56
opendevreviewRafael Weingartner proposed openstack/cloudkitty master: Add description option to a rating metric definition  https://review.opendev.org/c/openstack/cloudkitty/+/86282414:57
mkarpiarzYeah, for me the code never enters the PyScripts constructor so this might be something with my setup.14:57
opendevreviewRafael Weingartner proposed openstack/cloudkitty master: Optimize Gnocchi fetcher  https://review.opendev.org/c/openstack/cloudkitty/+/86426914:57
mkarpiarzWith either my metrics or the script.14:57
mkarpiarz*metrics.yml14:58
priteaumkarpiarz: You have enabled the pyscripts plugin?14:58
opendevreviewRafael Weingartner proposed openstack/cloudkitty master: Optimize Gnocchi fetcher  https://review.opendev.org/c/openstack/cloudkitty/+/86426914:58
priteauI will try to review these patches before the next meeting15:00
rafaelweingartnerok, thanks!15:00
opendevreviewguest proposed openstack/cloudkitty master: CREATE INDEX idx_tenantid_begin_end ON rated_data_frames (tenant_id,begin,end)  https://review.opendev.org/c/openstack/cloudkitty/+/86543515:00
rafaelweingartnerI guess that is all for today15:00
mkarpiarzYes, the plugin is enabled and the script I'm using is the one mentioned in docs.15:00
rafaelweingartnerdo you guys have something else to add?15:00
mkarpiarzhttps://docs.openstack.org/cloudkitty/latest/user/rating/pyscripts.html15:01
rafaelweingartnermkarpiarz: the docs example would not work15:01
rafaelweingartnerI updated the docs in my patch as well15:01
priteauThere is this patch submitted by Olivier Chaze that we should review.15:01
rafaelweingartneryes, I am reviewing it15:01
priteauLooks like he needs some help with writing a DB migration15:02
rafaelweingartnerI guess so15:02
priteauI left comments for him.15:04
rafaelweingartnercool, thanks15:04
rafaelweingartnerI guess that is all then15:04
rafaelweingartnerThank you guys for participating. Have a nice week.15:04
mkarpiarzThank you!15:06
rafaelweingartner#endmeeting15:06
opendevmeetMeeting ended Mon Nov 28 15:06:33 2022 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:06
opendevmeetMinutes:        https://meetings.opendev.org/meetings/cloudkitty/2022/cloudkitty.2022-11-28-14.01.html15:06
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/cloudkitty/2022/cloudkitty.2022-11-28-14.01.txt15:06
opendevmeetLog:            https://meetings.opendev.org/meetings/cloudkitty/2022/cloudkitty.2022-11-28-14.01.log.html15:06
opendevreviewguest proposed openstack/cloudkitty master: CREATE INDEX idx_tenantid_begin_end ON rated_data_frames (tenant_id,begin,end)  https://review.opendev.org/c/openstack/cloudkitty/+/86543515:24
opendevreviewguest proposed openstack/cloudkitty master: Create indexes to allow SQL rewrites and optimizations  https://review.opendev.org/c/openstack/cloudkitty/+/86543515:35

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