17:02:08 #startmeeting quotas-wg 17:02:08 Meeting started Tue May 17 17:02:08 2016 UTC and is due to finish in 60 minutes. The chair is vilobhmm11. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:02:09 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:02:11 The meeting name has been set to 'quotas_wg' 17:02:15 Courtesy quotas-wg meeting reminder: nikhil, vilobhmm, DuncanT, mc_nair, ninag, amrith 17:02:16 ./ 17:02:29 hi all 17:02:45 o/ 17:03:05 Hi 17:03:28 hi thingee, amrith, DuncanT 17:03:51 we can get started 17:04:07 #topic Updates 17:04:45 lets wait 2 more min for nikhil, harlowja, itisha 17:05:06 Do you have the link for the agenda, please? 17:05:44 DuncanT : https://etherpad.openstack.org/p/quotas-wg-meeting-agenda 17:06:45 Thanks 17:07:06 alrite lets start 17:07:28 #1. Last week Delimiter was added to CI system : https://review.openstack.org/#/c/315232/ 17:08:31 its a good start since this helps us to get the CI support and we can follow the same methods for pushing/revieing/merging code as other projects do.. 17:09:05 but even before that to make good progess we had set up travis to run nightly job https://github.com/vilobhmm/delimiter/commit/62b89b853b4e4a879e135bc8a24ec58ec5ea591c 17:09:19 so now since we have openstack ci we don't need travis anymore 17:09:45 #. The project launchpad page is all set up 17:09:46 https://launchpad.net/delimiter 17:09:50 #2. ^^ 17:10:18 #3. Delimiter library is now under openstack umbrella https://github.com/openstack/delimiter 17:10:59 #4. To get things started we have basic interface and support for zookeeper based driver https://github.com/openstack/delimiter/blob/master/delimiter/drivers/zookeeper.py 17:11:25 #5. For SQL based driver work is in progress and should be up for review this week 17:12:06 #6. We had interestring discussion on generation-id and how it should be used by the consumers of delimiter library here http://lists.openstack.org/pipermail/openstack-dev/2016-May/095029.html just in case you missed it 17:12:40 We will have a document under delimiter/docs short doc to explain it to the consumers of library 17:13:23 vilobhmm11, I have two questions re: updates 17:13:24 thanks to amrith, jaypipes for there clear and concise explinations for #6 17:13:38 amrith : sure 17:13:47 before the questions 17:13:53 the first is about the discussion at the oslo meeting yesterday and the second is about the irc chat with jay yesterday. 17:13:55 thats it about the updates for the library 17:13:59 for this week 17:14:13 thingee, amrith, DuncanT : any questions , suggestions, feedback ? 17:14:16 yes, these two are updates. 17:14:26 ok 17:14:33 #7. oslo meeting yesterday 17:14:37 amrith : please proceed will take suggestion, feedback later 17:14:41 #8. irc chat with jaypipes yesterday 17:14:46 I need to read the linked thread some more, but it certainly helps 17:14:59 there appears to still be a signficant disconnect on the nature and scope of delimiter library 17:15:10 for example, you ask about generation id's and things like that. 17:15:27 yet projects (example. Nova) feel that all that will be in the projects scope, not delimiter scope 17:15:43 so before going further, we need to all get on the same page about what the scope of delimiter is. 17:15:49 irc://irc.freenode.net:6667/#8. irc chat with jaypipes yesterday on openstack-dev between 3-4 EST 17:15:56 and whether consumers of the project would be interested in that converstaion. 17:16:28 also whether consumers of the projectw would be interested in the outcome of the project. 17:16:58 currently, as described by jay for example, delimiter is not a very interesting project (i.e. what does it really do?) 17:17:22 how do we propose to address that. 17:18:40 Thought about it yesterday 17:18:49 #1. to answer that everyone agrees that quota infrastructure is not in a good shape in projects using quota 17:19:03 amrith: It's in the project scope but a prerequisit for delimiter AFAICT 17:19:30 #2. projects may be don't want to spend time in investigating time in going for "no-reservation" based approach which the library provides 17:19:50 #3. support for quota calculation for hierarchical/non-hiearchical projects 17:20:27 DuncanT, please elaborate. What is in the project scope and prerequisite for delimiter? 17:20:46 amrith : +1 17:20:55 DuncanT : please elaborate 17:21:17 vilobhmm11, all of what you say fails to account for the fact that projects who want to use delimiter don't want to relinquish either the recording of the allocation or the actual process for consuming. 17:21:54 amrith: Things like using generation ids 17:22:16 DuncanT, what about them? 17:22:28 they are, apparently, not in delimiter scope 17:22:42 that is part of the 'how projects record allocations' 17:22:42 amrith : will get back to that…listening to DuncanT now.. 17:22:44 amrith: But they do seem to be a prerequisit 17:22:59 preprequisite for whom? 17:23:01 for the projects 17:23:09 delimiter neither sees nor touches them 17:23:11 amrith: For projects that want to use delimiter 17:23:19 absolutely not true 17:23:22 that's an example 17:23:26 of how nova wants to do things 17:23:32 they aren't prescriptive about it 17:23:46 for example, jay says there's no guarantee that projects will store this data in a relational database. 17:23:54 amrith: I'm confused then about how else we can make things work, but I'm happy to wait to see code to a certain degree 17:23:59 and very clearly, the whole generation concept depends on a transactional rdbms. 17:24:20 DuncanT, did you read the chat with jay yesterday (3-4pm eastern) 17:24:20 I think if we go too far into what is possible then we never get anything actually usable 17:24:56 I have the log, I've not read it yet. I wouldn't take everything Jay says as gospel though. 17:25:32 I don't take anything, anyone says, as gospel, even if it is printed in a book 17:25:35 but that aside. 17:25:41 he is illustrative of a consumer 17:25:42 of the library 17:25:53 and he describes what he views as delimiter. 17:26:02 now, if he is one ... what about others? 17:26:07 what do others expect of delimiter? 17:26:14 I've seen no other 'consumer' tell what they want 17:26:21 I'm one. What I most of all want right now is something less nebulous to talk about 17:26:44 DuncanT : what does that mean ? 17:27:00 I don't much care what scope delimiter chooses, I want to see if it produces something useful to the cinder project 17:27:31 since its cross project it would be nice to limit t scope beforehand and see if it works in a cross project sense 17:27:54 and not for a particular project otherwise we will have to go back-n-forth 17:28:51 So what is the smallest possible scope we can start with? I'd say getting RDBMS working is absolutely needed for most existing deployments - cinder won't, I think, take anything that requires zookeeper, for example 17:28:52 amrith : to answer your question ; in the current design that few of us have discussed delimiter can be seen as a proxy where it doesn't own any data, neither it directly manipulates any data but just acts as a mediator 17:29:52 amrith : delimiter needs to provide something more than just being a proxy for the calls and doing some computation based of the data provided by the consumers is what you are pointing to right ? 17:30:06 hey guys, my previous meeting rolled over. sorry about the delay. 17:30:15 np nikhil 17:30:22 we are discussing about the scope for delimiter 17:30:53 and going through the discussion that jay and amrith had yesterday on openstack-dev 3-4 pm about the scope of delimiter 17:31:32 Thanks! 17:32:08 amrith : ^^ 17:32:11 you there ? 17:33:28 DuncanT : you there ? 17:33:36 Yes 17:33:40 how will the solution proposed above will help 17:34:50 I think we should be okay with the rdbms assumption 17:35:08 most projects default to that 17:35:39 I'm still trying to cartch up on the discussion yesterday and the email thread 17:35:46 and I echo DuncanT that the ZK won't be acceptable to most projects by default and it can be good to have 17:36:07 But I think we're running round in circles at the moment, and will be until we've got a PoC 17:36:08 (I think good to have is just me) 17:36:16 DuncanT: +1 17:36:53 just wanted to see an alternative as generation concept depends on a transactional rdbms. 17:37:24 but for that delimiter should store generation-id 17:37:34 which it is not doing at this moment 17:37:38 vilobhmm11: I think we should start with that approacha and then iterate over it 17:37:49 From a cinder point of view, we're always going to have an rdbms, so I'm ok with that 17:37:54 ok 17:38:01 #agenda Tasks for this week 17:38:09 #1. Generation id documentation 17:38:30 #2. Internal object structure for delimiter - vilobhmm 17:38:32 We don't use generations as a concept yet, and I'm still trying to figure their cost/benefit outside of quota management 17:38:55 DuncanT : is that targeted for Newton ? 17:39:03 for cinder usage of generation id 17:39:10 I am wondering if sudipto and vilobhmm11 can pair on the gen_id documentation 17:39:21 as I won't be reviewing it :-) 17:39:27 Not currently, we've no clear idea of the point, other than quota 17:39:28 sure that would be gr8 17:39:32 my focus is the drivers 17:39:36 sudipto : if you can help it would be nice 17:39:40 vilobhmm11, sure... 17:40:07 by next week if we have these 2 things sorted we should be in good shape 17:40:29 Migrating to generations on a live upgrade scenario looks challenging 17:40:34 I have also started working on the sql based driver 17:40:37 * thingee has to disappear 17:40:40 I wonder if we can extend the basic engine that doesn't have transactional guarantees now? 17:41:01 we have the initial template for zk based driver https://github.com/openstack/delimiter/blob/master/delimiter/drivers/zookeeper.py thanks to harlowja for that 17:41:43 How can you use ZK without peppering ZK stuff all over the code? I've not got an understanding of that either 17:42:02 vilobhmm11: I think it would be nice if we can just have the most simple driver for now 17:42:10 DuncanT: it's a POC, we can iterate over it 17:42:33 DuncanT, nikhil: zk is just a placeholder 17:42:37 it won't be used 17:42:39 vilobhmm11: for example, get_quota, set_quota, and delete_quota 17:42:41 it was something to startoff 17:43:03 the only driver that will be used whenever delimiter is used by a project is the sql driver 17:43:05 vilobhmm11: without being transaction agnostic 17:43:16 sorry, with being* 17:43:20 nikhil, DuncanT : ^^ 17:43:37 ok 17:43:58 so getting SQL driver up and running is our top most priority! 17:44:20 and for that it will need the objects support etc which i plan to work on this week 17:44:46 vilobhmm11, you can pull me in for any work you want to get done there. 17:45:02 * sudipto is still catching up, but hopefully will be there soon 17:45:05 sudipto : sure will need you help here as well 17:45:14 thanks! 17:45:37 feel free to ping me if you have any queries 17:45:57 #topic open discussion 17:46:07 are there any reviews ? :) 17:46:38 merged few of them yesterday 17:46:39 https://review.openstack.org/#/q/project:openstack/delimiter 17:46:46 everything that was out is merged now 17:46:46 looks like all josh and all merged :) 17:46:49 ok 17:46:53 yup ! 17:47:05 I want to propose DuncanT and sudipto for core if they are interested ? 17:47:42 Sure, thanks 17:47:50 cool 17:47:58 Sure, thanks! 17:48:06 nice..welcome ! 17:48:16 so just to recap 17:48:18 source : https://github.com/openstack/delimiter 17:48:30 launchpad : https://launchpad.net/delimiter 17:48:37 I suspect I won't provide much value until things have moved on slightly beyond where they are now and I've an actual picture in my head of what we're doing, but hopefully that is only a week or two away 17:48:47 +1 DuncanT 17:48:55 DuncanT: is your email first.last@gmail ? 17:49:07 Yes 17:49:15 sudipto: DuncanT for cores you only get a free ping for review :) 17:49:30 DuncanT : np.. 17:50:00 done 17:50:03 #link https://review.openstack.org/#/admin/groups/1393,members 17:50:10 thanks nikhil 17:50:13 and 17:50:14 https://review.openstack.org/#/admin/groups/1394,members 17:50:46 👍 17:51:04 ping me for reviews, I would like to wrap my head around gen_id stuff this week 17:51:33 I'm much the same 17:51:39 Also to wrap up I would like to thank nikhil for representing delimiter and replying to all the ML thread and driving the CI related effort so precisely..thanks much nikhil..much appreciated 17:51:58 any other open discussion 17:52:29 sorry, I lost my internet connection for 20m 17:52:55 DuncanT, vilobhmm11 I'm back. sorry abotu that 17:53:01 amrith : np we are about to wrap up…the open discussion is going on.. 17:53:01 👍 17:53:05 my pleasure 17:53:16 I do want us to be on the same page with jay as much as possible 17:53:20 did you guys resolve yet whether delimiter will track resource usage or whether that will be done by the project who use delimiter? 17:53:33 but to do that, I need to understand him more than gen_id ;-) 17:53:38 apologies, but I am trying to catch up 17:53:52 tbarron : good question 17:53:58 tbarron: usage is recorded in the project 17:54:04 DuncanT, are you open to a phone call right after? 17:54:08 tbarron: calculated at the compute time by delimiter 17:54:13 delimiter will be passed in with project usage record by the consuming project 17:54:25 vilobhmm11: ? 17:54:26 amrith: Yes 17:54:45 vilobhmm11: if it's a simple number on the DB tables then I would agree. 17:54:55 vilobhmm11: do we need to have any more info on the usages? 17:55:01 and delimiter will compute the quota…based on info provided as nikhil mentioned above 17:55:09 ok 17:55:31 tbarron : does that answer your question 17:55:47 yes, at least at my current level of understanding 17:56:05 in your case direct usage of # of volumes will be fetched from cinder.volumes 17:56:14 rather than relying on cinder.quota_usages 17:56:23 and you are still thinking of using, say, keystone to hold the actual resource limits per project, subproject, etc. 17:56:47 ? 17:56:51 nope the actual resource limits per projects will be fetched from respective projects and not keystone 17:57:00 keystone does not want to be a single hub for all data 17:57:14 (no, all data lives in the project DB tables except the tree hierarchy from keystone) 17:57:43 nikhil : +1 17:58:03 vilobhmm11: ok, so tree hierarchy from keystone, and delimiter would know how to compute based on that hierarchy? 17:58:14 tbarron : yes 17:58:28 it will compute even if there is no hierarchy 17:58:36 vilobhmm11: sure 17:58:50 the objective is to comute irrespective of hiearchy or no hiearchy 17:59:02 tbarron : was that helpful ? 17:59:13 yes, again at this level :) 17:59:16 ok 17:59:25 i'm looking at manila quota reform :) 17:59:46 ok shouldn't be different than other projects 17:59:48 so will be following with interest 17:59:56 I will dare look at it for Nova. 18:00:28 please drop you suggestions here https://review.openstack.org/#/c/284454/ tbarron would be happy to see your requirement 18:00:34 alrite thats it for this week 18:00:42 #endmeeting