Tuesday, 2016-01-19

*** markvoelker has quit IRC01:14
*** markvoelker has joined #refstack02:52
*** markvoelker_ has joined #refstack02:56
*** markvoelker has quit IRC03:00
*** markvoelker_ has quit IRC03:01
*** markvoelker has joined #refstack03:06
*** Deng has joined #refstack03:40
Denghi everyone03:40
Dengcan I raise question here?03:41
*** markvoelker has quit IRC04:39
*** markvoelker has joined #refstack04:40
*** markvoelker_ has joined #refstack07:11
*** markvoelker has quit IRC07:15
*** markvoelker_ has quit IRC07:57
*** markvoelker has joined #refstack08:38
*** markvoelker has quit IRC08:43
*** markvoelker has joined #refstack08:46
openstackgerritDavid Liu proposed openstack/refstack-client: Remove RefStack dependency on Keystone client.  https://review.openstack.org/26574708:46
*** markvoelker has quit IRC09:02
*** markvoelker has joined #refstack09:19
*** markvoelker has quit IRC09:24
*** markvoelker has joined #refstack09:40
*** markvoelker has quit IRC09:45
*** markvoelker has joined #refstack10:16
*** markvoelker has quit IRC10:21
*** markvoelker has joined #refstack10:44
*** markvoelker has quit IRC10:49
*** markvoelker has joined #refstack11:14
*** markvoelker has quit IRC11:20
*** markvoelker has joined #refstack11:32
*** markvoelker has quit IRC11:36
*** markvoelker has joined #refstack12:11
*** markvoelker has quit IRC12:16
*** Deng has quit IRC12:23
*** markvoelker has joined #refstack12:49
*** markvoelker has quit IRC12:54
*** markvoelker has joined #refstack13:10
*** markvoelker has quit IRC13:15
*** edmondsw has joined #refstack13:30
*** markvoelker has joined #refstack13:52
*** markvoelker has quit IRC13:57
*** markvoelker has joined #refstack14:00
*** markvoelker_ has joined #refstack14:01
*** markvoelker has quit IRC14:05
*** markvoelker_ has quit IRC15:51
*** johnny___ has joined #refstack16:33
*** johnny___ has left #refstack16:34
*** markvoelker has joined #refstack16:36
*** bobby__ has joined #refstack16:36
*** bobby__ has quit IRC17:04
*** catherineD has quit IRC17:13
*** bobby__ has joined #refstack17:14
*** bobby__ has quit IRC17:18
*** andrey-mp has joined #refstack18:06
*** catherineD has joined #refstack18:27
*** alexandrelevine has joined #refstack18:30
catherineDHello18:31
alexandrelevineHi18:31
andrey-mphello18:31
catherineDHi .. Let's wait a little bit for Sergey and Paul18:32
catherineDare you both at the same time zone?18:32
catherineDI mean alexandrelevine: and andrey-mp:18:32
alexandrelevineyes18:33
catherineDthat is great ... so I put the item that we need to discuss at the bottom of  https://etherpad.openstack.org/p/refstack-meeting-16-01-1818:34
*** tpeoples has quit IRC18:34
*** pvaneck has joined #refstack18:34
*** sslypushenko has quit IRC18:35
pvanecko/18:35
*** hockeynut has quit IRC18:36
*** tpeoples has joined #refstack18:36
*** sslypushenko has joined #refstack18:36
catherineDpls find item for discussion at the botton of https://etherpad.openstack.org/p/refstack-meeting-16-01-1818:36
*** hockeynut has joined #refstack18:36
catherineDsslypushenko: ping ..18:37
alexandrelevineCan I start if everybody is ready?18:37
sslypushenkopong)18:37
catherineD:-)18:37
sslypushenkoLets roll)18:38
alexandrelevinePlease hear my argumentation first. I'll tell when I'm finished, ok?18:38
catherineDalexandrelevine: go ahead18:38
sslypushenkoalexandrelevine: Sure18:38
alexandrelevine1. The use-case requiring role User (non-Admin) is marginal and prospective. It might never come to it. Or at some distant point. Here is where it comes from  (Mark's spec):18:39
alexandrelevineImprove ScaleIO presence in OpenStack.  Drive it to become a real competitor for Ceph in OpenStack. Attach file… drag files or paste image (⌘ V)18:39
alexandrelevineSorry :)18:39
alexandrelevineThat's a wrong copy-paste.18:39
alexandrelevineFurther capabilities could conceivably be useful and should be kept in mind when designing the code in order to minimize rework if they're ever desired in the future, but are out of scope for this spec.18:39
alexandrelevine2. I usually try to design the minimal set which is extentable to where we want to go. No further entities or properties to appear until they are really proven to be needed.18:40
alexandrelevineThat's why Role is not exactly needed for our current situation and for some long time, keeping in mind speed of RefStack development so far.18:40
alexandrelevine3. The suggested model relies on generic Groups of Users which are associated with Organization (one to one) providing a Group of Admins.18:41
alexandrelevine4. When we come to this. The model can be enhanced to accommodate regular users per Vendor by adding another built-in Users Group to Organization. No problems with DB or upgrade.18:42
alexandrelevine5. Alternative model can exist as suggested by Catherine where we don't have generic Groups but rather have Organization_Users table where each User has a Role.18:42
alexandrelevineI don't like this model for two reasons:18:42
alexandrelevinea) It leaves us with an unused rudiment for a long time18:43
alexandrelevineb) It leaves us without generic and common solution for groups-users-companies which is proven to be very extendable and easy to understand and manage.18:43
alexandrelevineI'm not against it completely, though but I don't see why we need this additional  complications now. We18:44
alexandrelevineWe're spending lots of time just talking about this potential prospective marginal use-case when we have lots of things to do.18:44
alexandrelevineFinished.18:44
sslypushenkoPretty clear point of view! thx!18:45
sslypushenkoBut why do you think that generic users will be an rudiment?18:45
catherineDI suggest we response to alexandrelevine: 's one point of a time ... each of us will take the floor and mark finish as alexandrelevine: had done18:46
alexandrelevineIt is now18:46
catherineDwho want to have the floor for point 1 ?18:46
sslypushenkocatherineD: ok.. Your turn)18:46
alexandrelevineUntil this prospective use-case which might not come to being even by Mark's estimations will be needed, it's a rudiment. And there is a high probability when we come to this, the reqs for roles become completely different altogether - for example much more complex18:47
catherineDok I will mark when I finish18:47
catherineDpoint 1 in Mark's https://review.openstack.org/#/c/226902/4/specs/proposed/vendor_result_validation.rst line 79 ... He remind us to keep  in mind when designing the code 'in order to minimize rework' if they're ever desired in the future18:48
catherineDI know from my own experience that we need a read only role ...18:49
catherineDI know that Rocky in her company needed this feature ...18:49
catherineDas said, all I want to suggest now is that we add this ROLE column and set it to ADMIN.... I do not see that we keep a path for us to have an easy upgrade in the future.18:50
catherineDdone for point 1 ....  sslypushenko: you will be next on this point?18:51
alexandrelevineHold on.18:51
alexandrelevineLet me reply.18:51
sslypushenkoalexandrelevine: yes18:51
catherineDalexandrelevine: go ahead18:52
sslypushenkoI just have +1 for catherineD's responce18:52
alexandrelevineIt's actually easy. Requirements aren't determined by us. I don't invent them. I rely on them. Mark has supposedly collected them even from Rocky.18:52
alexandrelevineIf he says that this is a "potential" requirement for the future then it is.18:52
alexandrelevineIf we don't believe him let's bring this up and ask Rocky or whoever. If they make this a first-class use-case for now I'll redesign right away.18:53
alexandrelevineRequirements tend to change drastically - all of you know that.18:53
alexandrelevineLet's not rely on having this one staying unchanged for another year.18:53
alexandrelevineAnd my suggested solution doesn't prohibit it - I explained the way to accommodate it any time.18:54
alexandrelevineFinished.18:54
catherineDgreat system in marking finished :-) who want to go next?18:55
catherineDwe are still on point 118:55
sslypushenkohmmm18:55
pvaneckI think just proceed without explicit roles for now since we'll be giving everyone admin roles to begin with if we do have roles.18:56
pvaneck Implicit admin roles given by the org group is enough for now.18:56
pvaneckI don't think read-only access is a big deal for the time being with everything else not currently implemented.18:56
pvaneckAdding a role column or a user_group column are both straightforward future additions.18:56
sslypushenkoI don't see a big point to discuss here... alexandrelevine do you agree that we can leave with single role for now?18:56
alexandrelevinepvaneck: exactly18:56
alexandrelevinesslypushenko: I agree as long as we don't have the word Role anywhere, including DB :)18:57
sslypushenkoBecause it looks like we stuck on things which is just a matter of taste18:58
catherineDI suggest we vote ...18:58
alexandrelevinesslypushenko: Close to this but not quite. :)18:58
sslypushenkocatherineD: please no)18:58
catherineDto keep a column in the user-group relationship table ...18:58
catherineDsslypushenko: so do not vote?18:59
sslypushenkowe should all get agreed on same point18:59
catherineDif it is a matter of taste and style then people are different ...18:59
sslypushenkoit will not work if we force part of us to some point of view18:59
sslypushenkoI think we can leave with alexandrelevine suggestion if his suggestion will work for us19:00
catherineDwe always do some of us have to give ... because we are differnet and that is the values of a diverse team ..19:00
sslypushenkoI think it can work for me19:00
sslypushenkocatherineD: Do you have any strict objections here?19:01
catherineDso I see that pvaneck: sslypushenko: alexandrelevine: agree to go without the ROLE attribute for now?19:01
pvaneckyes19:01
catherineDI don't ... It just that each one of us are different and I respect everyone19:02
sslypushenkoalexandrelevine:  is right - RefStack is not widely used product, so we can extend it if it will be necessary19:02
sslypushenkoso lets stick to alexandrelevine point and we will see how it will work for RefStack19:03
sslypushenkocatherineD: so I agree to go without ROLE attribute for now19:04
catherineDso I take that the majority of us agree that no ROLE will be defined in the user-group column and thus no code to handle role19:04
catherineDgood19:04
catherineDalexandrelevine: I guess we do not need to discuss point 2 -4 ?19:05
alexandrelevinelet me check19:05
alexandrelevinecatherineD: yes, no need19:06
catherineDI want to address point 5 ...19:06
catherineDI will mark done when I am done :-)19:06
andrey-mpmy thoughts was: System stores openid everywhere and if we need to find groups we need two queries - firstly we should find id by openid and then find that we need19:08
catherineDfor point 5 ... The spec just want to entertain the idea of built-in user-group ... I create the the spec for us to discuss .. I am not really a fan of it ... so going with group-user is fine with me .. done19:08
catherineDandrey-mp: I mean point 5 of alexandrelevine: 's statement above :-)19:08
alexandrelevinecatherineD: I thought you were talking about the agenda items :)19:09
andrey-mpme too )19:10
catherineDNope but it is OK.  On point 5 of your statement above.  I guess this is an easy one to decide ... do everyone agree that we will create the user-group table and not the org-user table to store the user group relationshop?19:10
sslypushenkocatherineD: agreed19:10
alexandrelevinecatherineD: Can't we just name it Groups table?19:10
alexandrelevinecatherineD: We'll have Organizations, Users, Groups.19:11
catherineDI am refering to  the user-to-group table  in https://review.openstack.org/#/c/268929/2/refstack/db/migrations/alembic/versions/319ee8fe47c7_create_group_table.py19:12
alexandrelevinecatherineD: No, my bad. You're right.19:12
catherineDnot the Group table itself19:12
catherineDpvaneck: ?19:12
pvanecksure19:13
catherineDgreat ... now back to the agenda item 1.1.5 ...19:14
catherineDUsing id which is an int and primary index vs openid which is using everywhere as andrey-mp: had pointed out19:15
sslypushenkothe main issue here that user should be allowed to change openid19:16
sslypushenkoif we allowed that we should keep things as is19:16
alexandrelevinesslypushenko: That sucks.19:17
catherineDsslypushenko: openid is not our control right?19:17
andrey-mphm, user can't change openid - with new openid it will be a new user as I understand...19:17
alexandrelevinesslypushenko: How does it work at all? Is there no unique unchangeable ID for user? How is he traced to his previous openid in all of the object where it's stored?19:17
sslypushenkounfortunately we should work with openstackid implementation of openid19:18
alexandrelevinesslypushenko: Isn't andrey-mp: correct here? I also don't understand how it'd work19:18
sslypushenkoand it might have some limitation19:18
alexandrelevinesslypushenko: But how does it work for openstackid? How everything traces the user afterwards?19:19
sslypushenkonow it is does not work at all)19:19
sslypushenkouser can not change openid19:20
alexandrelevinesounds funny :)19:20
alexandrelevineSo why should we bother?19:20
sslypushenkoactually we can do suggested change19:20
sslypushenkobut firstly we need to check that openstackid will work with this solution19:21
alexandrelevineSo we can rely on it to not be changed, right? Or we cannot?19:21
sslypushenkoas far as I remember openstackid handles email change somewhat tricky...19:22
catherineDJust a time check ... I have a hard stop in 8  mins ...  could you continue the discuss on the items in the agenda ...19:22
andrey-mpand also (right now), meta table contains openid as user identifier19:22
catherineDandrey-mp: you are right19:23
sslypushenkook... let it be so19:23
sslypushenkobut it needs to be rechecked19:23
catherineDI take that the agreement is to use openid ...19:23
sslypushenkoyeap19:23
catherineDnext ite, 1.2.1 on  https://review.openstack.org/#/c/269066/19:24
catherineDdo we need approval? or type is good enought?  sslypushenko: pvaneck: pls see inline comments ..19:24
alexandrelevinecatherineD: This is a table for all Vendors, including hidden ones. We need to differentiate them. I suggest using the "type" instead of approved - more flexible for the future.19:25
catherineDalexandrelevine: I agree19:25
sslypushenko+119:25
pvanecktype is fine19:25
catherineDso we remove the approve column?19:25
andrey-mpwhich types will be defind in code right now?19:25
andrey-mpmmm, or we will change 'approved' to 'type' ?19:26
catherineDright now vendor,  hidden_vendor, foundation19:26
alexandrelevine"Official", "Private"?19:26
alexandrelevineYes, and "Foundation"19:26
catherineDandrey-mp: we should have type already ..19:26
alexandrelevineI don't like hidden_vendor19:27
alexandrelevineprivate is much better19:27
catherineDnp on name the type colomn is int .. constant define by us19:27
catherineDnext 1.2.2 product_id19:28
catherineDso for 1,2,1 we agree to remove 'approve' and use 'type'19:28
alexandrelevineWe need unique_id for each of our entities.19:28
catherineDI think this is a longer discussion ...19:28
catherineDshould we discuss this on Monday?19:28
alexandrelevineToo slow.19:29
catherineDmeanwhile everyone please give your comments19:29
alexandrelevineWe should start developing. In fact we started19:29
catherineDour you can discuss I will check the meeting log ...19:29
catherineDalexandrelevine:yay +++19:29
alexandrelevineBut what's the issue with the product_id? I don't see any19:29
catherineDplease continue without me for now19:29
sslypushenkoalexandrelevine: me too19:30
sslypushenkolets move to the last point19:30
sslypushenkoI also prefer to have properties as meta_table19:31
sslypushenkoinstead of text blob19:31
alexandrelevineLast point: I don't personally care. I did it both ways.19:31
alexandrelevineDo we want to have meta_table for each of the other tables? It's sort of weird.19:32
alexandrelevineMaybe one for all then?19:32
sslypushenkoSo... we agreed to turn this field in to relation on product_meta table19:32
sslypushenko?19:32
alexandrelevineandrey_mp: What do you think?19:32
sslypushenkoif we need to store some attributes... I prefer to have metadata table19:33
pvaneck+1 on meta table for products19:33
alexandrelevinesslypushenko: I don't mind. I don't like multiplying meta tables19:33
sslypushenkoalexandrelevine:  me too but it is mysql(19:33
andrey-mpsslypushenko: so it will be second meta table?19:34
sslypushenkoIt will be much better to have DB in mongo... but it is as it is19:34
alexandrelevinesslypushenko: Then we'll need one for Organizations and one for Users. For sure.19:34
andrey-mpit is not so good )19:34
sslypushenkowhy?19:35
alexandrelevineBecause they'll require some extra properties eventually as well. They always do :)19:35
sslypushenkowe already have enough code to operate meta data stored in key-value table19:35
alexandrelevineAnd we won't want to clutter DB columns with some extensive garbage which should not be indexed or searched for.19:35
sslypushenkohmm... so why we need it at all19:36
alexandrelevineBut you're saying to create product_meta table. Meaning that it'll store extra properties for Products only.19:36
sslypushenkoif we don't plan to search on it?19:36
alexandrelevineWe need to store Tempest config for Clouds, for example.19:36
alexandrelevineWe need it for various blobs or descriptive info19:36
alexandrelevineFor Guidelines we'd want to store json and so on.19:37
sslypushenkoso... I'm ok with having properties field for storing data which should be indexed19:38
andrey-mpand all these object will have 'one-to-many' links for object to meta19:38
andrey-mpbut if we will use one meta table for all it will one huge table with hard indexies...19:38
alexandrelevinesslypushenko: Which "shouldn't" be indexed?19:38
sslypushenkoif we don't have any other properties which requires to be indexed we can live without meta table for now19:39
alexandrelevinesslypushenko: Fine by me. Just an XML for any extra which is not searcheable19:39
sslypushenkojson)19:39
sslypushenkoNOT xml) please)19:39
alexandrelevinesslypushenko: Yes. Sorry :)19:39
sslypushenkogood... so we come to common point on all questions, right?19:40
pvaneckyea, i can see why a properties field would be preferable now. let's stick with that then19:40
alexandrelevineI think so19:40
andrey-mpgood!19:41
sslypushenkogreat! Anyone have something to add?19:41
alexandrelevinenope19:41
andrey-mpI'll rework reviews tomorrow and add some code to the second one19:41
alexandrelevineandrey-mp: perfect. Thahk you :)19:41
sslypushenkocool!19:41
pvaneckthink we are all good. :)19:41
andrey-mpbut i made one more review - https://review.openstack.org/#/c/268064/19:42
andrey-mpit is not about surrent agenda19:42
andrey-mpit is about UI optimization )19:42
alexandrelevineI think this one will be reviewed inside it, ok?19:42
sslypushenko) pvaneck can you review it, please?19:42
pvaneckI'll merge that19:43
sslypushenkothx!19:43
andrey-mpthank you!19:43
alexandrelevineOk. Then. Thank you and bye19:43
sslypushenkoso... I think we do a great job today... thank you all)19:43
sslypushenkobye19:43
*** alexandrelevine has quit IRC19:43
andrey-mpbye19:44
*** andrey-mp has quit IRC19:44
openstackgerritMerged openstack/refstack: Remove unused JS from UI  https://review.openstack.org/26806419:49
*** dwalleck has joined #refstack20:43
openstackgerritCatherine Diep proposed openstack/refstack: Specification to add user/group support in RefStack  https://review.openstack.org/26989322:32
openstackgerritCatherine Diep proposed openstack/refstack: Specification to add user/group support in RefStack  https://review.openstack.org/26989322:35
*** davidlenwell has quit IRC22:37
*** davidlenwell has joined #refstack22:38
*** ChanServ sets mode: +o davidlenwell22:38

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!