Monday, 2019-02-11

*** sapd1 has joined #openstack-searchlight01:38
dangtrinhntGuys, today we will have the team meeting at 13:30 UTC today in this channel. Please look at the etherpad for the agenda: https://etherpad.openstack.org/p/search-team-meeting-agenda02:03
dangtrinhntEveryone are welcomed to put ideas02:09
sapd1dangtrinhnt: yeah03:04
*** sapd1 has quit IRC11:37
*** thuydang has joined #openstack-searchlight12:33
dangtrinhnt#startmeeting openstack search13:30
openstackMeeting 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
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.13:30
*** openstack changes topic to " (Meeting topic: openstack search)"13:30
openstackThe meeting name has been set to 'openstack_search'13:30
dangtrinhntthuydang, sapd1_ meeting time :)13:30
thuydangHi13:31
dangtrinhnthi, sapd1_ are you there?13:31
dangtrinhntok, let's start with the #topic Denver summit demos13:34
dangtrinhnthttps://etherpad.openstack.org/p/search-team-meeting-agenda13:34
dangtrinhnt#topic Denver summit demos13:34
*** openstack changes topic to "Denver summit demos (Meeting topic: openstack search)"13:34
*** sapd1 has joined #openstack-searchlight13:34
dangtrinhntthuydang, do you have any update on this?13:35
dangtrinhntsapd1, hi13:35
dangtrinhnthttps://storyboard.openstack.org/#!/story/200484013:35
thuydangThere is no update for the demo on my side. I was quite busy.13:35
sapd1hi13:35
dangtrinhntok, me too for the last 2 weeks.13:35
dangtrinhntI will work on it this week13:36
thuydangAh, I added some task to the storyboard link above.13:36
sapd1yes. Because I was on holiday last week.13:36
dangtrinhntsapd1, could you please give me some screenshots of what you mentioned in the story? https://storyboard.openstack.org/#!/story/200484013:36
dangtrinhntthuydang, sapd1, yeah It13:37
dangtrinhntIt's the Lunar New Year for us :D13:37
dangtrinhntno 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 milestone13:38
thuydang@dangtrinhnt which screenshots?13:38
sapd1dangtrinhnt: You mean mock screenshot.13:39
dangtrinhntsapd1, yeah13:39
dangtrinhntor something like that13:39
sapd1dangtrinhnt: I will draw a diagram for that. maybe tomorrow, Have you guys tried setup keystone-to-keystone yet?13:40
thuydangnot yet13:40
thuydangI could start 1 devstack13:40
dangtrinhntsapd1, thanks. No, I don't have the resource for that, maybe trying to borrow some server somewhere.13:40
thuydangdo you think testing with 2 devstack is a good idea?13:41
dangtrinhntthuydang, that's good enough for the demo I think13:41
sapd1dangtrinhnt: You can try with 2 small server, with only keystone and glance are installed.13:41
sapd1that's enough13:41
dangtrinhntok, sounds reasonable. Thanks.13:41
thuydangI have to increase timeout when installing on my laptop13:42
sapd1#link https://docs.openstack.org/keystone/pike/advanced-topics/federation/configure_federation.html13:42
dangtrinhntthuydang, what timeout you're talking about?13:42
thuydangdevstack has a timeout setting13:42
thuydangotherwise it crashes when some service takes too long to start up13:43
thuydangglance in my case13:43
dangtrinhntah, ok, cause normally devstack still eats lots of memory. I have to run inside a 16GB machine13:43
thuydangI used a VM with 8G13:44
sapd1with keystone-2-keystone I think We don't need to use devstack.13:44
sapd1I will write Dockerfile and docker-compose for that.13:44
sapd12 keystone containers and 2 mariadb containers13:44
sapd1I think13:45
dangtrinhntsapd1, but how can you have Searchlight and other needed services?13:45
thuydangjust test the api and access token right?13:45
dangtrinhntsapd1, your proposed method just for testing keystone-2-keystone federation right?13:46
sapd1We can run in container too :D13:46
sapd1We can run every services in container.13:47
dangtrinhntI may try with Kolla but Kolla need at least 2 network interfaces13:47
dangtrinhntand it crashes every time :)13:47
dangtrinhntok, let me try and get back to you guys at the end of this week.13:48
thuydanglet's draw a diagram for understanding13:48
sapd1dangtrinhnt: I will give you my Dockerfile of searchlight and keystone too13:48
dangtrinhntsapd1, that would be awesome13:48
dangtrinhntyou can even commit a patch set to put it inside searchlight repo13:49
dangtrinhntanything else about the demos?13:49
dangtrinhntthuydang, sapd113:49
sapd1let discuss about keystone-2-keystone.13:49
thuydangI think we should provide diagrame of the workflow13:49
sapd1assume we have 3 keystone services - let's say: keystone-idp, keystone-sp1, keystone-sp213:50
dangtrinhntok13:50
sapd1idp - identity provider , sp - service provider13:51
thuydange.g., for sp is glance, etc?13:51
sapd1no,13:51
sapd1sp is another openstack cluster13:51
sapd1so on keystone-idp we can see sp1 and sp2 then we can search in 3 openstack clusters -13:52
thuydangI thought each openstack cluster has 1 keystone holding OS services endpoints13:52
thuydangok, that means 1 OS will be the idp13:53
dangtrinhntthuydang, this will explain https://docs.openstack.org/keystone/pike/advanced-topics/federation/configure_federation.html13:53
sapd1but on sp1 and sp2, they only can see idp13:53
sapd1so the problem here is when user switch to sp1 or sp2, how he/shee can search in other service provider.13:54
dangtrinhntsapd1, ok, I think there is a way in Searchlight to indicate the cluster that you're searching13:55
sapd1*she13:55
sapd1in my environment, we don't create users in service provider.13:56
thuydangTenant should be able to add her other SP right?13:56
sapd1So I think this user can re-authenticate with idp and search.13:57
sapd1what do you mean? thuydang13:57
dangtrinhntIf we use the centralized authentication like this, things should be simple. Just need to indicate the tenant ID when querying resources13:58
sapd1dangtrinhnt: yeah.13:58
sapd1but with k2k, We have local tenant id and remote tenant id13:59
dangtrinhntI'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
thuydangso the idp knows about a tenant's resources in all SP clusters?13:59
sapd1dangtrinhnt: Cool, tenant_id='local_abc|remote_cdf'13:59
dangtrinhntthuydang, no14:00
sapd1thuydang: It's a mapping.14:00
dangtrinhntidp just stores the identities, for tenant resources, searchlight will use its plugins to query14:00
sapd1thuydang: map tenant_A in idp with tenant_B in sp114:00
sapd1s/with/to14:01
thuydangthat's whtat I mean14:01
dangtrinhntsapd1, I think what you meant is Idp for Searchlight to authenticate against the tenants14:02
thuydanghow can the mapping be done? somewhere we must specify that tenant_A in idp is tenant_B in sp114:02
sapd1dangtrinhnt: sorry, as design, we will run searchlight service and ES as well in all openstack clusters. So we will search through searchlight-api14:03
thuydangLet's put it like this:14:04
thuydangwe have 2 clusters with searchlight installed14:04
thuydangthe problem is using searchlight in 1 cluster to search in the other, right?14:04
sapd1thuydang: yep14:05
dangtrinhntso you have multiple ES instances?14:05
thuydangI thinks so14:05
thuydangbecause the clusters belonging to multiple SPs may have nothing to do with each other14:06
thuydangOS- AWS for example14:06
thuydangand so is OS - OS14:06
dangtrinhntThen, each SL instance will use the other tenant's SL-api to query the other tenant's resources?14:06
thuydangYes, I thinks so14:07
dangtrinhntwow, that not scales :)14:07
thuydangwhy?14:07
sapd1thuydang: https://github.com/openstack/keystone/blob/master/keystone/federation/backends/sql.py mapping table in sql database14:08
sapd1dangtrinhnt: Yep. I understand14:08
dangtrinhntfor every new tenant you want to search, you have to say somewhere the searchlight-api endpoints14:08
sapd1thuydang: When we have many many openstack clusters, So we have to go to every endpoint to search.14:08
thuydangI don't think so14:09
thuydangat worst case we only search in the cluster the tenant has access right?14:09
sapd1we have to try to authenticate. Because the mapping is created in SP side.14:10
dangtrinhntok, I think we will have a better view with drawing :)14:12
thuydangsure, the tennant must provide credential for each of his cluster, which is used by SL to authenticates14:12
thuydangyes, let's have anothe meeting for this discussion14:13
thuydanglet's move on with other topics14:13
sapd1yeah14:13
dangtrinhntok, looks like the topic gets some interesting points :)14:13
dangtrinhnt#topic Functional tests for Searchlight in Py314:14
*** openstack changes topic to "Functional tests for Searchlight in Py3 (Meeting topic: openstack search)"14:14
dangtrinhntok, the TC is checking our progress with python 3 functional tests14:14
dangtrinhntOver the last couple months, I added the python 3 tests for unit and functional tests14:15
dangtrinhntlooks like it's acceptable compare to other projects14:15
dangtrinhnt#link https://wiki.openstack.org/wiki/Python314:15
dangtrinhntI updated the documents yesterday14:16
thuydangdo we have to migrate searchlight api to python3?14:16
dangtrinhntI think SL is py3 compatible14:17
dangtrinhntit passes the python3 tests14:17
dangtrinhntbut the thing here is our test coverage is low, only 70 something14:17
dangtrinhntI would like to increase the test coverage to 90 something in the RC milestone14:18
dangtrinhntit means we need to add more tests and maybe we can separate the functional tests with Zuul14:18
dangtrinhntand tempest14:18
thuydangI'm not familiar with testing and will have to learn first :-)14:19
dangtrinhntsomething like this https://github.com/openstack/tacker/blob/master/.zuul.yaml14:19
dangtrinhntwith zuul, we can set our test env and dependencies :)14:20
dangtrinhntanyway, it's for the next milestone14:20
dangtrinhntand only if we have time :D14:20
sapd1thuydang: me too14:20
dangtrinhntno worries, it's just a good-to-have feature.14:21
thuydangwe will try to cover testing with our new features14:21
dangtrinhntok, I guess we can move on to the next topic?14:21
thuydangok14:21
dangtrinhnt#topic TC vision reflection:14:21
*** openstack changes topic to "TC vision reflection: (Meeting topic: openstack search)"14:21
dangtrinhntas you may now the OpenStack leadership has published a vision at #link https://governance.openstack.org/tc/reference/technical-vision.html14:22
dangtrinhntIt's good to align our works with the TC vision14:22
dangtrinhntgood practice14:22
dangtrinhntwe can learn from other projects14:23
thuydangI agree14:23
dangtrinhnthttps://etherpad.openstack.org/p/nova-tc-vision-self-eval14:23
dangtrinhnthttps://review.openstack.org/#/c/629060/14:23
dangtrinhnthttps://review.openstack.org/#/c/630216/14:23
dangtrinhntthey're doing the reflection14:23
sapd1dangtrinhnt: I will read it later.14:24
dangtrinhntok, I started a new etherpad14:24
dangtrinhnthttps://etherpad.openstack.org/p/-tc-vision-self-eval14:24
dangtrinhntwe will do about 3 weeks to 9 Mar. to put ideas to the pad and I will commit a doc change14:25
dangtrinhntPlease help us to evaluate our works against the TC vision. :)14:26
sapd1dangtrinhnt: yeah.14:27
dangtrinhntYou're welcomed to put your concerns, ideas, issues, solution, etc...14:28
dangtrinhntok, time up. Anything else you want to discuss?14:28
sapd1nope :D14:29
dangtrinhntah, btw, we will have the Denver summit vote results in mid of Feb (around 15th I guess)14:29
thuydangfor the SIG14:29
sapd1PTG too.14:29
dangtrinhntok14:29
thuydangLet's do some survey on related groups14:30
dangtrinhnt+114:30
thuydangthen we will have better view of the vision and scope14:30
dangtrinhntok, I noted down14:30
thuydangthere is probably overlaping scope14:31
sapd1+114:31
dangtrinhntone promising benefit of the SIG is we will make SL more relevant and more reason to live on14:31
dangtrinhntthuydang, agree14:31
dangtrinhntok, time up. We can discuss about it more later.14:32
thuydangok14:33
dangtrinhntThanks for joining the meeting today :)14:33
dangtrinhntBye14:33
dangtrinhnt#endmeeting14:33
*** openstack changes topic to "OpenStack Searchlight - https://wiki.openstack.org/wiki/Searchlight"14:33
openstackMeeting ended Mon Feb 11 14:33:54 2019 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)14:33
openstackMinutes:        http://eavesdrop.openstack.org/meetings/openstack_search/2019/openstack_search.2019-02-11-13.30.html14:33
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/openstack_search/2019/openstack_search.2019-02-11-13.30.txt14:33
openstackLog:            http://eavesdrop.openstack.org/meetings/openstack_search/2019/openstack_search.2019-02-11-13.30.log.html14:34
sapd1bye14:34
dangtrinhntsapd1, please put your mock figure about keystone-2-keystone on the story: https://storyboard.openstack.org/#!/story/200484014:38
dangtrinhntone thing I'm worrying about your design is that It will work only for OpenStack clouds, when we want to integrate other cloud platforms, we may have to design another architecture. In a scalable and extensible system design perspective, Searchlight needs to have an universal interface to plug in any cloud platform it want. Something like patterns or unified architecture, so that we don't have to reinvent the wheel every time. Anyway,14:43
dangtrinhntthat's too much for today. Let's see how it goes :)14:43
thuydangLet's go from a simple solution and improve it :-)14:45
dangtrinhntThank you guys for putting the fire into this project, It's a little bit quiet these days :)14:45
*** sapd1 has quit IRC16:01
*** thuydang has quit IRC16:36

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