03:01:17 #startmeeting zun 03:01:18 Meeting started Tue Nov 15 03:01:17 2016 UTC and is due to finish in 60 minutes. The chair is hongbin. Information about MeetBot at http://wiki.debian.org/MeetBot. 03:01:19 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 03:01:19 o/ 03:01:22 The meeting name has been set to 'zun' 03:01:22 #link https://wiki.openstack.org/wiki/Zun#Agenda_for_2016-11-08_0300_UTC Today's agenda 03:01:27 #topic Roll Call 03:01:28 Namrata 03:01:31 Madhuri Kumari 03:01:32 Wenzhi 03:01:34 Shubham Sharma 03:01:35 pradeep, 03:01:40 kevinz 03:02:04 Thanks for joining hte meeting eliqiao Namrata mkrai Wenzhi shubhams pksingh kevinz 03:02:06 Eli Qiao 03:02:10 #topic Announcements 03:02:16 1. Zun is going to have a PTL election 03:02:22 #link http://lists.openstack.org/pipermail/openstack-dev/2016-November/107010.html 03:02:33 I am going to submit my candidacy soon 03:02:53 After the PTL is elected, I will submit an application to join the big-tent 03:03:06 +1 for hongbin 03:03:10 cool 03:03:14 Thats great 03:03:18 cool 03:03:22 :) 03:03:27 :) 03:03:37 Then, we become officially openstack project :) 03:03:46 great 03:03:48 bravo 03:03:50 #topic Review Action Items 03:03:52 cool 03:03:59 1. hongbin create a bp for adding support for secure container (DONE) 03:04:06 #link https://blueprints.launchpad.net/zun/+spec/support-secure-container 03:04:31 mkrai: i assigned it to you, since you looks interesting to work on this 03:04:45 hongbin: will be using hyper or clear containers? 03:04:51 mkrai: do you have time to take it? 03:04:57 Ok thanks I will work on it 03:05:10 pksingh: depend on mkrai :) 03:05:16 pksingh: clear container as of now 03:05:27 hongbin: mkrai: if i can help that would be greate 03:05:41 sure pksingh. Thanks 03:05:50 hongbin: ok 03:05:56 mkrai: pksingh : sure. for big bp, i encourage us to pair up 03:06:13 since the work is big, so two people is better 03:06:31 2. hongbin create a bp for k8s integration (DONE) 03:06:37 #link https://blueprints.launchpad.net/zun/+spec/k8s-integration 03:06:52 I need a volunteer for this one 03:07:09 I would love to be 03:07:15 i set the bp to highest priority since it is frequently requested by people 03:07:18 pksingh: i can pair up with subham 03:07:19 I can help too 03:07:27 shubhams: ack 03:07:47 thanks pksingh mkrai 03:07:51 sign up for helping reviewing too. 03:08:07 This one will need lots of discussion 03:08:11 shubhams: pksingh mkrai : i will assign it to shubhams , but he don't need to do all the work 03:08:22 mkrai: I agree 03:08:29 hongbin: cool 03:08:47 yes, it would be great if we have 3 people for that. 03:09:12 hongbin: mkrai shubhams we can pair up :) 03:09:13 hongbin: Sounds good to me 03:09:14 shubhams: i rely on you to coordinate the work with mkrai and pksingh :) 03:09:31 hongbin: You can be assured 03:09:47 shubhams: i am going to add this to the weekly team meeting agenda 03:09:58 hongbin: ack 03:10:15 that means i expect any of you to report the status of this bp to the team every week 03:10:32 is it ok for you guys? 03:10:51 hongbin: ok for me 03:10:52 Yes +1 03:10:56 works for me 03:10:59 cool 03:11:09 #action hongbin add k8s bp to weekly meeting agenda 03:11:19 ok, let's move on 03:11:22 #topic Support interactive mode (kevinz) 03:11:28 #link https://blueprints.launchpad.net/zun/+spec/support-interactive-mode The BP 03:11:33 #link https://review.openstack.org/#/c/396841/ The design spec 03:11:41 kevinz: :) 03:12:16 I'm thinking about when zun-compute and client are not in the same node 03:12:42 I've tried and this method works 03:12:42 kevinz: client means, zun-client? 03:12:47 yeah 03:13:09 kevinz: maybe you could briefly explain what you already did so far 03:13:10 I will modified the spec according to hongbin and shubhams' comments 03:13:29 kevinz: then, explain what is missing and what you are going to work on 03:13:45 hongbin: in the spec? 03:14:08 kevinz: yes, briefly explain the approach you proposed in the spec 03:14:25 hongbin: OK 03:14:27 no problem 03:14:48 kevinz: since not everyone have reviewed the bp so far, so it is better to give a briefing first 03:15:30 OK. I plan to refer to the library, dockerpty 03:15:52 #link https://github.com/d11wtq/dockerpty 03:16:07 We can create the stdin stdout stderr to connect to the docker tty 03:16:57 docker tty is easy to create when we pass the parameters tty=True and stdin_open=True ,when creating container 03:18:05 Then in python-zunclient, use stdin stdout stderr to connect the docker tty we will get a pesudo tty 03:19:04 kevinz: get that 03:19:10 But dockerpty doesn't satisfied all our request, so I will refer to this to re-write the code 03:19:25 This is good solution when you have the zunclient residing on the same machine as the one running the docker container... 03:19:44 sudipto: +1, 03:19:57 sudipto: you stated the key problem :) 03:20:09 kevinz: how over rest api? do we need some hijacking of http? 03:20:15 i believe kevinz is working on solving this problem 03:20:23 we may have to devise a way to redirect the output to a console.log or a sttderr.log and then read that file remotely... (thinking the VM analogy) 03:20:48 Yeah ,another method is refering to how Nova deal 03:21:08 hongbin, yeah i stated the obvious :) 03:21:17 i think kubectl client for k8 does the same, we can look there if anyone knows golang 03:22:09 sudipto: pksigh: dockerpty also can work and connect remote docker daemon 03:22:55 i don't think zun allowed python-zunclient to connect to docker daemon directly 03:23:16 if users have to connect to docker deamon, it must go through the zun api 03:23:43 hongbin: Then I think nova console give the good method 03:24:08 mean another service to do FWDing? 03:24:09 will get a redirection 03:24:17 Yeah 03:24:34 hmm... I kinds doubt that the interactive mode. 03:25:00 container's differnet with VM. no need too much login operation on containers. 03:25:15 eliqiao: +1 03:25:34 hmm, let's discuss it. 03:25:37 just my 2 cents. 03:26:19 we can use a method to auto connect the redirection link? 03:26:30 sudipto: i think you also have doubts on the interactive mode as well? 03:27:26 juse link a project "https://github.com/larsks/novaconsole" does 03:27:31 hongbin, no doubts about interactive mode. It all depends on what you want to achieve with it. I agree with eliqiao that there's not much of an interaction really needed with containers. However I do see the logs being important. 03:27:45 hongbin: I am not strong disagree with it. just don't want us to waste more time on it if it's hard to implement it. 03:28:00 eliqiao: get that 03:28:04 sudipto: ack 03:28:31 kevinz: i think sudipto & eliqiao gave an important suggestion 03:29:02 kevinz: then, you can first investigate the feasibility to implement this feature 03:29:09 if you want to allow interactive mode, we may have to look at something like a vncclient 03:29:17 hongbin: OK 03:29:22 kevinz: if it turns out to be hard to implement, let's bring it back to the team to discuss 03:29:53 i think interactive mode might be good from user experience point of vie 03:29:55 view 03:30:17 hongbin: Yeah for user it really important experience 03:30:23 but, it might not be so important, we can consider it as an optional feature 03:30:50 OK I will continue investigating this 03:30:55 kevinz: thanks 03:31:11 any other question regarding to this topic? 03:31:11 my pleasure 03:31:26 The interactive mode sort of falls under the attach and exec discussions as well, no? 03:31:40 sudipto: yes 03:32:03 alrite. 03:32:24 ok, move on 03:32:30 #topic Container image store (mkrai) 03:32:35 #link https://blueprints.launchpad.net/zun/+spec/glance-integration The BP 03:32:39 mkrai: ^^ 03:32:59 I have implemented the last patch to store image in glance when we pull from docker 03:33:11 But there is some issue storing the image in glance 03:33:24 I am looking at it and will post the patch by today eod 03:33:46 mkrai: what are the issues? 03:33:49 After this patch, we can mark this bp complete 03:34:21 error reading data from http response object 03:34:29 i see 03:34:34 I tried it outside zun and it worked well 03:34:45 But not sure why isn't it working inside zun 03:35:33 mkrai: just let us know if you need help for that 03:36:14 mkrai: in general, the glance integration is almost finish, which is a good progress 03:36:33 thanks mkrai and shubhams and all others for the hard work 03:37:06 yes mkrai and shubhams did great work :) 03:37:34 ok, next topic 03:37:37 #topic Container network (hongbin) 03:37:43 #link https://blueprints.launchpad.net/zun/+spec/neutron-integration The BP 03:37:48 #link https://review.openstack.org/#/c/365754/ The proposed spec (merged) 03:37:56 #link https://review.openstack.org/#/c/380646/ The patch 03:38:28 The link above is the patch, which implement a complete soluation 03:38:44 however, it looks the patch is too large, so i am going to split the patch into several 03:38:57 Sorry got dc. I will continue in open discussion 03:39:01 this is the first split-out patch 03:39:03 #link https://review.openstack.org/#/c/396896/ 03:39:33 i am going to do this step-by-step 03:39:44 first, implement sandbox without nova 03:40:13 second, i am going to add another driver (called novadocker), which uses nova to implement the sandbox 03:40:29 thrid, duplicated the first docker driver (tbd) 03:40:51 hongbin: this will implement the nova-integration bp as well. Right? 03:41:07 mkrai_: no, nova integration is a different bp 03:41:24 mkrai_: the nova integration bp is for using nova api to connect to zun 03:41:31 he novadocker driver will include the work I guess 03:41:37 mkrai_: this bp is for using novadocker as a coe 03:41:38 armax : Just got your message(reedip: if you can unblock https://review.openstack.org/#/c/393011/, that would be great) , will do this 03:42:08 mkrai_: ?? 03:42:20 we can use the same driver for creating containers 03:42:49 ok, i need to explain that 03:43:08 Thanks that will be great 03:43:21 for sandbox proposal, we use nova (with docker virt driver) to provision sandbox 03:44:04 for nova integration, i guess it is for implementing a virt driver that connects to zun 03:44:20 it will be a zun virt driver 03:45:06 Ok I will look at your patch to understand this 03:45:20 i will also have a look 03:45:29 ok 03:45:33 It seems bit confusing to me and I will get back to you in case of any concern 03:45:42 ok 03:46:08 then, let's move on 03:46:14 #topic Open Discussion 03:46:40 I want to discuss about https://review.openstack.org/#/c/395552/ 03:46:54 This bp has 'image search' API 03:47:25 In docker, the search returns image with matching string 03:47:50 And thats seems correct. But I think there should also be option to search exact image name 03:47:59 Also search image with tag also 03:48:09 which currently docker lacks 03:48:24 So how do team want zun search to work like? 03:48:52 mkrai_: as i commented in the patch, i think it is a good idea to have an option like --exact 03:49:10 mkrai_: this option will search image by exact name 03:49:32 hongbin: +1 03:49:33 Hi there, we (lenovo) are actively looking to work with openstack container project. we might have two engineers planning to join ZUN. Is there particular bugs/blueprint that we can start with. 03:49:36 Ok sounds good to me. I will update the patch 03:49:47 hongbin: should this option be exposed to users ? 03:49:55 mkrai_: for tag, i am not sure, maybe you could have another option 03:50:00 shubhams: yes 03:50:09 shubhams: yes :) 03:50:18 mkrai_: one more suggestion, url should be /image/search?name=xyz,exact=true 03:50:23 hongbin: we can add filters also but currently docker doesn't have this option 03:50:24 lakerzhou: good to hear that 03:50:30 hongbin: what do u think? 03:50:54 pksingh: our REST APIs have been implemented this way 03:51:21 mkrai_: pksingh not sure right now, need to look into it 03:51:51 pksingh: I am ok with the current format 03:52:07 pksingh: Can you tell me the reason for this change? 03:52:14 mkrai_: i think current is /image/name/search? 03:52:26 pksingh: yes 03:52:57 lakerzhou: i will work with you to figure it out 03:53:03 mkrai_: what i think, search always work this way, am i right? 03:53:27 mkrai_: you search anything in a collection by query? 03:54:24 mkrai_: no hard line from me, just a suggestion 03:54:24 pksingh: yes agree. 03:54:51 I don't think it is feasible to change just one API 03:55:11 Other APIs are designed this way for ex /containers/{ID}/logs etc 03:55:34 mkrai_: you can, just pass key=value to search method 03:56:00 Hongbin, I was disconnected, maybe I missed something. Do you have any recommendations for starters? 03:56:04 mkrai_: but for them we know the ID, right and we also know that they exist in collection 03:56:30 lakerzhou: i will work with you offline to figure it out (i don't have a list right now) 03:56:53 We need to change the routing then 03:56:56 mkrai_: either way is ok, just conveying the way docker and goole search api works 03:57:46 mkrai_: i dont think so my patch for 'zun run' works with query parameter 03:57:53 Thanks a lot. Hongbin. I will join zun irc channel more often. 03:58:08 mkrai_: and delete also takes force=true in query? 03:58:22 pksingh: It will work 03:58:32 What param do you need to pass to run? 03:58:41 start=True 03:58:47 lakerzhou: thanks for your interests to contribute to zun, looking forward to work with you in the future 03:59:01 mkrai_: we can discuss later, i am ok with both the ways 03:59:05 pksingh: And the endpoint? 03:59:09 ok, time is up 03:59:10 pksingh: Ok sure 03:59:14 overflow on zun channel 03:59:22 all, thanks for joining hte meeting 03:59:27 Thanks all! 03:59:31 #endmeeting