14:00:26 #startmeeting cloudkitty 14:00:26 Meeting 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:26 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:26 The meeting name has been set to 'cloudkitty' 14:00:33 Hello guys! 14:00:48 Hi! 14:01:37 I hope you all had a safe and happy hollyday season. 14:02:08 Thank you! 14:02:23 Roll count 14:02:27 \O 14:03:27 I'm here. 14:07:43 Pierre: are you going to join us as well? 14:08:31 priteau: :) 14:10:25 Let's move on, and then if priteau join us, we can sync with him 14:10:26 Hello 14:10:32 hello :) 14:10:40 #topic OpenSearch support 14:11:12 We 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:21 Sorry, I missed the notification 14:11:42 Yes, I can work on it with some colleagues 14:11:59 No worries. Thanks for taking this one up! 14:12:40 #topic Monasca deprecation 14:12:51 Monasca has been deprecated, and now we can remove it in the B release 14:12:56 Are we all on the same page? 14:13:22 +1 14:13:34 ok, I will take this one when B release arrives 14:13:39 Yes! 14:13:40 I mean, when we prepare for B release 14:13:52 OK 14:13:56 #topic add CloudKitty API reference docs 14:14:16 mkarpiarz: is taking this one 14:14:23 it is almost finished, I guess 14:14:25 right? 14:14:31 Correct. 14:14:35 there is only that issue with Tox that we are addressing right now 14:15:04 Thanks Mariusz! 14:15:12 All patches we need for this have been submitted and some of them reviewed. 14:15:30 Talking about Tox, we have the following: https://review.opendev.org/c/openstack/cloudkitty/+/869557 14:15:33 But yes, #link https://review.opendev.org/c/openstack/cloudkitty/+/867628 is a blocker 14:15:41 It is a bit odd, but the same tox test passes here 14:15:44 but not in Zuul 14:15:53 do you guys know how to check the Tox version of Zuul? 14:15:57 Which version of tox are you using? 14:16:04 It should be in the logs 14:16:08 4.2.6 14:16:14 I can reproduce Zuul's failure 14:16:29 I have 4.2.6 too 14:16:38 Did you clean your tox envs? 14:16:50 yes 14:16:56 Right, I'm still on 3.21.4... 14:16:57 I deleted the .tox folder 14:17:17 What is your O.S.? 14:17:35 maybe there is some other library affecting us as well then 14:18:05 Debian 11. I'm using the "python:3.9" Docker image. 14:18:08 I am on macOS 14:18:37 Python 3.10.9 14:18:58 hmm 14:19:02 I am on Ubuntu 22 14:19:05 Python 3.8.10 14:19:13 let me check with python 3.10 14:19:17 OK, I'll switch to the 3.10 image then. :) 14:19:49 but the weird part is that Zuul fails with python 3.8.10 14:20:05 Do we have a pin for a specific version of tox or does Zuul use whatever version is in the repos? 14:20:45 Zuul uses the latest tox 4.x, which has caused breakage. 14:20:54 Stable branches should be pinned to 3.x 14:21:04 We have to be compatible with tox4 14:21:16 Since I can reproduce locally I will check 14:21:39 are you using a clean tox env? 14:22:42 Fixed it :) 14:23:22 I will push 14:23:34 Sure! 14:23:39 ok, thanks 14:23:51 it is funny, I tested with Python 3.10 here 14:23:55 and it also works just fine 14:24:00 there must be something else in play 14:24:07 So I take it for the time being we need to test against both latest tox3 and tox4? 14:24:32 No, just tox4 for master 14:24:36 tox3 for stable 14:24:50 for the stable branches, we do not need to do anything I guess 14:24:57 maybe, just pinning the library if needed 14:25:06 OK 14:26:56 tox is not a requirement 14:27:05 It's something that already lives inside the env 14:27:43 priteau: so you are going to add a new patch in the open patchset? 14:27:52 I will update your patch with the fix 14:27:58 ah ok 14:27:59 thanks! 14:28:08 So, we can move on with the target reviews 14:28:18 #topic Target reviews 14:28:40 Have you guys evaluated the spec #link ttps://review.opendev.org/c/openstack/cloudkitty-specs/+/866198? 14:29:00 do you think it needs some further adjusts or changes? 14:29:11 I started reading yesterday but haven't been through it yet 14:29:30 I see, thanks! 14:29:33 I must admit I have forgotten about this one. :| 14:29:58 Pierre Riteau proposed openstack/cloudkitty master: Make tox.ini tox 4.0.0 compatible https://review.opendev.org/c/openstack/cloudkitty/+/869557 14:30:02 I'll read it as soon as this meeting ends. 14:30:10 ok, thanks! 14:31:46 So, moving on we have this optimization patch #link https://review.opendev.org/c/openstack/cloudkitty/+/864269 14:31:54 It is an important one, can you guys review it? 14:32:33 Looking 14:33:04 Merged openstack/cloudkitty master: Fix typo in docs command sample https://review.opendev.org/c/openstack/cloudkitty/+/867559 14:33:12 Like I said, I can't test this one at scale 14:33:28 but it's working in my test environment, hence the +2. 14:34:04 This was a complicated one to catch 14:34:38 I guess we can even do more optimizations there, but will leave it for other round 14:35:42 I left some minor comments 14:35:44 Sounds good! 14:35:53 Cosmetic mostly 14:37:22 Thanks! 14:37:27 I will address them 14:37:46 So, moving on, we have the following one: https://review.opendev.org/c/openstack/cloudkitty/+/862824 14:37:58 #link https://review.opendev.org/c/openstack/cloudkitty/+/862824 is a new feature that we are introducing 14:38:24 There was already a round of review there, and we might need your eyes again 14:39:55 Does this change work for you with PyScripts enabled? 14:39:55 Well, I am still worried about the fact that we store this description for every dataframe 14:40:36 Yeah, we've had a discussion about this... 14:43:11 Rafael Weingartner proposed openstack/cloudkitty master: Optimize Gnocchi fetcher https://review.opendev.org/c/openstack/cloudkitty/+/864269 14:43:41 Yes, we too worry about that 14:43:46 but that is already an issue that we have 14:43:58 we are storing over and over again alt_name, units, and metadata 14:44:14 we have noted here a task to find an optimization for that 14:44:33 so, it would optimiza all other situations and not just for descriptions 14:44:48 That's a fair point. 14:45:32 I am not sure what you meant regarding PyScript mkarpiarz 14:46:22 The fix for PyScript is the following patch #link https://review.opendev.org/c/openstack/cloudkitty/+/864578 14:46:44 If you check my last comment, I said I had to disable PyScripts for 862824 to work. 14:47:00 hmm 14:47:04 Otherwise I'd get "TypeError: 'DataFrame' object is not subscriptable". 14:47:16 But this could be something with my test environment. 14:47:27 yes, we have it running here with PyScript 14:47:45 I guess it will make the storage backend more bloated only for the users of this feature 14:48:09 exactly 14:48:17 if you do not use it, everything will remain the same 14:48:57 OK, I'll try this patch again in a clean environment. 14:49:23 rafaelweingartner: 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.py 14:49:24 ok, thanks! 14:51:47 priteau: that is not going to happen 14:52:01 as we check the chunk_len before using it in the expression 14:52:10 chunk_len and resources_chunk[chunk_len - 1]['id'] == marker 14:52:11 Ah yes, of course 14:52:20 If, it is 0, then it evaluates to False already 14:52:46 Can you make that chunk_len > 0 14:52:57 hmm 14:52:59 Just for clarity 14:53:20 then it will make it hard to format the line :) 14:53:25 Nevermind then 14:53:30 but I will do work around it 14:53:46 Also you could rename your var to just is_last or is_last_marker 14:54:24 I do prefer the readability of the variable 14:54:53 We have different readability priorities :D 14:55:10 Rafael Weingartner proposed openstack/cloudkitty master: Optimize Gnocchi fetcher https://review.opendev.org/c/openstack/cloudkitty/+/864269 14:55:11 exactly 14:55:22 I tried to accomodate both 14:55:59 OK. I just saw two small nits, otherwise I will +2 14:56:35 Rafael Weingartner proposed openstack/cloudkitty master: Optimize Gnocchi fetcher https://review.opendev.org/c/openstack/cloudkitty/+/864269 14:56:58 Awesome, thanks! 14:57:29 So, moving on to the last patch #link: https://review.opendev.org/c/openstack/cloudkitty/+/864578 14:57:42 This is also an important patch for us to move on and merge it as soon as possible 14:57:50 PyScripts were broken for a long time 14:58:10 I agree! 14:58:56 We should merge this one as soon as possible. 15:00:40 Guys, we are running out of time 15:00:43 you could be just a bit more verbose in the reno 15:00:54 I guess we continue in our Async mode to review the patches 15:01:00 Do you guys have something else to add? 15:01:01 ok 15:01:04 To our meeting 15:01:43 I want to add that I was able to build PDF docs 15:01:50 awesome! 15:02:06 but some lines go out of the frame and the v2 API refs are completely missing. 15:02:37 So this will need some work to fix. :( 15:02:53 It doesn't seem worth it 15:03:47 True, unless there is an easy way to automatically break long listings like this one: 15:04:08 https://docs.openstack.org/cloudkitty/latest/admin/configuration/samples/cloudkitty-conf.html 15:05:36 Either way, I wouldn't have time to investigate any further this week. 15:06:13 How many people will read our API docs in PDF? Probably none 15:06:13 Can we add a note that rendering is not complete? 15:06:43 I agree that is is not worth it 15:06:54 OK 15:06:54 I mean, I do not see a problem in the listing being in multiple pages 15:07:12 Thank you guys for participating. Have a nice week. 15:07:38 #endmeeting