14:10:27 #startmeeting cloudkitty 14:10:27 Meeting 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:27 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:10:27 The meeting name has been set to 'cloudkitty' 14:10:33 #topic Roll call 14:10:40 Maybe this will make Rafael join ;-) 14:11:14 :) 14:12:18 I've just left a comment on https://review.opendev.org/c/openstack/cloudkitty/+/821397 14:13:20 I've just sent an email to Rafael 14:14:24 I agree changes like this shouldn't need another +1/+2. 14:15:04 I'm going to merge 821397 now. :) 14:15:25 Please do 14:16:49 Should we start discussing other changes now? 14:17:37 I will be testing this change in my test environment: https://review.opendev.org/c/openstack/cloudkitty/+/799207 14:18:31 There have been some significant changes since the last patch I looked at. 14:19:10 Oh right, this is still in progress 14:20:02 Let's go over the meeting agenda since it was prepared 14:20:06 Topics for meeting of 13/12/2021 14:20:12 #topic Target reviews 14:20:20 1) https://review.opendev.org/c/openstack/cloudkitty/+/775359 14:20:32 No response from original author 14:20:53 But we know the bug can exist, I've seen it before, although I am not sure how to reproduce it 14:22:22 A comment says "The ZeroDivisionError is raised when no executions have occured when calling the 'average_runtime' method" 14:23:52 I've never seen this edge case but it look plausible to me. 14:24:41 I said I would check if I can reproduce, not had the time to look into yet 14:25:00 Let's discuss the next one 14:25:03 https://review.opendev.org/c/openstack/cloudkitty/+/814789 14:25:17 This one has been approved in the past both by you and Rafael 14:25:30 There were just some small changes since 14:25:33 Can you approve again? 14:25:41 It would make zigo very happy ;-) 14:25:53 Very much ! :) 14:28:32 Ah, I forgot to check back on this one. Approved and merged. 14:28:49 Next is https://review.opendev.org/c/openstack/cloudkitty/+/817275 14:29:03 Already a +2 from you so we'll need an approval from Rafael 14:29:28 Added him to reviewers 14:29:37 Next https://review.opendev.org/c/openstack/cloudkitty/+/808997 14:29:40 OK 14:29:53 I've made some small changes to this one, it can get my +2 once Zuul jobs run 14:30:15 Really just cosmetic changes, either in commit/reno or in code layout 14:30:27 Please check back in one hour or so 14:30:41 Finally, https://review.opendev.org/c/openstack/cloudkitty/+/778922 14:30:46 Sure, thanks for the heads-up. 14:30:50 This one is going through the gate 14:31:25 Awesome! 14:31:59 That's all for the target reviews 14:32:13 I guess we should set the next one? Reprocessing patch? 14:32:55 Sure. 14:33:37 Two weeks from now I'll be on holiday but should be able to look into 799207 before that. 14:34:06 (by "look into" I mean test it out) 14:34:52 I will be on holiday too. I propose that we skip the next meeting and meet on 10/01? 14:35:11 or 01/10 if you like month-first 14:35:21 3rd of Jan is UK bank holiday too 14:35:34 I am adding this to https://etherpad.opendev.org/p/cloudkitty-meeting-topics 14:36:16 Yes, Jan 10 works for me. 14:37:47 I'll also add the patches that aren't merging today 14:37:58 OK 14:38:56 Let's log the meeting date change 14:39:16 #info The meeting of 27/12/2021 is cancelled. Our next meeting will be on 10/01/2022. 14:39:27 Next topic is 14:39:32 #topic Stable releases 14:39:42 That's really just a notice 14:39:53 We've released stable versions of Wallaby and Victoria 14:40:02 They both include the policy fix for get_summary 14:40:41 #info CloudKitty 13.0.1 (victoria) and 14.0.1 (wallaby) released 14:40:47 #topic Pyscripts 14:40:52 Cool! 14:40:59 This is a topic I added to the agenda 14:41:20 Before proposing the wallaby and victoria releases, I thought we should maybe backport the pyscript fix 14:41:41 So I tried to use pyscript in master, but I was not able to get it working (even with the fix) 14:41:57 Merged openstack/cloudkitty master: Add support for multiple value filters https://review.opendev.org/c/openstack/cloudkitty/+/778922 14:41:58 I am thinking the example scripts from the docs are outdated 14:42:27 I am getting the following error 14:42:28 Unhandled exception: TypeError: 'DataFrame' object is not iterable 14:42:39 Yes, I've also had problems when trying to use pyscripts in my test environment. 14:42:51 Which collector are you using? 14:43:54 gnocchi 14:44:06 I used the script from here: https://docs.openstack.org/cloudkitty/latest/user/rating/pyscripts.html#custom-module-example 14:44:43 Looking 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 have 14:45:37 the tempest plugin only tests CRUD operations 14:45:57 According to my notes the problem is caused by line 78 in cloudkitty/rating/pyscripts/__init__.py. 14:46:19 *line 77 14:46:26 Same here 14:46:37 File "/var/lib/kolla/venv/lib/python3.6/site-packages/cloudkitty/rating/pyscripts/__init__.py", line 78, in start_script 14:46:37 exec(code, context) # nosec 14:46:47 Apparently the "data" DataFrame is empty. 14:47:03 Yes. I added some debug and found the same problem 14:47:07 Despite metrics being present in Gnocchi. 14:47:17 Ah, cool. 14:48:17 I will see if I can debug further 14:48:48 If we can't fix it though we would need to warn that it doesn't work. 14:50:23 Hello Rafael 14:50:48 I agree but we first need to rule out we both are making some systematic user error. 14:51:20 And if we are, then we should update docs. ;) 14:51:25 Indeed 14:51:52 Hello guys! 14:51:58 Sorry for the trouble :( 14:52:23 No worries 14:52:28 You can catch up on the discussion at https://meetings.opendev.org/meetings/cloudkitty/2021/cloudkitty.2021-12-13-14.10.log.txt 14:52:45 But to summarise the most important: 14:52:56 Reprocessing patch is next target review 14:53:11 Meeting of 27/12 cancelled due to holidays, next on 10/01 14:53:19 ok 14:53:21 cool 14:53:34 Pyscripts is broken, or maybe the docs are just wrong 14:53:53 Also one for you rafaelweingartner, please review https://review.opendev.org/c/openstack/cloudkitty/+/817275 14:54:07 You've done so already :) 14:54:21 Merged openstack/cloudkitty master: Add missing whitespace in log message https://review.opendev.org/c/openstack/cloudkitty/+/821397 14:54:22 yes, I did :) 14:54:44 I am planning a longer discussion of this in a blog post on the StackHPC website 14:55:12 Would you still prefer that I update the patch? 14:55:18 Can you sumarize a little bit there? 14:55:35 I can imagine how it is used, but the usecase is not clear to me 14:55:41 It can be used for anything really. 14:55:53 I used it to join with other metrics to perform some data changes 14:56:05 For example replacing project_id by project_name 14:57:28 I see 14:57:36 but I would expect some description such as https://review.opendev.org/c/openstack/cloudkitty/+/786651 14:57:52 ohterwise, the patch become a bit vague for some operators or users 14:58:32 OK, I can update 14:59:07 thanks 14:59:41 Finally, I also updated the quote API patch with some small wording/layout changes 14:59:42 https://review.opendev.org/c/openstack/cloudkitty/+/808997 15:00:01 I hope that's OK. 15:00:13 It's ready for review by mkarpiarz again 15:00:34 Sure, it is :) 15:00:35 thanks for that 15:02:01 That's all for today I think! 15:02:16 Thank you, guys! 15:02:23 Cool! 15:02:32 Again, thank you so much for picking this one up 15:03:07 Have a good end of the year holiday time everyone 15:03:22 #endmeeting