14:01:58 #startmeeting cloudkitty 14:01:58 Meeting 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:58 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:01:58 The meeting name has been set to 'cloudkitty' 14:02:00 Roll count 14:02:30 o/ 14:02:31 \0 14:03:23 Hi1 14:04:25 #topic deprecate ElasticSearch support in favor of OpenSearch 14:04:39 The patch https://review.opendev.org/c/openstack/cloudkitty/+/864412 has been merged 14:04:46 Therefore, we have put the announce out there 14:04:50 do we need to do something else? 14:05:31 We may want to announce it on the ML 14:05:45 Wasn't it before? 14:07:14 There was a message from you about Monasca 14:07:34 I see, I might have mixed up things then 14:07:42 It was also mentioned in your Antelope summary 14:07:55 But I expect few people read it 14:08:01 yes, I agree 14:08:08 we need a separated and specific email for that 14:08:29 Maybe we should make a bit more progress on the OpenSearch support first 14:08:38 At least get it running in devstack 14:09:03 I thought that iw as already being used there 14:09:19 I thought that it was already being used there 14:09:19 What do you mean? 14:09:40 in devstack, because of Kolla-ansible adoption of OpenSearch 14:09:58 devstack != kolla-ansible 14:10:10 They are entirely different projets 14:10:15 projects 14:10:15 I know, but I thought kolla-ansible was used there 14:10:23 No 14:10:35 I might have mistaken, just because we use kolla-ansible in our labs 14:10:56 sorry for the mistake then 14:11:24 Currently we install ES ourselves using our devstack plugin: https://opendev.org/openstack/cloudkitty/src/branch/master/devstack/plugin.sh#L304-L314 14:11:41 By we, I mean the cloudkitty CI/CD 14:12:02 I see 14:12:47 In theory, we could just change that, right? 14:13:03 to use OpenSearch, and if they are both compatible, everything else would be fine 14:13:03 Plus verify that it still works ;-) 14:13:14 So I would like to see a bit more progress on opensearch testing, before we announce to the whole world that we are dropping it 14:13:24 *that we are dropping ES* 14:13:53 ok 14:14:04 Noted here 14:14:06 We could try to get it done during the next two weeks? 14:14:13 Will we need to add OpenSearch support to Devstack first then? 14:14:14 I guess so 14:14:20 And if it works fine, we can announce before the end of the year 14:14:39 mkarpiarz: we absolutely need to test with opensearch in devstack, this is our CI/CD gate 14:15:52 Yes, but can we switch to a different plugin or do we have to write the OpenSearch plugin first? 14:16:15 There is no other plugin to switch to. This is cloudkitty's only plugin 14:16:29 I 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 happens 14:16:45 Note that Elasticsearch install is only a small part of the devstack plugin, all the other stuff stays valid. 14:16:56 I see. 14:17:38 I guess there is another decision to take 14:18:46 We have the storage backend type configured as [storage]/backend 14:18:59 Currently, influxdb or elasticsearch 14:19:09 Do we need to have an "opensearch" option too? 14:19:20 hmm 14:19:29 for now for testins we would not need 14:19:31 Even if the code is the same, I would guess yes. Otherwise it would be confusing. 14:19:45 Of course, but for shipping in the release 14:19:45 however, after the deprecation, we should create OpenSearch 14:19:59 and log a warning message for people using ElasticSearch type 14:20:04 and then, we remove it in B release 14:20:27 So in Antelope, we would have the two options: elasticsearch and opensearch. And then in B, just openseaerch 14:21:15 exactly 14:22:00 I can try to make some progress on testing during the coming cycle. 14:22:07 I mean, two weeks cycle. 14:22:12 Until the next meeting 14:22:14 That would help 14:24:58 #action Pierre to update the devstack plugin to use OpenSearch 14:24:58 I guess that is all about opensearch. Do you guys have something else to add? 14:26:04 No 14:27:00 I'll install OpenSearch in my kolla-ansible test environment and see how this goes. 14:27:47 mkarpiarz: the upstream support has not landed yet: https://review.opendev.org/c/openstack/kolla-ansible/+/856610 14:28:50 I see, thanks 14:28:52 That's fine. I'll simply replace the ElasticSearch container with the OpenSearch one. 14:28:55 https://opensearch.org/docs/latest/opensearch/install/docker/ 14:29:24 So, moving on to the next topic. 14:29:24 This should tell us whether the change is likely to "just work". :) 14:29:26 #topic Monasca deprecation 14:29:40 I sent some emails to the community regarding this topic, but I got no feedback 14:29:47 therefore, I am assuming that nobody is using it 14:29:52 So, shall we move with the process? 14:30:28 I think so. 14:30:37 +1 14:31:28 Ok, so, I will add that in my list here 14:33:04 Next topic 14:33:10 #topic CloudKitty API reference docs (https://docs.openstack.org/cloudkitty/latest/api-reference/index.html) to https://docs.openstack.org/api-ref/ 14:33:17 Do we need to do something there? 14:33:34 I mean, I recall and email from Mariusz, but I am not sure about the conclusion 14:34:34 If we are OK with not changing v1 docs, then I'm ready to submit my changes for a review. 14:34:45 I am ok with it 14:35:05 I am afraid I don't know the answer for this one 14:35:35 OK, I'll do it then and we can have a discussion in the comments. 14:36:27 ok 14:36:28 thanks! 14:37:48 so, moving on 14:37:49 #topic Target review of the meeting 14:38:00 #link https://review.opendev.org/c/openstack/cloudkitty/+/862824 14:38:45 It is a patch that I proposed, to add a description option in the rating definition 14:38:54 Could you guys review it? 14:42:10 The code looks good to me. 14:43:24 Reviewing now 14:44:50 thanks! 14:44:57 Please check comments 14:47:41 Checked 14:47:50 I would not expect the value to be replicated in the backend 14:48:12 I am using the same method to store it as the "alt_name" 14:48:31 I never checked thouhg in Influx how this data is persisted 14:48:34 have you guys checked? 14:51:07 OK, I'll add this patch to my test environemnt and report back on how it looks in Influx. 14:52:01 thanks! 14:52:19 The other one, #link https://review.opendev.org/c/openstack/cloudkitty/+/861908 14:52:27 It is stored in the datapoint itself: https://review.opendev.org/c/openstack/cloudkitty/+/862824/1/cloudkitty/dataframe.py 14:52:54 I have not had time to work on it to add tempest tests for it 14:52:54 So I assume you will see it in every dataframe object in influxdb, and in every document in ES 14:53:56 Since 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/+/864578 14:54:03 they are important fixes for CloudKitty 14:54:12 OK 14:54:17 one is an optimization to reduce the memmory footprint when loading scope IDs 14:54:29 and the other is a fix for pyscripts that were not working for over 3 years 14:55:39 I just want to say 864578 didn't fix PyScripts in my test environment. 14:56:28 What is the problem you are having? 14:56:33 I am using it 14:57:12 Rafael Weingartner proposed openstack/cloudkitty master: Add description option to a rating metric definition https://review.opendev.org/c/openstack/cloudkitty/+/862824 14:57:28 Yeah, for me the code never enters the PyScripts constructor so this might be something with my setup. 14:57:41 Rafael Weingartner proposed openstack/cloudkitty master: Optimize Gnocchi fetcher https://review.opendev.org/c/openstack/cloudkitty/+/864269 14:57:52 With either my metrics or the script. 14:58:00 *metrics.yml 14:58:43 mkarpiarz: You have enabled the pyscripts plugin? 14:58:44 Rafael Weingartner proposed openstack/cloudkitty master: Optimize Gnocchi fetcher https://review.opendev.org/c/openstack/cloudkitty/+/864269 15:00:03 I will try to review these patches before the next meeting 15:00:27 ok, thanks! 15:00:39 guest 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/+/865435 15:00:52 I guess that is all for today 15:00:52 Yes, the plugin is enabled and the script I'm using is the one mentioned in docs. 15:00:59 do you guys have something else to add? 15:01:07 https://docs.openstack.org/cloudkitty/latest/user/rating/pyscripts.html 15:01:13 mkarpiarz: the docs example would not work 15:01:19 I updated the docs in my patch as well 15:01:35 There is this patch submitted by Olivier Chaze that we should review. 15:01:48 yes, I am reviewing it 15:02:19 Looks like he needs some help with writing a DB migration 15:02:49 I guess so 15:04:07 I left comments for him. 15:04:19 cool, thanks 15:04:24 I guess that is all then 15:04:26 Thank you guys for participating. Have a nice week. 15:06:08 Thank you! 15:06:33 #endmeeting