Tuesday, 2018-05-08

*** openstackgerrit has joined #openstack-zun00:13
openstackgerritHongbin Lu proposed openstack/python-zunclient master: Deprecate security groups related commands  https://review.openstack.org/56648400:13
*** caoyuan has joined #openstack-zun00:36
*** caisan has joined #openstack-zun00:59
*** fabian_ has joined #openstack-zun00:59
*** caoyuan has quit IRC01:04
*** fabian_ is now known as chenyb401:10
openstackgerritKevin Zhao proposed openstack/zun master: Change the DB create procedure of capsule create  https://review.openstack.org/56628901:31
*** caoyuan has joined #openstack-zun01:49
*** hongbin has joined #openstack-zun02:02
openstackgerritKevin Zhao proposed openstack/zun master: Change the DB create procedure of capsule create  https://review.openstack.org/56628902:05
caisanhongbin,  cloud you look at this issue  https://paste.ubuntu.com/p/NR9TD9R7Zx/    if you have available time?02:19
openstackgerritlu.li proposed openstack/zun master: Update install doc for ubuntu  https://review.openstack.org/56677302:19
hongbincaisan: i have commented on your patch02:20
caisanhongbin, when I start sun-compute service in a docker container. This is the error log02:20
hongbincaisan: if you start zun-compute without a container, the error still occurs?02:21
caisanhongbin, yes, I see that, I will update it ASAP02:21
caisanhongbin, no, without container, sun-compute works fine02:21
caisanS/sun-compute/zun-compute02:21
hongbincould you run "pip freeze" inside and outside the container, and compare the list?02:22
caisanhongbin, which packages should I compared ? Compare all ?02:25
hongbinthe version of docker-py02:25
caisanhongbin, seems the version of docker(python package) inside is lower than the outside of it. I make them to be the same version, and try.02:28
hongbincaisan: ok02:28
chenyb4Hi, hongbin.  I was execute 'zun list' and 'zun show xxx' , but the container return status different. 'zun list' return 'Stopped', 'zun show xxx' return 'Error'02:31
chenyb4hongbin, The container can't start now02:31
chenyb4hongbin, exist error reason02:32
hongbinchenyb4: which version of zun you are using?02:33
chenyb4hongbin, I found the code,  https://github.com/openstack/zun/blob/master/zun/container/docker/driver.py#L561 the status get docker state error02:33
chenyb4hongbin, Is that how it was designed?02:34
hongbinchenyb4: if you run "docker inspect" on the container, what do you see?02:34
hongbinchenyb4: yes, but the design might be wrong02:35
*** shu-mutow-AWAY is now known as shu-mutow02:35
hongbinchenyb4: is there a predictable step to reproduce this error?02:35
chenyb4hongbin,  docker inspect  exist errorcode and error reason.02:36
chenyb4hongbin, if the design error, I think the status get maby use docker inspect return status02:37
*** hongbin_ has joined #openstack-zun02:37
chenyb4hongbin_, if the design error, I think the status get maby use docker inspect return status02:38
hongbin_chenyb4: agree, i think the status should be consistent between zun and docker02:39
*** hongbin has quit IRC02:40
chenyb4hongbin_, Ok, I will change it.  Change status=state.get('status') https://github.com/openstack/zun/blob/master/zun/container/docker/driver.py#L56202:41
hongbin_chenyb4: sure, i will review your fix, thanks02:42
*** kevzha01 has joined #openstack-zun02:44
*** kevzha01__ has quit IRC02:46
caisanhongbin_, still failed. What is the json file mentioned in the log file.  /root/.docker/config.json ? Looks I missed it.02:54
hongbin_caisan: not sure if it is related02:56
hongbin_caisan: you might also compare the docker_url in the zun config file (in and outside the container)02:56
caisanhongbin_, I have both config the docker_url inside and outside of the container.02:57
hongbin_caisan: is the url connectable in and outside the container?02:57
caisanhongbin_, yes, sure.02:58
caisanThe zun service container run with parameter --net host02:59
hongbin_#startmeeting zun03:00
openstackMeeting started Tue May  8 03:00:05 2018 UTC and is due to finish in 60 minutes.  The chair is hongbin_. Information about MeetBot at http://wiki.debian.org/MeetBot.03:00
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.03:00
*** openstack changes topic to " (Meeting topic: zun)"03:00
openstackThe meeting name has been set to 'zun'03:00
hongbin_#topic Roll Call03:00
*** openstack changes topic to "Roll Call (Meeting topic: zun)"03:00
*** kevzha01 is now known as kevinz03:00
deepak_mouryaHi hongbin03:00
kevinzo/03:00
shu-mutowo/03:00
hongbin_thanks for joining deepak_mourya kevinz shu-mutow03:01
hongbin_#topic Blueprints03:01
*** openstack changes topic to "Blueprints (Meeting topic: zun)"03:01
hongbin_1. OpenStack as a virtual Kubernetes node (assignee: kevinz)03:02
hongbin_#link https://blueprints.launchpad.net/zun/+spec/zun-connector-for-k8s03:02
hongbin_kevinz: ^^03:02
kevinzhi all. I'm stuck into a bug today, capsule could not delete successfully03:02
kevinzI will fix it today.03:02
hongbin_what kind of bug?03:03
kevinzFor other part, in gophercloud, capsule List merged and capsule delete in progress03:03
hongbin_awesome03:03
kevinzhongbin_: I have not filed it. I will file after the meeting.03:04
hongbin_kevinz: ack03:04
kevinzThe bug is : user could create capsule, but when deleting , the capsule function container could not deleted.03:05
kevinzERROR zun.compute.manager [req-9cb3be0a-7789-4050-b32f-271dc3a509ff admin admin] Error occurred while calling Docker  delete API: Docker internal error: 500 Server Error: Internal Server Error ("container 195206572a8d27bd2e8625ad1708265fa150c5e22547af6babdbc07491eaf901 is not connected to network 043d0638-fa8e-4246-86c8-a67974b0a9a1").: DockerError: Docker internal error: 500 Server Error: Internal Server Error ("container 195206572a8d27bd2e8625ad17003:05
kevinz8265fa150c5e22547af6babdbc07491eaf901 is not connected to network 043d0638-fa8e-4246-86c8-a67974b0a9a1").03:05
hongbin_interesting03:05
kevinzsorry, pastebin is better. http://paste.openstack.org/show/720531/ we could discuss after the meeting03:06
hongbin_but it seems the gate delete the container successfully03:06
kevinzAlso I'm working on virtual-kubelet, and find that we don't have resource.requests(CPU and memory)03:07
kevinzwe just have resource.limits(CPU, memory)03:07
hongbin_i see03:07
kevinzhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/03:07
hongbin_yes, i think it worths to add support for 'requested'03:08
hongbin_the quickest workaround is the set the requested equals to limit03:08
kevinzyes, that will be better for scheduler03:08
kevinzhongbin_: I will quickset first :-)03:09
hongbin_kevinz: sure03:09
kevinzhongbin_: besides, I'm preparing for the slides in summit. But I find it is a little hard to give a demo in vancover03:10
hongbin_kevinz: ack, wonder why the demo is hard?03:11
kevinzhongbin_: The virtual-kubelet doesn't work yet for Zun. I'm working on Pod Get first, and then Pod create. After the two works, we could have a demo03:12
hongbin_kevinz: ok03:12
hongbin_kevinz: i think a demo is better, but it is fine if we cannot make it03:13
shu-mutowI think start to will prepare demo using Zun UI for Queens release.03:13
kevinzI will try to make it happens03:13
hongbin_kevinz: sure, just let me know if anything i can help :)03:13
shu-mutowI think start to prepare demo using Zun UI for Queens release.03:13
kevinzdemo is better than slides03:14
kevinzhongbin_: Thanks03:14
hongbin_shu-mutow: sure, i think kevinz was talking about another demo in his talk :)03:14
kevinzshu-mutow: yes, about zun with K8s03:14
shu-mutowI see.  Zun UI does not have features about "capsule" yet. sorry.03:15
hongbin_shu-mutow: no problem at all, capsule is for k8s so it is not urgent for zun ui to have it03:15
hongbin_anything else about this topic ?03:17
shu-mutowo/03:17
shu-mutowDoes someone have plan to implement retrieving AZ list for user onto python-zunclient regarding with https://review.openstack.org/#/c/564670/ ?03:17
kevinzshu-mutow: That's OK :-)03:17
shu-mutowkevinz: thanks03:17
shu-mutowkevinz: Zun UI needs to get AZ list to add new option for container creation, i.e. availability_zone, on the patch https://review.openstack.org/#/c/560759/03:18
hongbin_deepak_mourya: ^^03:18
shu-mutowkevinz: deepak_mourya: I'm waiting for the implementation. ;)03:19
kevinzshu-mutow: Aha, I think deepak is working on this area.03:19
hongbin_deepak_mourya: btw, great work on the implementation of AZ at server side, appreciate your work03:20
hongbin_shu-mutow: let's see if there is volunteer for the client side implementation, if not, i will be the default03:20
hongbin_ok, moving on03:21
deepak_mouryakevinz ok i will see this03:21
hongbin_2. Introduce quota for containers (assignee: kiennt26)03:21
hongbin_it looks kien is not here, skip this one03:21
hongbin_3. Refine the image API endpoints (assignee: hongbin)03:21
hongbin_#link https://blueprints.launchpad.net/zun/+spec/rework-image-api03:21
hongbin_for this one, i would like to know what is your opinion on this proposal03:22
hongbin_(the BP is not approved yet)03:22
hongbin_let's pause a few minutes to read the proposal03:23
hongbin_if there is no concern about this, i will approve the BP03:24
hongbin_any concern? question?03:24
hongbin_seems no03:25
hongbin_approve it03:25
kevinzhongbin_:One question03:25
hongbin_sure03:25
kevinzso this BP is give end users who is not the admin to manage the container image in specify host?03:26
hongbin_yes03:26
kevinzhost is the glance service running?03:26
hongbin_host is the compute node03:26
hongbin_run "zun host-list" will list all the hosts03:27
hongbin_glance is running on the controller node03:27
kevinzOK, so the image is Dockerhub?03:27
kevinzsorry03:27
kevinzdocker repository in the host03:27
openstackgerritchenyb4 proposed openstack/zun master: Fix list and show return status different  https://review.openstack.org/56677803:27
hongbin_yes03:27
kevinzOK.03:27
kevinzIf an image is pulled by admin, other user could also manage it?03:28
hongbin_in a cloud, users cannot and shouldn't manage images of individual host03:28
hongbin_because host is invisible to end-users03:29
hongbin_basically, after the BP, only admin can manage local images03:30
kevinzOK, sure, I think I'm OK with this BP03:30
hongbin_end-users can specify the image when creating the container, the image will be automatically pull down if it doesn't exist in the host03:30
hongbin_kevinz: cool03:30
hongbin_actually, the image api caused a lot lot of confusion for our users, that is why i propose this03:31
hongbin_some people think it is for managing glance image, some people think it is for managing snapshot...03:31
kevinzhongbin_: yes sure. Just do it:-)03:31
hongbin_ok03:32
hongbin_then, move on03:32
hongbin_#topic Bugs03:32
*** openstack changes topic to "Bugs (Meeting topic: zun)"03:32
hongbin_1. Interactive exec via proxy (assignee: hongbin)03:32
hongbin_#link https://bugs.launchpad.net/zun/+bug/173507603:32
openstackLaunchpad bug 1735076 in Zun "Interactive exec via proxy" [Critical,In progress] - Assigned to hongbin (hongbin034)03:32
hongbin_i actually doesn't have much time to look at this bug last week03:32
hongbin_hope will have time to fix it this week03:33
hongbin_ok, then moving on03:33
hongbin_#topic open discussion03:33
*** openstack changes topic to "open discussion (Meeting topic: zun)"03:33
hongbin_any other topic to discuss ?03:33
hongbin_seems there is no more03:34
hongbin_all, thanks for joining, see you next time03:34
hongbin_#endmeeting03:34
*** openstack changes topic to "Container management service for OpenStack"03:34
openstackMeeting ended Tue May  8 03:34:54 2018 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)03:34
openstackMinutes:        http://eavesdrop.openstack.org/meetings/zun/2018/zun.2018-05-08-03.00.html03:34
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/zun/2018/zun.2018-05-08-03.00.txt03:34
openstackLog:            http://eavesdrop.openstack.org/meetings/zun/2018/zun.2018-05-08-03.00.log.html03:34
chenyb4Hi, hongbin_ kevinz Is there anything i can do?03:40
*** nicolasbock has quit IRC03:40
chenyb4I have some time to do something.03:41
hongbin_chenyb4: i remember kevinz talked about the missing of requested cpu/memory in zun, if you interest in it03:47
chenyb4hongbin_, ok03:48
*** mrf has quit IRC03:49
hongbin_chenyb4: so basically, zun can run a container with 'limit' cpu/memory, however, we don't have the 'requested' cpu/memory as k8s03:49
*** janki has joined #openstack-zun03:50
chenyb4hongbin_,  Will zun manage k8s?03:51
hongbin_chenyb4: no, the plan is to enable k8s to provision zun container: https://github.com/virtual-kubelet/virtual-kubelet/issues/2203:52
hongbin_folks, i need to leave now, see you all03:54
*** hongbin_ has quit IRC03:55
openstackgerritMerged openstack/zun master: Follow the new PTI for document build  https://review.openstack.org/56112604:51
openstackgerritMerged openstack/zun master: Update install doc for ubuntu  https://review.openstack.org/56677304:51
kevinzHi chenyb4, here is the ref for Kubernetes requests cpu/memory:https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/04:59
kevinzchenyb4: and the link in Chinese also is a good help04:59
kevinzchenyb4: If you need any help about that, feel free to ping me05:00
kevinzchenyb4: Thanks a lot05:01
chenyb4kevinz, ok, thanks05:04
kevinzchenyb4: sorry, miss one : http://dockone.io/article/250905:05
kevinzchenyb4, in Zun, our cpu/memory for container is the same as resource.limits. You could see here: https://github.com/openstack/zun/blob/master/zun/container/docker/driver.py#L25605:06
openstackgerritchenyb4 proposed openstack/zun master: Fix list and show return status different  https://review.openstack.org/56677805:11
chenyb4kevinz, cool05:11
kevinzchenyb4, Thanks for interest on this :-)05:13
*** vabada has joined #openstack-zun06:47
openstackgerritKevin Zhao proposed openstack/zun master: Change the DB create procedure of capsule create  https://review.openstack.org/56628906:52
openstackgerritKevin Zhao proposed openstack/zun master: Change the DB create procedure of capsule create  https://review.openstack.org/56628907:05
openstackgerritKevin Zhao proposed openstack/zun master: Add Capsule Status Sync  https://review.openstack.org/56643607:07
*** mrf has joined #openstack-zun07:11
*** caisan has quit IRC07:48
*** caisan has joined #openstack-zun07:52
*** vabada has quit IRC08:55
*** vabada has joined #openstack-zun08:55
*** kevinz has quit IRC09:00
*** shu-mutow is now known as shu-mutow-AWAY09:39
*** vabada has quit IRC09:46
*** vabada has joined #openstack-zun09:46
*** chenyb4 has quit IRC10:09
*** caowei has quit IRC10:20
*** caisan has quit IRC10:33
*** nicolasbock has joined #openstack-zun10:36
*** caoyuan has quit IRC12:01
*** caoyuan has joined #openstack-zun12:02
*** caoyuan has quit IRC12:07
*** kiseok7 has quit IRC12:10
*** chenyb4 has joined #openstack-zun12:40
*** openstackgerrit has quit IRC12:49
*** caoyuan has joined #openstack-zun12:53
*** caisan has joined #openstack-zun13:16
*** hongbin has joined #openstack-zun13:59
*** fabian_ has joined #openstack-zun14:05
*** chenyb4 has quit IRC14:10
*** fabian_ is now known as chenyb414:35
*** openstackgerrit has joined #openstack-zun15:02
openstackgerritchenyb4 proposed openstack/python-zunclient master: Change container stats help message  https://review.openstack.org/56691715:02
openstackgerritchenyb4 proposed openstack/python-zunclient master: Change container stats description information  https://review.openstack.org/56691715:05
caisanchenyb4, ping?15:15
caisanhongbin, ping15:17
hongbincaisan: sup15:17
*** chenyb4 has quit IRC15:17
caisanhongbin, I run a container base on a kuryr network, but ERROR response like this: docker: Error response from daemon: IpamDriver.RequestAddress: Requested ip address {'subnet_id': u'52772c3a-03dc-40d5-8cbb-0cbdc9b40388', 'ip_address': u'7.0.0.4'} already belongs to a bound Neutron port: 83257a57-2599-483c-ba2b-4d29ef24c7a1.15:18
caisanWhat does it mean ?15:18
caisanNetwork Create: docker network create --driver=kuryr --ipam-driver=kuryr --subnet 7.0.0.0/16 --gateway=7.0.0.1 --ip-range 7.0.0.0/24 -o neutron.pool.name=neutron_pool2 --ipam-opt=neutron.pool.name=neutron_pool2 foo115:19
hongbincaisan: the error is raised from here: https://github.com/openstack/kuryr-libnetwork/blob/master/kuryr_libnetwork/controllers.py#L54915:22
hongbincaisan: i am not sure why it raises this error though15:23
caisanhongbin, I know, Must I run kruyr-server on the controller node instead of compute node(zun-compute) ?15:25
hongbincaisan: maybe, i am really not sure15:26
caisanhongbin, I try it15:35
caisanhongbin, seems we have to run kuryr-server on the controller node15:35
caisanOtherwise may get failed.15:36
hongbincaisan: yes, i guess kuryr needs to do the port binding in compute node15:37
hongbinthat is why15:38
*** janki has quit IRC16:01
openstackgerritcaishan proposed openstack/zun master: [WIP] Add network-create to server side  https://review.openstack.org/56480016:08
*** caisan has quit IRC16:10
*** harlowja has joined #openstack-zun16:17
*** caoyuan has quit IRC16:35
*** caoyuan has joined #openstack-zun16:36
*** caoyuan has quit IRC16:38
*** mrf has quit IRC17:20
*** harlowja has quit IRC17:31
*** harlowja has joined #openstack-zun18:25
*** vabada2 has joined #openstack-zun18:26
*** vabada has quit IRC18:27
*** strigazi has quit IRC18:30
*** strigazi has joined #openstack-zun18:31
*** openstackgerrit has quit IRC18:49
*** hongbin has quit IRC22:48

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