14:00:06 #startmeeting cloudkitty 14:00:07 Meeting started Mon Mar 22 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:08 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:10 The meeting name has been set to 'cloudkitty' 14:00:19 Hello guys! 14:00:20 Roll count 14:01:10 o/ 14:01:11 Hi! 14:01:15 priteau, what to do now ? 14:01:27 Akki58: We're starting a meeting, let's continue later 14:01:47 oh, i am really sorry, i just noticed tha 14:02:02 *that 14:03:32 Hi rafaelweingartne and mkarpiarz 14:04:24 #topic Wallaby release 14:04:35 I guess that we are moving on to release CloudKitty under Wallaby 14:04:58 most (if not) of the issues that we wanted for Wallaby have already been merged. 14:05:18 I have also reviewed the patch to cut RC1 last week if I am not mistaken 14:05:36 NOTNUMBOOL didn't make it :/ 14:05:37 Do you guys have some patch that we forgot to merge, and that should still make Wallaby? 14:06:13 Well, technically we're past feature freeze so it should be bug fixes only now 14:06:24 Do we want this? https://review.opendev.org/c/openstack/cloudkitty/+/777379 14:06:44 It's fine. No point rushing non-critical patches. 14:07:32 priteau, that one I am not sure about 14:07:46 I mean, it seems that they were using a wrong configuration 14:08:06 I've not worked much with Gnocchi recently so I don't know if it's the correct fix or not 14:08:11 it seems that they have an Gnocchi installation where the aggregation methods are configured with 300, and that is why they needed that config there 14:08:33 moreover, if they have some different aggregation method, they can use in their "custom" metric files 14:08:41 But this isn't a default in Gnocchi? 14:08:43 there is no need to add that in CloudKitty 14:09:28 So should Thomas ship a custom metrics.yml then? 14:10:13 let me check gnocchi for the default 14:10:30 we are used to explicitly define these things, that I am not sure about the default 14:11:55 It would be interesting to check what configuration is used when deploying CloudKitty and Gnocchi with DevStack. 14:12:26 Yeah, this is about different granurality set on the archive policy for some metrics. 14:12:48 We've had a discussion about this here: https://storyboard.openstack.org/#!/story/2008598 14:14:14 The default granularity is set in Cloudkitty to 3600s. 14:14:46 by default gnocchi uses all granularities that is configured in the archive policy in the aggregation API (used by cloudkitty) 14:14:59 and as mkarpiarz said, the default used in CloudKitty is 3600 14:15:11 Which of course works for metrics with granularity set to 1h but not for those with granularity 5min. 14:15:35 exactly 14:16:01 Would a typical ceilometer + gnocchi deployment have granularity of 300 on some metrics? 14:16:39 https://gnocchi.xyz/operating.html#default-archive-policies 14:16:55 priteau, it depends on the arquive policies set to resources 14:17:17 let me check the default in Ceilometer now 14:18:31 I think we should ship defaults that work with defaults of other OpenStack services 14:18:31 https://github.com/openstack/ceilometer/blob/master/ceilometer/publisher/data/gnocchi_resources.yaml 14:19:09 So 5 minutes on ceilometer-low? 14:19:19 yes 14:20:03 so, if we want to comply with Ceilometer default configs 14:20:16 then, yes, it might be interesting to merge that patch 14:20:48 At the very least, this change should have: 14:20:54 the force granularity would need to be applied to other resources as well though 14:20:55 Story and Task lines to link to storyboard 14:21:05 a release note 14:22:50 I'd also ask to add a note about force_granularity and which metrics might be affected to docs. 14:23:40 Or at least point people to the Story where we have dicussion of how to deal with this problem. 14:23:54 Do we do these things? Or, we ask for the contributor that is proposing the patch? 14:24:13 zigo: are you able to update your patch? 14:24:23 If not, we would need to do ourselves 14:24:38 * zigo reads the backlog 14:25:04 priteau: To include volumes fix too, isn't it? 14:26:41 My config for gnocchi and ceilometer is indeed the default one. 14:26:52 I don't know what granularity is used for volumes, sorry 14:26:54 So, by default, we have a non-working cloudkitty, which is why I wrote the patch. 14:27:36 volume.size also needs force_granularity: 300 14:28:28 from what I see, all of the default metrics in Ceilometer are configured as granularity=300 14:29:07 I'm able to add this, but do all the work with release notes, stories, etc, I wont have time. 14:29:37 The story is already there 14:29:46 It's just adding the lines in the commit message as you update it 14:29:54 We can add a release note if that's a problem 14:30:03 I can do the release note. :) 14:30:15 What's the syntax for pointing to the story ? 14:32:30 See example: https://opendev.org/openstack/cloudkitty/commit/c248af3ecb61f7b6d297ca5325436f55f1c5760f 14:34:05 Will this change close the Story? 14:34:11 Yes. 14:35:19 Thomas Goirand proposed openstack/cloudkitty master: Set force_granularity: 300 in metrics.yml https://review.opendev.org/c/openstack/cloudkitty/+/777379 14:35:21 Like I said, it could be useful to document why force_granularity should be set on some metrics and how to find these metrics. 14:35:37 Otherwise users will run into the same issue over and over again. 14:35:38 I very much would love to know myself ! 14:36:14 Is this a new issue? How comes it has been reported only now 14:36:20 zigo: Have you read the discussion under https://storyboard.openstack.org/#!/story/2008598? 14:36:26 Do we work to merge that patch before Wallaby? I mean, for Wallaby? 14:36:57 Depends if it can have negative side effects? 14:37:04 priteau, I guess that people using CloudKitty before were always customizing Ceilometer gnocchi_resources files, and of course, CloudKitty metrics.yml as well 14:37:31 Specifically https://storyboard.openstack.org/#!/story/2008598#comment-170473 and https://storyboard.openstack.org/#!/story/2008598#comment-170660 - these are explaining why you need different grantularities and how to find granularities on metrics. 14:38:19 In there, it's written: "Now, in Cloudkitty's Gnocchi collector granularity is set to 3600 seconds by default. " Can this be configured somewhere? 14:39:25 Oh, I got it ... 14:39:32 Well, the value is specified in the source code and can be overriden with force_granularity. 14:39:37 [collect] 14:39:37 period = 3600 <--- That ? 14:39:45 Ah ok. 14:40:05 That's something else ^^ 14:40:09 https://opendev.org/openstack/cloudkitty/src/branch/master/cloudkitty/collector/gnocchi.py#L115 14:40:26 period is the time window used for rating 14:40:33 Required('force_granularity', default=3600): All(int, Range(min=0)), 14:41:14 Got it. 14:41:22 Well, in such case, my patch is making sense. 14:41:56 If someone goes to edit the gnocchi / ceilometer defaults, then that someone is also expected to know what he's doing and edit cloudkitty's metrics.yml. 14:42:06 yes, it is, but you need to add the force_granularity for other metrics that have the same default of 300 to make it complete 14:42:11 zigo: I would say so 14:42:39 Except that other metrics aren't rated by default by cloudkitty. 14:43:00 The point is just to have these that are configured by default in cloudkitty to match what is also by default in ceilometer. 14:43:11 Normally, before putting to production, I would expect people to plan the aggregation methods they want and the granularity for each metric 14:43:30 Will a note in docs be part of https://review.opendev.org/c/openstack/cloudkitty/+/777379 or should we create a separate Task for it in the Story? 14:43:47 We did lots of trials and error, and found out that the default were kind of ok-ish.. 14:43:48 (so a different patch can reference the task number) 14:44:06 mkarpiarz: That's up to zigo 14:44:28 We can always reopen the story with a TODO task if needed 14:44:43 Ah, OK. 14:44:47 I'm just discovering stuff, so I'm not 100% clear on how to write such a doc. 14:45:03 I'd prefer someone else takes the job for now, as I'm not confident enough. 14:45:11 guys, we only have more 15min. So, to wrap up this topic. Zigo is going to amend the patch he proposed, and we are going to merge it for Wallaby? Is that it? 14:45:31 Good for me. 14:45:45 I got more topics to discuss.. 14:46:14 zigo: To update docs you simply edit files in https://opendev.org/openstack/cloudkitty/src/branch/master/doc/source 14:46:27 Sure ! :) 14:46:32 That's not where I lack knowledge. 14:46:47 So, moving on. Do you guys have some other review priorities? 14:46:48 #topic Review priorities 14:46:50 Where I lack knowledge is all about archive policies, aggregation, etc. 14:47:15 Things that we might want to see in Wallaby version of CloudKitty 14:47:20 Yeah. 14:47:24 cloudkitty dataframes get -p <--- Doesn't work for me. 14:47:46 zigo: Let's discuss outside of the meeting if possible 14:48:01 When I do -p, cloudkitty returns with a policy error, even though my policy file is in order. 14:48:07 priteau: I do believe this is a bug... 14:48:23 But ok, I'm fine taking this off-meeting. 14:48:25 zigo: Topic is review priorities 14:48:33 ok 14:48:47 Ping me later then. 14:49:05 rafaelweingartne: I don't see other bug fix candidates for Wallaby 14:49:15 Of course we can start reviewing Xena patches 14:49:33 I've given my +2 to NOTNUMBOOL: https://review.opendev.org/c/openstack/cloudkitty/+/774084 14:49:42 sure, I aggree 14:51:21 Are Xena patches the ones submitted by the OpenStack Release Bot? 14:51:50 Two patches for the Wallaby branch and two for master 14:51:58 For each repository 14:52:22 Yep 14:52:41 So we have to review and merge them all, right? 14:52:42 There's a failure to investigate here: https://review.opendev.org/c/openstack/cloudkitty/+/782093 14:52:49 AssertionError: 1.0000000003174137e-05 not less than or equal to 1e-05 14:53:20 Yes, they all need to be merged so the wallaby branch can receive patches and release notes be published 14:54:26 Do we have something else that we need to discuss with respect to review priority? 14:55:19 We should use last 5 min to discuss PTG 14:55:36 yes 14:55:44 Nothing on my side when it comes to review priorities. 14:56:09 Now, I open for general questions and topics that people might have.  Then, we can use this space to discuss the PTG 14:56:15 #topic AOB 14:56:51 I have participate in a few of them last year, should we try to schedule something? 14:56:53 PTG is important because signup closes this week 14:57:25 I think it would be good to book maybe 2 hours to go over plans for Xena via video 14:57:51 Do we have a place to schedule these times? 14:57:57 #link https://ethercalc.net/oz7q0gds9zfi 14:58:33 ok, I will send an email later today 14:58:43 so we can try to select/converge on some dates and times 14:58:49 There's space on Monday so we could schedule around the same time as our IRC meeting 14:58:57 Would make it easy to remember 14:59:03 i.e. April 19 14:59:12 15-17 for example 14:59:17 But do send email :) 15:00:02 We will need to close. Thank you guys for participating. Have a nice week. 15:00:05 #endmeeting