13:30:34 #startmeeting openstack search 13:30:35 Meeting started Mon Feb 11 13:30:34 2019 UTC and is due to finish in 60 minutes. The chair is dangtrinhnt. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:30:36 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:30:38 The meeting name has been set to 'openstack_search' 13:30:52 thuydang, sapd1_ meeting time :) 13:31:13 Hi 13:31:48 hi, sapd1_ are you there? 13:34:18 ok, let's start with the #topic Denver summit demos 13:34:24 https://etherpad.openstack.org/p/search-team-meeting-agenda 13:34:38 #topic Denver summit demos 13:35:17 thuydang, do you have any update on this? 13:35:22 sapd1, hi 13:35:34 https://storyboard.openstack.org/#!/story/2004840 13:35:36 There is no update for the demo on my side. I was quite busy. 13:35:46 hi 13:35:49 ok, me too for the last 2 weeks. 13:36:11 I will work on it this week 13:36:34 Ah, I added some task to the storyboard link above. 13:36:36 yes. Because I was on holiday last week. 13:36:48 sapd1, could you please give me some screenshots of what you mentioned in the story? https://storyboard.openstack.org/#!/story/2004840 13:37:21 thuydang, sapd1, yeah It 13:37:35 It's the Lunar New Year for us :D 13:38:27 no worries, as long as I have a better understanding of what sapd1's idea, I can start working on it, properly before the Stein-3 milestone 13:38:29 @dangtrinhnt which screenshots? 13:39:02 dangtrinhnt: You mean mock screenshot. 13:39:10 sapd1, yeah 13:39:20 or something like that 13:40:04 dangtrinhnt: I will draw a diagram for that. maybe tomorrow, Have you guys tried setup keystone-to-keystone yet? 13:40:44 not yet 13:40:54 I could start 1 devstack 13:40:56 sapd1, thanks. No, I don't have the resource for that, maybe trying to borrow some server somewhere. 13:41:14 do you think testing with 2 devstack is a good idea? 13:41:27 thuydang, that's good enough for the demo I think 13:41:38 dangtrinhnt: You can try with 2 small server, with only keystone and glance are installed. 13:41:45 that's enough 13:41:53 ok, sounds reasonable. Thanks. 13:42:21 I have to increase timeout when installing on my laptop 13:42:22 #link https://docs.openstack.org/keystone/pike/advanced-topics/federation/configure_federation.html 13:42:45 thuydang, what timeout you're talking about? 13:42:55 devstack has a timeout setting 13:43:13 otherwise it crashes when some service takes too long to start up 13:43:23 glance in my case 13:43:44 ah, ok, cause normally devstack still eats lots of memory. I have to run inside a 16GB machine 13:44:20 I used a VM with 8G 13:44:22 with keystone-2-keystone I think We don't need to use devstack. 13:44:38 I will write Dockerfile and docker-compose for that. 13:44:48 2 keystone containers and 2 mariadb containers 13:45:00 I think 13:45:26 sapd1, but how can you have Searchlight and other needed services? 13:45:27 just test the api and access token right? 13:46:44 sapd1, your proposed method just for testing keystone-2-keystone federation right? 13:46:45 We can run in container too :D 13:47:13 We can run every services in container. 13:47:32 I may try with Kolla but Kolla need at least 2 network interfaces 13:47:49 and it crashes every time :) 13:48:05 ok, let me try and get back to you guys at the end of this week. 13:48:24 let's draw a diagram for understanding 13:48:38 dangtrinhnt: I will give you my Dockerfile of searchlight and keystone too 13:48:47 sapd1, that would be awesome 13:49:13 you can even commit a patch set to put it inside searchlight repo 13:49:25 anything else about the demos? 13:49:52 thuydang, sapd1 13:49:52 let discuss about keystone-2-keystone. 13:49:53 I think we should provide diagrame of the workflow 13:50:44 assume we have 3 keystone services - let's say: keystone-idp, keystone-sp1, keystone-sp2 13:50:59 ok 13:51:01 idp - identity provider , sp - service provider 13:51:24 e.g., for sp is glance, etc? 13:51:40 no, 13:51:56 sp is another openstack cluster 13:52:43 so on keystone-idp we can see sp1 and sp2 then we can search in 3 openstack clusters - 13:52:45 I thought each openstack cluster has 1 keystone holding OS services endpoints 13:53:16 ok, that means 1 OS will be the idp 13:53:28 thuydang, this will explain https://docs.openstack.org/keystone/pike/advanced-topics/federation/configure_federation.html 13:53:47 but on sp1 and sp2, they only can see idp 13:54:26 so the problem here is when user switch to sp1 or sp2, how he/shee can search in other service provider. 13:55:07 sapd1, ok, I think there is a way in Searchlight to indicate the cluster that you're searching 13:55:43 *she 13:56:29 in my environment, we don't create users in service provider. 13:56:51 Tenant should be able to add her other SP right? 13:57:17 So I think this user can re-authenticate with idp and search. 13:57:54 what do you mean? thuydang 13:58:12 If we use the centralized authentication like this, things should be simple. Just need to indicate the tenant ID when querying resources 13:58:44 dangtrinhnt: yeah. 13:59:02 but with k2k, We have local tenant id and remote tenant id 13:59:19 I'm not sure if it's possible right now but logically, it's the way. Something likes searchlight.query(resource_type='NOVA_SERVER', tenant_id='abc') 13:59:19 so the idp knows about a tenant's resources in all SP clusters? 13:59:56 dangtrinhnt: Cool, tenant_id='local_abc|remote_cdf' 14:00:02 thuydang, no 14:00:29 thuydang: It's a mapping. 14:00:30 idp just stores the identities, for tenant resources, searchlight will use its plugins to query 14:00:56 thuydang: map tenant_A in idp with tenant_B in sp1 14:01:05 s/with/to 14:01:59 that's whtat I mean 14:02:29 sapd1, I think what you meant is Idp for Searchlight to authenticate against the tenants 14:02:38 how can the mapping be done? somewhere we must specify that tenant_A in idp is tenant_B in sp1 14:03:17 dangtrinhnt: sorry, as design, we will run searchlight service and ES as well in all openstack clusters. So we will search through searchlight-api 14:04:05 Let's put it like this: 14:04:16 we have 2 clusters with searchlight installed 14:04:50 the problem is using searchlight in 1 cluster to search in the other, right? 14:05:31 thuydang: yep 14:05:43 so you have multiple ES instances? 14:05:57 I thinks so 14:06:23 because the clusters belonging to multiple SPs may have nothing to do with each other 14:06:33 OS- AWS for example 14:06:44 and so is OS - OS 14:06:59 Then, each SL instance will use the other tenant's SL-api to query the other tenant's resources? 14:07:18 Yes, I thinks so 14:07:29 wow, that not scales :) 14:07:38 why? 14:08:10 thuydang: https://github.com/openstack/keystone/blob/master/keystone/federation/backends/sql.py mapping table in sql database 14:08:22 dangtrinhnt: Yep. I understand 14:08:41 for every new tenant you want to search, you have to say somewhere the searchlight-api endpoints 14:08:54 thuydang: When we have many many openstack clusters, So we have to go to every endpoint to search. 14:09:03 I don't think so 14:09:46 at worst case we only search in the cluster the tenant has access right? 14:10:40 we have to try to authenticate. Because the mapping is created in SP side. 14:12:33 ok, I think we will have a better view with drawing :) 14:12:36 sure, the tennant must provide credential for each of his cluster, which is used by SL to authenticates 14:13:05 yes, let's have anothe meeting for this discussion 14:13:37 let's move on with other topics 14:13:48 yeah 14:13:59 ok, looks like the topic gets some interesting points :) 14:14:14 #topic Functional tests for Searchlight in Py3 14:14:39 ok, the TC is checking our progress with python 3 functional tests 14:15:12 Over the last couple months, I added the python 3 tests for unit and functional tests 14:15:54 looks like it's acceptable compare to other projects 14:15:55 #link https://wiki.openstack.org/wiki/Python3 14:16:12 I updated the documents yesterday 14:16:37 do we have to migrate searchlight api to python3? 14:17:04 I think SL is py3 compatible 14:17:15 it passes the python3 tests 14:17:30 but the thing here is our test coverage is low, only 70 something 14:18:09 I would like to increase the test coverage to 90 something in the RC milestone 14:18:35 it means we need to add more tests and maybe we can separate the functional tests with Zuul 14:18:39 and tempest 14:19:45 I'm not familiar with testing and will have to learn first :-) 14:19:56 something like this https://github.com/openstack/tacker/blob/master/.zuul.yaml 14:20:18 with zuul, we can set our test env and dependencies :) 14:20:32 anyway, it's for the next milestone 14:20:37 and only if we have time :D 14:20:47 thuydang: me too 14:21:11 no worries, it's just a good-to-have feature. 14:21:16 we will try to cover testing with our new features 14:21:27 ok, I guess we can move on to the next topic? 14:21:31 ok 14:21:39 #topic TC vision reflection: 14:22:19 as you may now the OpenStack leadership has published a vision at #link https://governance.openstack.org/tc/reference/technical-vision.html 14:22:49 It's good to align our works with the TC vision 14:22:58 good practice 14:23:05 we can learn from other projects 14:23:06 I agree 14:23:20 https://etherpad.openstack.org/p/nova-tc-vision-self-eval 14:23:27 https://review.openstack.org/#/c/629060/ 14:23:33 https://review.openstack.org/#/c/630216/ 14:23:43 they're doing the reflection 14:24:32 dangtrinhnt: I will read it later. 14:24:52 ok, I started a new etherpad 14:24:54 https://etherpad.openstack.org/p/-tc-vision-self-eval 14:25:34 we will do about 3 weeks to 9 Mar. to put ideas to the pad and I will commit a doc change 14:26:12 Please help us to evaluate our works against the TC vision. :) 14:27:45 dangtrinhnt: yeah. 14:28:12 You're welcomed to put your concerns, ideas, issues, solution, etc... 14:28:50 ok, time up. Anything else you want to discuss? 14:29:07 nope :D 14:29:19 ah, btw, we will have the Denver summit vote results in mid of Feb (around 15th I guess) 14:29:45 for the SIG 14:29:47 PTG too. 14:29:55 ok 14:30:12 Let's do some survey on related groups 14:30:22 +1 14:30:32 then we will have better view of the vision and scope 14:30:50 ok, I noted down 14:31:14 there is probably overlaping scope 14:31:29 +1 14:31:34 one promising benefit of the SIG is we will make SL more relevant and more reason to live on 14:31:41 thuydang, agree 14:32:58 ok, time up. We can discuss about it more later. 14:33:05 ok 14:33:22 Thanks for joining the meeting today :) 14:33:53 Bye 14:33:54 #endmeeting