03:00:04 #startmeeting zun 03:00:05 Meeting started Tue Nov 22 03:00:04 2016 UTC and is due to finish in 60 minutes. The chair is hongbin. Information about MeetBot at http://wiki.debian.org/MeetBot. 03:00:06 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 03:00:08 The meeting name has been set to 'zun' 03:00:10 #link https://wiki.openstack.org/wiki/Zun#Agenda_for_2016-11-22_0300_UTC Today's agenda 03:00:14 #topic Roll Call 03:00:16 Shubham Sharma 03:00:17 Namrata 03:00:19 Madhuri Kumari 03:01:07 Welcome to join the meeting shubhams Namrata mkrai_ 03:01:17 #topic Announcements 03:01:31 I have no announcements, anyone else has? 03:01:31 o/ 03:01:48 sudipto_: hey, thanks for joining 03:02:11 It's not an announcement per say, but then mfedosin yesterday - had requirements for zun...that we had a chat on the meeting room. 03:02:20 i knew several people cannot join the meeting today, so it will be a short meeting 03:02:30 hi 03:02:35 sudipto_: ack 03:02:48 trinaths: welcome to the zun meeting 03:03:00 sudipto_: will discuss that in open discussion 03:03:06 #topic Review Action Items 03:03:07 hongbin, sure thing. 03:03:12 1. hongbin add k8s bp to weekly meeting agenda (DONE) 03:03:18 #link https://wiki.openstack.org/wiki/Zun#Agenda_for_2016-11-22_0300_UTC 03:03:25 hongbin: I'm new to Zun, but would like to know ways to contribute for Zun. 03:03:38 trinaths: sure 03:03:51 trinaths: will talk to you later in open discussion :) 03:03:54 #topic Container image store (mkrai) 03:04:00 #link https://blueprints.launchpad.net/zun/+spec/glance-integration The BP 03:04:04 mkrai_: ^^ 03:04:17 The glance integration bp is completed now 03:04:26 great 03:04:41 I have submitted one patch to store docker images in glance while downloading 03:04:58 But seems it is not good to do so. 03:05:38 yes, i don't think it is a good idea as well 03:05:40 For that, we can have push image APIs 03:06:03 And I will resubmit my patch to implement the new API 03:06:13 That's all from my side. 03:06:16 Any questions? 03:06:31 If no, shubhams please update 03:06:34 mkrai_: the push API is in server or client? 03:06:46 hongbin: Both 03:07:03 mkrai_: en... 03:07:05 From my side there is not much update as I was out for last week/ Will finish this week 03:07:17 shubhams: ack 03:07:55 mkrai_: i am not sure if it makes sense to push images from server to glance as well.... 03:08:11 mkrai_: it makes more sense to push from client to glance .... 03:08:58 mkrai_: i just think in a nova way: nova never push image from hypervisor to glance 03:08:59 Oh I am not sure whether its good to support any feature in clients that doesn't exist in server 03:09:12 yes, in all the other projects, also the images are pushed via client 03:09:37 Because not everyone uses clients 03:10:24 mkrai_: true said, but using client is in sync with other implementations 03:11:26 hongbin: trinaths Do you know reason why nova is not pushing from server? 03:11:46 why are we thinking about pushing images from zunclient to the glance server btw? 03:12:05 mkrai_: beacause they are independant projects 03:12:15 sudipto_: For users, not having access to internet 03:12:15 mkrai_: i am not sure exactly 03:12:40 mkrai_, users without internet access, - how do they get the image in the first place? 03:13:01 can't they directly store it in glance? 03:13:08 Iam trying to integrate openstack with xen 03:13:08 i have installed openstack using devstack script top of xen hypervisor, in this open stack as a virtual machine. 03:13:08 when i create instance in openstack, the instance should create in xen hypervisor. but its not happening. 03:13:08 Some one could you please guide me please 03:13:29 Alagar, there's a meeting ongoing at the moment :) 03:13:40 you may try another channel. Like openstack-nova. 03:13:45 sudipto_: i think the pattern of using glance is like using a private docker registry 03:13:45 mkrai_: They can create their own images or download from docker for later use 03:14:01 But yes it makes sense to me, if they directly store images in glance 03:14:26 hongbin, understood, but they could just then store the image in glance and create that repo, no? 03:14:29 sudipto_: the pattern is 1) client pull from docker hub, 2) client push to private docker registry 3) server pull from private docker registry 03:14:46 sudipto_: yes 03:15:17 sudipto_: so, they can do that without any support from zun, just a command: glance upload ... 03:15:21 hongbin, ok and the analogous flow here would be? 1) client has the image via a gz file 2) uses the glance client to upload it to glance 3) zun pulls it from glance while deploying 03:15:42 sudipto_: i guess yes 03:15:51 yeah that i agree, i guess you are talking about the glance client not the zunclient... 03:16:10 however, there is already a support like that in glance, is that not sufficient you mean? 03:16:30 sudipto_: yes, so maybe this feature is not in zun at all 03:16:50 sudipto_: Does it support the case specified by hongbin ? 03:17:00 Downloading from docker/URL? 03:17:05 hongbin, the case being? Pulling from docker hub? NO. 03:17:33 sudipto_: 1) pull from docker hub , OR , docker build 03:17:39 2) push to glance 03:18:07 sudipto_: these two steps can be done without zun 03:18:19 hongbin, ok - now i understand the use case. Yes, the support does not exist today and I think, it's ok to do it without zun. 03:18:44 Yes not necessarily have to be in zun 03:19:01 mkrai_: then maybe don't worry the push api at al 03:19:04 Remember, you can only push a tar.gz file into docker - so i am not sure even if we want to do it within zun, how do we do it? 03:19:05 I am ok if we don't want to support it 03:19:20 typo - i meant push into glance. 03:20:14 sudipto_: We download a tar file from docker and upload it to glance 03:20:25 mkrai_, how do you download the tar though? 03:20:46 usual way to generate that tar is to do a docker export on the running container pipe it and save it as a tar.gz 03:20:52 (unless they have done something new) 03:20:58 sudipto_: Sorry we are not storing it now in glance from zun 03:21:06 Users manually have to do it. 03:21:22 But we download image from glance to be used while creating container 03:22:03 mkrai_, no i mean - when you develop the feature... 03:22:19 you will have to have a way to convert the image into tar.gz before you can store it in glance... 03:22:29 my question was - how would you do that from an implementation per say. 03:22:41 if you have to develop that feature in zun. 03:23:52 sudipto_: There is an API get_image in docker that returns you the image data 03:24:03 mkrai_, ah i see. 03:24:13 sudipto_: YOu can see the implementation here 03:24:18 #link https://review.openstack.org/#/c/398792/1/zun/image/docker/driver.py 03:24:54 Line 70 03:25:02 mkrai_, are you sure that pulls the image in tar.gz format? 03:25:22 anyway i think we can talk on this later as well. 03:25:29 sudipto_: No it is not in tar.gz format 03:25:40 It is the image content 03:26:02 yeah - so it's a layered filesystem, that you need to convert to a tar format before you can store it in glance - was my point. 03:27:32 sudipto_: Not exactly, we can read this response from HTTP and directly upload in glance 03:27:48 mkrai_, ok. 03:28:07 i just thought glance only accepted the gz format. Anyway i might be wrong. 03:28:47 mkrai_, http://docs.openstack.org/developer/glance/formats.html 03:28:53 we can park it for later. 03:29:10 sure sudipto_ 03:29:19 ok, advance topic 03:29:25 #topic Container network (hongbin) 03:29:30 #link https://blueprints.launchpad.net/zun/+spec/neutron-integration The BP 03:29:35 #link https://review.openstack.org/#/c/365754/ The proposed spec (merged) 03:29:40 #link https://review.openstack.org/#/c/396896/ The patch Part 1 03:29:46 #link https://review.openstack.org/#/c/399248/ The patch Part 2 03:30:14 I split the driver into two: the pure docker driver, and a nova-docker driver 03:30:23 hope everything is more clear right now 03:30:27 hongbin, i just had a minor doubt, once we implement the sandbox, what will happen to lib network? 03:30:49 in a more crude term, what happens to the IP allocated by docker on the container? 03:31:19 sudipto_: i am not sure exactly (i just coped everything from nova-docker :) 03:31:48 sudipto_: from what i undertand from nova-docker code, they did custom container networking (disable libnetwork) 03:32:12 hongbin, ok - the time nova-docker was written - was different than the time we are in right now...but maybe that works. 03:32:18 sudipto_: my doubt: the networking is managed by neutron here? 03:32:29 trinaths, that's what we are proposing. 03:32:32 sudipto_: they just did something like: 1) create a veth pair, 2) plug one end to neutron bright, 3) plug another end to container nanemspace 03:33:09 sudipto_: then the IP given by docker must hide. 03:33:16 hongbin, ok yeah - that's how docker does it too - but i wonder how they disable the docker networking. 03:33:39 sudipto_: by passing an option: netmode=none 03:33:47 hongbin, ah i see. 03:34:06 sudipto_: however, we can integrate with libnetwork later if we ant 03:34:07 want 03:34:19 so even though we have the docker0 bridge, it's basically of no use or do we disable that bridge as well? 03:34:47 sudipto_: per my understanding, the answer is "yes" 03:34:56 hongbin, alright. 03:35:08 sudipto_: however, again, we are free to change it later 03:35:13 * sudipto_ fiddling with the lib network code, hence got curious. 03:35:38 ok 03:35:41 as a thought, user must have the provision to enable/disable this. 03:36:07 enabling/disabling may have implications... 03:36:37 trinaths: i guess nobody want to get a container with no networking.... so disable it might not make sense 03:36:47 the IP addressing then goes out of scope for openstack and that again is a challenge to manage... 03:36:56 yes 03:37:31 hongbin: true said, agree. But the decision is between container networking or networking from neutron. may be i'm wrong 03:37:31 ok, that is all from the sandbox proposal 03:37:43 #topic Open Discussion 03:38:08 I saw a clear containers BP owned by mkrai_ - can we talk about that a bit? 03:38:24 trinaths: since zun is an openstack project, so networking is always from neutron, i am afraid there are no other choice 03:38:31 Yes but I haven't started it yet 03:38:44 hongbin: okay 03:38:46 Do you have any specific question on it sudipto_ ? 03:38:51 mkrai_, just wanted to know - is clear containers a part of the docker apis now? 03:39:06 Yes 03:39:16 It uses the same docker APIs 03:39:20 mkrai_, any link would be great... 03:39:45 mkrai_, basically the github link i had was based on the exec driver in docker, that no longer exists... 03:39:47 Need to look 03:40:02 Ok, no problem. 03:40:54 ok, no other topic? 03:41:04 sudipto_: I will share later 03:41:08 Is that fine? 03:41:17 mkrai_, yup that would be great. 03:41:23 Ok will do that 03:41:37 Another thing quickly hongbin is the interest in zun from mfedosin and his company 03:41:50 sudipto_: go ahead 03:42:20 they wanted to host something like NFV workloads in containers and were evaluating if it's possible to use zun. Practically, i think we are a bit far from providing that functionality - but i asked him to contribute 03:42:44 sudipto_: here https://github.com/01org/cc-oci-runtime/wiki/Installing-Clear-Containers-on-Ubuntu-16.04 03:42:49 ok, that is a good response :) 03:43:25 mkrai_, thanks :) 03:44:52 yes, i know other nfv folks who also interests in zun 03:45:29 i guess they want something that is lighter than vm, so they look into container projects 03:46:11 yeah i guess that's what he was stating too. More than lighter, they wanted better performance. 03:46:24 i see 03:46:54 zun definitely has potential to solve the nfv use cases 03:47:02 let's work hard for that :) 03:47:11 Sure :) 03:47:11 +1 :) 03:47:16 +1 :) 03:47:32 ok, all, thanks for joining the meeting 03:47:44 Thanks all! 03:47:44 Thank you! 03:47:58 trinaths: i remembered you were looking for tasks? i can help you in zun channel 03:48:03 #endmeeting