Monday, 2016-01-25

*** hogepodge has joined #refstack01:34
*** hogepodge has quit IRC01:38
*** markvoelker has joined #refstack01:42
*** markvoelker has quit IRC01:46
*** Deng has joined #refstack03:20
*** markvoelker has joined #refstack03:43
*** markvoelker has quit IRC03:47
*** coolsvap|away is now known as coolsvap05:19
*** markvoelker has joined #refstack05:44
*** markvoelker has quit IRC05:48
*** pilgrimstack has quit IRC06:40
*** davidlenwell has quit IRC07:00
*** davidlenwell has joined #refstack07:02
*** ChanServ sets mode: +o davidlenwell07:02
*** davidlenwell has quit IRC07:24
*** coolsvap is now known as coolsvap|away07:25
*** davidlenwell has joined #refstack07:26
*** ChanServ sets mode: +o davidlenwell07:26
*** davidlenwell has quit IRC07:29
*** davidlenwell has joined #refstack07:33
*** ChanServ sets mode: +o davidlenwell07:33
*** davidlenwell has quit IRC07:41
*** markvoelker has joined #refstack07:44
*** davidlenwell has joined #refstack07:45
*** ChanServ sets mode: +o davidlenwell07:45
*** markvoelker has quit IRC07:49
*** coolsvap|away is now known as coolsvap08:16
*** markvoelker has joined #refstack09:45
*** markvoelker has quit IRC09:50
*** Deng has quit IRC11:13
*** markvoelker has joined #refstack11:46
*** markvoelker has quit IRC11:51
*** hogepodge has joined #refstack12:27
*** hogepodge has quit IRC12:32
*** pilgrimstack has joined #refstack12:56
*** markvoelker has joined #refstack13:16
*** edmondsw has joined #refstack13:32
*** coolsvap is now known as coolsvap|away13:51
*** resker has quit IRC14:05
*** esker has joined #refstack14:05
*** esker has quit IRC14:05
*** esker has joined #refstack14:24
*** hogepodge has joined #refstack14:28
*** esker has quit IRC14:29
*** hogepodge has quit IRC14:33
*** hogepodge has joined #refstack14:34
*** pilgrimstack has quit IRC15:12
*** pilgrimstack has joined #refstack15:14
*** pilgrimstack has quit IRC15:19
*** pilgrimstack has joined #refstack15:23
*** markvoelker_ has joined #refstack16:01
*** markvoelker has quit IRC16:02
*** markvoelker has joined #refstack16:05
*** esker has joined #refstack16:06
*** markvoelker_ has quit IRC16:07
*** esker has quit IRC16:07
*** esker has joined #refstack16:07
*** pilgrimstack has quit IRC16:38
*** pilgrimstack has joined #refstack16:46
*** catherineD has joined #refstack16:49
openstackgerritMerged openstack/refstack: Specification to add user/group support in RefStack  https://review.openstack.org/26989316:50
openstackgerritMerged openstack/refstack: Create group table.  https://review.openstack.org/26892917:08
openstackgerritAndrey Pavlov proposed openstack/refstack: Implement organization and product tables  https://review.openstack.org/26906617:19
openstackgerritAndrey Pavlov proposed openstack/refstack: WIP: add vendors and products UI  https://review.openstack.org/27218817:19
*** andrey-mp has joined #refstack17:21
*** pilgrimstack has quit IRC17:23
openstackgerritAndrey Pavlov proposed openstack/refstack: Implement organization and product tables  https://review.openstack.org/26906617:26
*** pvaneck has joined #refstack18:41
*** alexandrelevine has joined #refstack18:54
openstackgerritCatherine Diep proposed openstack/refstack: Fix broken links.  https://review.openstack.org/27222418:55
*** openstackgerrit has quit IRC19:02
*** openstackgerrit has joined #refstack19:03
catherineDHello everyone, Please join RefStack IRC meeting at #openstack-meeting-3 going on now ....19:05
*** andrey-mp has quit IRC19:05
*** andrey-mp has joined #refstack19:05
*** pvaneck_ has joined #refstack19:07
*** pvaneck has quit IRC19:10
catherineDsorry meeting is at #openstack-meeting-alt19:11
*** andrey-mp has quit IRC19:12
*** andrey-mp has joined #refstack19:12
*** pvaneck has joined #refstack19:21
*** pvaneck_ has quit IRC19:24
alexandrelevineo/20:00
andrey-mp.20:00
alexandrelevinecatherineD: Please let me know, when do I start the explanation20:01
catherineDI am here ... thx20:01
sslypushenkoI need to go... Will check your discussion later)20:01
catherineDsslypushenko: thx ... please check the log and let us know if you have concern ...20:02
*** rockyg has joined #refstack20:02
rockygo/20:02
catherineDalexandrelevine: andrey-mp: let me phrase the question ?  what would be store in the product_id field for 1) a Software Product  2) a cloud20:03
catherineDrockyg: thank you for joining us ... I am sorry that we keep needed overtime ...20:03
alexandrelevine1) Some GUID, or URL. We haven't decided yet for the Software. If we decide that the name should be unique anll have to decide what this isd unchangeable it can be the name duplicated there. Three should be a unique id for each Software. We'20:04
alexandrelevineWe'll have to decide what this is20:04
alexandrelevine2) cpid for OpenStack cloud; most probably "http://www.aws.com" for Amazon; "http://www.gce.com" for Google, etc (I might be mistaken in exact urls)20:05
rockygcatherineD, not a problem ;-)  I'm finally getting back into my projects, so I need to catch up anyway.20:06
catherineDso different types of data can be stored in this field ... do we care ?20:06
alexandrelevinecatherineD: So you don't need the question how Software Product is associated with Cloud answered?20:06
catherineDalexandrelevine: I do but I want to ask the question in a different way so you can see my point20:07
alexandrelevinecatherineD: It's Unique Identifier of String format. That's all we should know about it in terms of its nature.20:07
alexandrelevineWe have various Clouds and Software Products as Products. We'll store them in Product table. Each of them should have a unique id. That's that.20:08
catherineDso right now we have the ID field (which is UUID), we have name (which may not be unique because of mix cases) ... is that enough to identify a cloud .. why do we need an other ID namely Product_ID20:09
catherineDalexandrelevine: each of the record would have a UUD is that not enough for product uniqueness?20:10
alexandrelevineAgain. ID which is UUID is not a place we'll store cpid for OpenStack cloud, correct?20:10
catherineDalexandrelevine: then we go back to the question that the product_id will stor CPID?20:10
alexandrelevineWhat's absent in this table, actually, is the "type" field, which will state what's that - Software Product or a Cloud20:10
catherineDwhy don't we name it CPID?20:11
alexandrelevinecatherineD: If product_id stores CPID then it'll store all of the other Product IDs. What I'm saying is that I don't really care where unique ID is store, it's just it should be stored in the same place for all of the Products.20:11
catherineDalexandrelevine: let's explore the 'type' filed idea ...20:11
alexandrelevinecatherineD: Such a unique ID for OpenStack Cloud is cpid in the moment. So wherever it's stored in the table - Software Product ID and Public Cloud ID should be stored in this same field20:12
alexandrelevinecatherineD: "type" would be required to select Clouds out of Products, for example.20:13
catherineDis the field ID (UUID) not enough?20:13
alexandrelevinecatherineD: Will it store cpid?20:13
alexandrelevinecatherineD: Is it suitable for storing URLs?20:13
catherineDno it is RefStack generated UUID20:14
alexandrelevinecatherineD: Then it doesn't satisfy my statement that the unique id field should store cpid and other unique ids. No, uuid cannot be used then.20:14
alexandrelevinecatherineD: Maybe I'm missing your point, or something?20:15
alexandrelevinecatherineD: I don't quite understand the problem again :)20:15
catherineDalexandrelevine:  ok so you need a field which is user input and unique?20:15
alexandrelevinecatherineD: I didn't say anything about "user input"20:16
catherineDhow do you get the content of this field?20:16
alexandrelevinecatherineD: No, I'd rather hope that it's an automatically determined unique id. You can't rely on user input in the case.20:16
alexandrelevinecatherineD: How do you get cpid?20:17
alexandrelevinecatherineD: That's how20:17
catherineDcpid -> refstack generate the cpid base on user input url ... it is still a user input .. we can not guarantee the uniqueness20:18
alexandrelevinecatherineD: I had a different understanding. That it's automatically determined by means of querying keystone or its urls. Isn't it?20:18
alexandrelevinecatherineD: Please read the section CloudID in the Requirements doc.20:19
alexandrelevinecatherineD: It's important that everything is determined automatically. Otherwise we can't trust it.20:19
catherineDalexandrelevine: yes and no  ... yes because it is taken from tempest config (so it must ve valid or we can not run test) .. no because it is not from keystone20:20
catherineDalexandrelevine: I think we get the point I want to discuss that is what is this field ... what is it for Clouds , Software Product20:21
alexandrelevinecatherineD: Ok, isn't cpid the hashed keystone endpoint?20:21
catherineDalexandrelevine: it is a keystone endpoint input by the user in the form of tempest.conf20:21
catherineDit is still a user input but it must be valid20:22
catherineDhowever, we can not guarantee uniqueness ..20:22
alexandrelevinecatherineD: Correct, however, it is verified by us going there and communicating and authenticating with that keystone. So it's good and can be trusted.20:22
catherineDalexandrelevine: correct ...20:23
alexandrelevinecatherineD: What do you mean we can't?20:23
catherineDbecause when testing on-premis ... you can build a cloud with https://192.168.56.1:5000/v2.0 and I can use the same URL too ..20:24
catherineDon-premise20:24
catherineDthose are private IP that anyone can use20:25
*** alexandrelevine_ has joined #refstack20:25
catherineDhowever the URL of the publicly accessible cloud would be unique ...20:25
alexandrelevine_Sorry. Got kicked out.20:25
alexandrelevine_Ok. So, even if you reinstall devstack on the same machine you'll get different keystone enpoints, right?20:26
catherineDyes20:26
catherineDdepending on how you want to config it ... that is what ip you want to use20:26
alexandrelevine_ip is the same20:27
catherineDin devstack it is20:27
catherineDbut if I build a cloud .. I will have to define what ip to use for my cloud ..20:27
*** alexandrelevine has quit IRC20:27
alexandrelevine_And?20:28
catherineDone identical URL can be used by more than one clouds20:28
alexandrelevine_How is this possible? Give me an example.20:29
catherineDin my private VLAN , I build a cloud using URL https://192.168.56.1:5000/v2.0 as my keystone URL .... in Huawei, rockyg: could build a cloud using the same url ...20:30
catherineDpotentially , we both can send data up to RefStack with identical URL ...20:31
alexandrelevine_You're welcome to have your private clouds but you won't be able to register them as Products in central RefStack in this case.20:31
catherineDRocky and I won't have IP conflict because we both operating in our private VLAN20:32
alexandrelevine_You will. In RefStack20:32
catherineDwe allow user to upload data today ... there is no where that we enforce that all URLs are unique20:33
alexandrelevine_Or we'll have to use GUIDs of Keystone if any such exists to uniquelly identify cloud.20:33
alexandrelevine_That's the problem of current design.20:34
catherineDalexandrelevine_: you won't be able to get keystone id from public cloud20:34
alexandrelevine_Unless we guarantee uniqueness and automatic differentiation of your two clouds we can't allow you to upload or register nothing more than test results which are now not associated with any product - they hang in the air.20:34
alexandrelevine_catherineD: I'll deal with the non-OpenStack clouds, no problem. We know how.20:35
catherineDcatherineD: most of public clouds requires admin credential for that20:35
alexandrelevine_catherineD: Or are you talking about public OpenStack clouds?20:35
catherineDI am talking about OpenStack public cloud ..20:36
alexandrelevine_Very good then. It means that legit results can come from a user with admin creds only.20:36
alexandrelevine_There is no way you can do it otherwise.20:36
catherineDalexandrelevine_: yea that is why the URL is used ...20:36
alexandrelevine_You need to correctly identify the cloud being tested.20:36
alexandrelevine_catherineD: Url is not sufficient.20:37
catherineDback to our question ..20:37
catherineDif you still want to keep the product_id field ..20:37
alexandrelevine_Anyways. There is the following constraint that should be satisfied: The cloud ID should be globally unique and automatically determined (from tempest config or from the cloud itself)l20:38
alexandrelevine_catherineD: Product_ID is just a place to store.20:38
alexandrelevine_catherineD: What I need is a uniquely defined ID.20:38
alexandrelevine_Forget about Product ID field. We can name it however we want. Forget about the DB. Let's decide upon the concept. Each Product should be correctly identified. How do we do it?20:39
catherineDfrom our system it would be UUID20:40
alexandrelevine_Where does it come from?20:40
catherineDthe next thing is and ID based on URL20:40
catherineDthe URL will guarantee to be unique in a cloud registerd for centralized test20:41
alexandrelevine_It's not good enough.20:42
catherineDcentralized test means RefStack initiates the test ... therefore the URL have to be unique20:42
rockygcatherineD, no clue about how huawei works their products.  They don't communicate about products with our R&D20:42
alexandrelevine_I don't make difference between centralized or local testing. There should be no difference in fact.20:42
alexandrelevine_Where does UUID come from?20:43
catherineDalexandrelevine_: you understand I I raise the question ... we can keep the field but we just know what to store in it and how we use it ..20:43
catherineDUUID is generated automatically20:43
catherineDwe can check which python lib we are using ... but it is guaranteed to be unique20:44
alexandrelevine_catherineD: Where does UUID come from?20:44
alexandrelevine_catherineD: Is RefStack generating it? Is it in any way connected to the Cloud at all?20:45
catherineDyes RefStack generated UUID ...20:45
alexandrelevine_catherineD: It's not connected to the Cloud at all, correct?20:45
catherineDyou can not connect to the cloud with it ...20:45
alexandrelevine_catherineD: Perfect. Then it doesn't help us, we as well can drop it.20:46
alexandrelevine_catherineD: So we need to define a unique ID which IS connected to Cloud.20:46
alexandrelevine_catherineD: It can be the URL, however it'll mean that no private Clouds with the same URLs will be registered in the RefStack.20:47
catherineDit does not help to connect to a cloud but it is a unique field to identify a row in a db20:47
alexandrelevine_catherineD: I understand. That's what I thought. Now, let's try to forget about the DB altogether and think about the concept.20:47
catherineDwe can not drop the ID field it is also our primary key20:47
alexandrelevine_catherineD: Ok, ok. Let's suppose we drop the DB and use big JSON to store everything. Let's not rely on the storage layer. We need to understand how it works in the Object Model.20:49
catherineDI have a meeting in 12 mins ... we can keep this field in there ... I just want us to have some thouights about the issue20:49
catherineDalexandrelevine_: that would be a bigger issue to drop the database ..20:49
alexandrelevine_catherineD: Please reread the CloudID section in the Reqs doc and let me know when we can talk about it more.20:49
catherineDI don't think it is realistic20:50
catherineDok ..20:50
alexandrelevine_catherineD: I'm not talking to drop it for real. I'm saying we should think independently of storage layer.20:50
catherineDalexandrelevine_: sure ... sorry I have to go ..... thank you very very much!!!!20:51
alexandrelevine_Thank you. Bye.20:51
catherineDrockyg: thx!20:51
catherineDandrey-mp: thx20:51
andrey-mpbye!20:52
*** andrey-mp has quit IRC20:52
*** alexandrelevine_ has quit IRC20:52
rockygHey, guys!  don't know if any of you ar still around.  So, I get what is being said ...If implementation is changed, how would you implement the concept....but, I'll take this offline with Catherine.20:57
*** davidlenwell has quit IRC21:16
*** davidlenwell has joined #refstack21:18
*** ChanServ sets mode: +o davidlenwell21:18
* rockyg waves to davidlenwell!21:40
*** davidlenwell has quit IRC21:55
*** davidlenwell has joined #refstack21:56
*** ChanServ sets mode: +o davidlenwell21:56
davidlenwellhi rockyg22:12
rockygHow's life?22:12
*** davidlenwell has quit IRC22:34
*** davidlenwell has joined #refstack22:36
*** ChanServ sets mode: +o davidlenwell22:36
catherineDdavidlenwell: hello22:38
davidlenwelllifes good .. officially an employee of HPE22:49
davidlenwellon the Ironic team22:49
catherineDdavidlenwell: Congrats!!22:50
davidlenwellthanks!22:52
davidlenwellsadly I am not going to have a lot of time for refstack22:53
catherineDdavidlenwell: :-(22:53
rockygAh, well.  but, a solid position and some fun stuff happening in Ironic.  Cool.22:59
rockygAnd congratz!22:59
davidlenwellthanks!   I can still help out from time to time.. but it will be more of how the last cycle was23:00
*** rockyg has quit IRC23:18
*** edmondsw has quit IRC23:47

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