16:02:25 #startmeeting hierarchical_multitenancy 16:02:26 Meeting started Fri Jul 3 16:02:25 2015 UTC and is due to finish in 60 minutes. The chair is schwicke. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:02:27 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:02:29 The meeting name has been set to 'hierarchical_multitenancy' 16:02:45 who's there today ? 16:02:51 o/ 16:02:56 o/ 16:03:01 o/ 16:03:35 #topic review of action items 16:04:33 we had: erickdonsantos will take over from vilobhmm while he's on vacation 16:04:56 schwicke, he is currently working on it 16:05:11 ok 16:05:15 he has already fixed the tests, but have found some bugs and he is currently fixing them 16:05:23 ok 16:06:00 the major issue was that the code wasn't considering the data from the db for a subproject 16:06:10 it was always returning 0, not checking the DB first 16:06:11 hi \o 16:06:31 hi erickson 16:06:32 Hi 16:06:36 welcome! 16:06:47 we've just started to review the action items 16:06:49 thanks 16:07:57 nice, I'm working on cinder code. For now, I have just to implement some tests 16:08:03 and upload a new patch 16:08:25 ok 16:08:43 ok 16:08:57 do you have a time estimate ? 16:09:32 monday I guess 16:09:37 great! 16:09:54 good ! 16:10:35 this is for https://review.openstack.org/#/c/194406/ ? 16:11:11 schwicke, yes 16:11:15 then we had: sajeesh will ask for feedback on failing tests for 16:11:15 https://review.openstack.org/#/c/182140/ and sajeesh will contact core developers on IRC in #openstack-nova 16:11:20 (moving on) 16:11:35 sajeesh: did you succeed with that ? 16:11:43 yes I had contacted them 16:11:55 I will start fixing it 16:12:14 can you give more details? 16:12:29 what were their suggestions? 16:13:07 rodrigo, dims had asked me to fix it first and then he will see 16:13:18 fix it how? 16:13:28 the wsgi.py check, right? 16:13:28 I am planning to change the test case 16:13:36 the tempest test? 16:13:39 yes wsgi.py 16:13:41 yes 16:14:40 what's the test case then ? 16:15:06 I have to see it. 16:15:24 sajeesh, I've an email to you with the testcase 16:15:27 and why it is failing 16:15:37 I believe I've sent it before the meeting last week 16:15:40 yes I have seen it 16:16:02 I'm not sure whether is the right direction to fix the tempest test 16:16:02 based on that only, I am planning to solve 16:16:22 since the action is intended to fail 16:16:40 let us fix it that way first 16:16:54 so the checks you've removed from wsgi.py is causing this check to not happen 16:17:03 anyway... 16:17:18 I think so...I haven't gone deep into it 16:18:21 so consider to fix the Nova code, instead of going to change a behavior from a tempest test 16:18:22 I will check it 16:18:34 rodrigods ++ 16:18:44 you may need to readd the checks you've removed in the API that is failing 16:18:50 yes, sounds more reasonable to me as well 16:19:00 rodrigo, surely I will consider all options 16:19:39 sajeesh: do you need any help with that ? 16:20:01 any help is welcome 16:20:04 :-) 16:20:42 maybe somebody can help out with a patch ? 16:21:03 once, / 16:21:13 schwicke : sorry to interupt 16:21:14 ericksonsantos, all : I have a flight to catch but ericksonsantos if you can submit a patch with the feedback that you and sajeesh had mentioned, so by the time I am back we can move ahead with this one….once I am back I can take it ahead… 16:21:32 once I've finished with cinder code, I can take a look. * 16:21:34 talking specifically about https://review.openstack.org/#/c/194406/ 16:21:43 ericksonsantos : ^^ 16:21:46 actually I have to see , if that test becomes redundant when I remove the context checking from wsgi.py 16:22:24 vilobhmm, nice, I'll do it :) 16:22:52 if it becomes redundant , it makes sense to remove it 16:23:14 sajeesh, why is it redudant ? 16:23:15 ericksonsantos : thanks 16:23:42 it checks if a user can create a keypair in a project he isn't authorized to 16:23:45 I am not sure that it is redundant...I mean if it is redundant 16:24:36 is there another test doing the same thing, or what makes it redundant / 16:24:37 ? 16:25:11 schwicke...that I have to check 16:25:17 what is broken is the behavior, not the test 16:25:23 if we have 2 tests doing the same thing 16:25:25 both should fail 16:25:38 ok 16:25:51 +1 16:27:07 so what is the conclusion? 16:27:40 can't say right now 16:28:13 IMHO a authorization check was removed, a specific API is failing (associate a keypair to an instance in a project) so this API needs this check 16:28:27 sajeesh, I have to think if makes sense remove that checking in wsgy.py 16:29:00 an option is to readd this same check in the specific API 16:29:04 since it seems to need it 16:29:04 according to the bp, token should be scoped to parent for update and delete 16:29:59 that is already...there and I can shift the test to that area 16:30:46 which area? all calls go through wsgi.py and than to the specific API 16:30:59 if the test is faling it means that neither have the check 16:31:15 speaking logically (haven't looked the code) 16:31:32 context checking is done api 16:31:42 done inside api call 16:32:16 conext checking is done inside the api call 16:32:40 if I can shift this test to that area , I think it can be solved 16:34:28 shall we try it the way sajeesh suggests ? 16:35:28 sajeesh, ericksonsantos, schwicke: can't we parallelize a bit more? Maybe have some fresh eyes looking at this one patch for a while and start another one in the chain? 16:35:58 abrito: +1 16:36:04 +1 16:36:52 let's move on for now on the action item review 16:37:35 sajeesh will work on implementing monkey patching the keystone calls 16:37:47 yes.. I am doing that 16:37:47 sajeesh: did you make any progress on this one ? 16:38:01 can you give a time estime when this will be finished 16:38:11 schwicke...progress is there . 16:38:31 just talked to Raildom, he could help with this one patch. 16:38:57 I can say that I can complete this in a few days.... 16:38:58 meanwhile Ericksonsantos could help in the cinder front. 16:39:25 sounds good 16:39:31 thanks raildo !!!! 16:40:59 can you trigger the action schwicke ? 16:41:05 sure 16:41:11 raildo will take a look in the patch and will fix it 16:41:27 #link https://review.openstack.org/#/c/182140/ 16:41:43 #action raildo will take a look in the patch and will fix it #link https://review.openstack.org/#/c/182140/ 16:41:49 thanks for the link! 16:42:45 what else is pending ? I saw a discussion about weather or not a different driver should be used or if the existing one should be extended 16:43:01 my opinion is the old one from sajeesh 16:43:19 ? 16:43:22 since the NestedQuotaDriver works as the QuotaDriver when HMT is not considered 16:43:42 I don't see a reason why we would want to replicate code 16:43:49 or behavior 16:43:52 rodrigods +1 16:44:57 the main argument for having two different drivers is the transition from the old to the new one 16:45:01 rodrigo...there won't be code duplication NestedQuotaDriver inherits from DbQuotaDriver 16:45:18 It is mainly done to make transition safer and smoother 16:46:10 I mean if it inherits 16:46:20 we can make this change without having to create a new driver, the behavior will still be the same 16:46:21 originally I was in favor of having two drivers 16:46:30 but then I understood that in a conversation with Morgan 16:46:37 we can do.... 16:46:43 it was suggested that a single should be a smoother experience 16:46:58 did I miss something Sajeesh? 16:47:31 abrito...then everybody will be afraid of potential risks 16:47:55 putting my sysadmin head on I'd feel better if I could upgrade to the new version of nova without changing the driver, and then having the possiblity to switch on and test the new thing 16:48:36 in particular for large installations - which are exactly those who may be interested in the new features 16:48:36 so in nova we are proposing it as an optional driver in the intial release and default in the successive one 16:49:26 shwicke ...issue is not with the user acceptance...issue is with the code acceptance 16:49:37 while I agree that from a pure design point of view a single driver solution looks more clean, I really believe that from a sysadmins point of view having an independent driver is more save 16:50:26 ok, but then there are two reasons 16:50:45 the sysadmins could be more confortable 16:51:15 and the cores would be less afraid of having such an important code buggy 16:51:21 sajeesh: from the design the two driver solution is indeed a bit more ugly even if you inherit the old code. It implies that you will have to iterate on the code later to get rid of the old driver 16:51:34 ++1 brito 16:51:40 do we then agree on this one? 16:51:56 abrito: +1 16:52:00 that's the point 16:52:01 not much iteration is required 16:52:32 so we agree that it is better to have 2 drivers, correct ? 16:52:40 ok, let's create an optional driver 16:53:23 #agreed we create an optional driver to ease the migration. This should be the case both for cinder and nova. 16:53:33 so, ok 16:53:53 That's quite an important outcome of this meeting :) 16:54:00 yes :-) 16:54:12 we are running out of time. 16:55:33 I think we should try to make use of the skype block during the week 16:55:40 #topic AOB 16:55:52 yes 16:56:09 specifically now to get the tests going. We need more discussion on this it seems 16:56:18 Do we agree ? 16:56:44 yes 16:57:09 do we have raildo in the group chat ? 16:57:30 so everyone is already on the skype group 16:57:42 schwicke: yes, he is 16:57:56 excellent! 16:58:43 #agreed use skype chat during the week to coordinate 16:58:47 Time is out 16:58:54 thanks guys 16:58:56 let's meet again next Friday to review 16:59:00 ++ 16:59:05 thank you all! 16:59:07 to speed up things 16:59:10 #endmeeting