Monday, 2018-05-07

openstackgerritHongbin Lu proposed openstack/zun master: [NOT READY FOR REVIEW][WIP] Support websocket proxy for exec  https://review.openstack.org/56348200:09
openstackgerritHongbin Lu proposed openstack/python-zunclient master: [WIP] Connect to websocket proxy for exec  https://review.openstack.org/56349200:09
*** caoyuan has joined #openstack-zun00:49
*** fabian_ has joined #openstack-zun01:03
*** caoyuan has quit IRC01:05
*** caowei has joined #openstack-zun01:14
*** hongbin has joined #openstack-zun01:27
*** kevzha01 has joined #openstack-zun01:43
*** kevzha01 is now known as kevinz01:43
kevinzhongbin: ping01:43
hongbinkevinz: hey01:50
*** caoyuan has joined #openstack-zun01:51
kevinzhongbin: :-) Good evening01:57
kevinzhongbin: I have a question about sync_container_status function in compute/manager.py01:57
kevinzhongbin: The default interval is 60s. Capsule also want to use the containers status updated from this function. Does it a little long interval for container status check01:58
kevinz?01:58
hongbinkevinz: so, for example, you want the container sync to be 60s and the capsule sync to be 120s ?02:14
kevinzhongbin: Aha, not. could we change the interval from 60s to a little short time?02:15
kevinzhongbin: 60s is a little long for tracking status02:16
hongbinkevinz: i see02:16
hongbinkevinz: if it is too short, it won't incur overhead on each sync02:16
hongbinkevinz: if it is too long, it is undesirable though02:17
hongbinkevinz: i think the interval is configurable?02:17
hongbinkevinz: 60s is the default right?02:17
kevinzhongbin: yes, 60 is the default02:17
hongbinkevinz: yes, then, you want the default to be shorter ?02:18
hongbinkevinz: as long as it is configurable, i don't have strong opinion on the default02:18
kevinzI just think there could be a better default02:18
hongbinsure02:18
kevinzOK, i will check kubernetes default time02:19
kevinzfor container status check02:19
hongbinok02:19
hongbinkevinz: the alternative approach i can think of is to listen to the docker event02:20
hongbinkevinz: so we can create a background thread, to listen to docker event for container state change02:20
kevinzhongbin: that may be a good approach02:20
hongbinkevinz: and sync the status accordingly02:20
hongbinkevinz: yes02:21
hongbinkevinz: it is definitely better to periodic task from performance point of view02:21
kevinzhongbin: I think so. Good point02:22
hongbinhttps://docs.docker.com/engine/reference/commandline/events/02:22
kevinzhongbin: Thanks for the link. I will check to see how to use it02:22
hongbinkevinz: cool02:22
hongbinkevinz: however, i think this is a long term approach, if you want something before the summit, change the default value is possibly quicker02:24
hongbinkevinz: it is your call02:24
kevinzhongbin: Yes, I see. I will change default value as a quick approach02:25
hongbinok02:26
openstackgerritHongbin Lu proposed openstack/zun master: Follow the new PTI for document build  https://review.openstack.org/56112602:41
openstackgerritHongbin Lu proposed openstack/zun master: Follow the new PTI for document build  https://review.openstack.org/56112602:42
*** fabian_ is now known as chenyb402:44
kevinzhongbin: Still alive?02:55
hongbinkevinz: hey02:56
kevinzhongbin: Hey hongbin  one more question02:56
kevinzhongbin: I have a patch here: https://review.openstack.org/#/c/566436/1/zun/compute/manager.py02:57
kevinzin the line 1067 I call "list_by_capsul_id", but it could not get any containers in tempest02:58
kevinzkevinz: Does it related to "all_projects"?02:58
hongbinkevinz: yes, i believe this is likely to be the reason03:00
hongbinkevinz: it needs admin context in periodic task03:00
kevinzhongbin: OK, sure, I will added. just set context.all_projects=True before calling the function is enough?03:02
hongbinkevinz: not sure exactly, but you can try that03:03
kevinzhongbin: sure, thanks :-)03:03
hongbinin https://review.openstack.org/#/c/566436/1/zun/compute/manager.py , the line #1125 looks strange03:10
openstackgerritHongbin Lu proposed openstack/zun master: Follow the new PTI for document build  https://review.openstack.org/56112603:59
*** hongbin has quit IRC03:59
*** threestrands has joined #openstack-zun04:04
*** caisan has joined #openstack-zun04:10
*** caoyuan_ has joined #openstack-zun04:46
*** caoyuan has quit IRC04:47
*** janki has joined #openstack-zun04:49
openstackgerritKevin Zhao proposed openstack/zun master: Change the DB create procedure of capsule create  https://review.openstack.org/56628905:06
openstackgerritKevin Zhao proposed openstack/zun master: Add Capsule Status Sync  https://review.openstack.org/56643605:06
openstackgerritMerged openstack/zun master: Remove the duplicated index in quota_classes  https://review.openstack.org/56644206:01
openstackgerritMerged openstack/zun master: Move delete_image to container driver  https://review.openstack.org/55768606:01
openstackgerritKevin Zhao proposed openstack/zun master: Add Capsule Status Sync  https://review.openstack.org/56643606:32
chenyb4Hi, kevinz06:36
kevinzchenyb4: Hi06:37
chenyb4When i use 'zun create xxx' the container still created status06:37
chenyb4Use 'docker run -it --rm --net=test_net cirros:latest /bin/sh' appear binding error.06:38
chenyb4docker: Error response from daemon: failed to create endpoint hardcore_wilson on network test_net: NetworkDriver.CreateEndpoint: vif_type(binding_failed) is not supported. A binding script for this type can't be found.06:38
chenyb4I don't how can i fix it.  Can you give me a help ?06:38
kevinzchenyb4: Sure, could you file a bug to launchpad/zun, so that I can easy reproduce this bug.06:39
kevinzcould you tell me what is the "test_net" is? created by neutron06:44
chenyb4yes, use kuryr create network06:44
chenyb4I found any bug record, but didn't give me help. https://bugs.launchpad.net/kuryr/+bug/163229106:45
openstackLaunchpad bug 1632291 in kuryr "veth pair cannot be created as vif_type is invalid" [Undecided,Invalid]06:45
*** kevzha01_ has joined #openstack-zun06:53
*** kevzha01__ has joined #openstack-zun06:54
*** kevinz has quit IRC06:57
*** kevzha01_ has quit IRC06:58
*** kevzha01__ is now known as kevinz07:04
kevinzchenyb4: Sorry I've tried to reproduce the bug.07:04
chenyb4kevinz, thanks.07:05
kevinzchenyb4: But I'm not familiar with how to create kuryr network, each of the command is failed. do you have a proper way to create a kuryr network?07:06
*** vabada has joined #openstack-zun07:07
kevinzhttps://docs.openstack.org/kuryr-libnetwork/latest/readme.html#kuryr-libnetwork07:07
chenyb4kevinz, https://docs.openstack.org/kuryr-libnetwork/latest/install/verify.html07:08
kevinzchenyb4: Follow your procedure, I could not reproduce the bug.07:09
kevinzchenyb4, you could see here: http://paste.openstack.org/show/720465/07:10
chenyb4kevinz, I didn't ensure my env configure error.07:11
kevinzwhich zun commit you are using?07:12
chenyb4kevinz, master branch07:12
kevinzchenyb4: the newest patches?07:12
kevinzI use the version: git fetch https://git.openstack.org/openstack/zun refs/changes/36/566436/3 && git checkout FETCH_HEAD07:13
chenyb4I think my env configure error. It has nothing to do with code.07:15
*** kevzha01 has joined #openstack-zun07:15
*** kevinz has quit IRC07:17
*** threestrands has quit IRC07:39
*** janki has quit IRC07:47
*** janki has joined #openstack-zun07:53
openstackgerritMerged openstack/zun-ui master: Imported Translations from Zanata  https://review.openstack.org/56440508:45
*** vabada has quit IRC08:47
*** caoyuan_ has quit IRC09:57
*** caoyuan has joined #openstack-zun10:03
*** caoyuan has quit IRC10:07
openstackgerritcaishan proposed openstack/zun master: [WIP] Add network-create to server side  https://review.openstack.org/56480010:08
openstackgerritKevin Zhao proposed openstack/zun master: Change the DB create procedure of capsule create  https://review.openstack.org/56628910:14
*** caisan has quit IRC10:16
*** chenyb4 has quit IRC10:21
*** nicolasbock has joined #openstack-zun12:09
*** fabian_ has joined #openstack-zun12:40
*** mrf has joined #openstack-zun12:46
mrfHi Zuns!12:46
mrf:)12:46
mrfim interested into proyect12:46
mrffor test it12:47
mrfhow is going?12:47
*** caoyuan has joined #openstack-zun12:56
*** deepak_ has quit IRC12:56
*** fabian_ is now known as chenyb412:59
*** deepak_ has joined #openstack-zun13:09
*** openstackgerrit has quit IRC13:11
*** fabian_ has joined #openstack-zun13:21
*** fabian_ has quit IRC13:33
*** kiennt26 has joined #openstack-zun13:58
vkmcmrf, hey! have you tried setting up an env with zun already?13:58
mrfyes13:59
mrfit broke my RDO envirioment13:59
mrf:(13:59
mrfpre-production13:59
*** caisan has joined #openstack-zun14:12
mrfit looks amazing at demos for ISP envirioment14:13
*** openstackgerrit has joined #openstack-zun14:20
openstackgerritchenyb4 proposed openstack/zun master: Change service list display error  https://review.openstack.org/56659214:20
openstackgerritchenyb4 proposed openstack/zun master: Change doc service list display error  https://review.openstack.org/56659214:23
*** kevzha01_ has joined #openstack-zun14:27
*** chenyb4 has quit IRC14:28
*** kevzha01 has quit IRC14:29
*** kevzha01 has joined #openstack-zun14:31
*** kevzha01_ has quit IRC14:33
*** kiennt26 has quit IRC14:37
*** hongbin has joined #openstack-zun14:56
*** kevzha01_ has joined #openstack-zun15:06
*** kevzha01 has quit IRC15:08
caisanhongbin, ping15:14
hongbincaisan: hey15:14
caisanhongbin, have try to run the sun-compute service in a docker container ?15:14
caisanHave you ever try15:14
hongbinno15:14
caisan:(15:14
vkmcmrf, haven't tried with RDO, are you using a deployment tool?15:15
caisanhongbin, I have tried this afternoon, when I `import docker`, I got an error when I get the docker.APIClient instance in the container15:16
hongbincaisan: i see, you are using kolla ? or devstack?15:18
*** caoyuan has quit IRC15:18
caisanhongbin, both not, I just simply run  the sun-compute service in a docker container, maybe same with the way of kolla.15:19
caisans/sun-compute/zun-compute15:19
*** caoyuan has joined #openstack-zun15:20
hongbincaisan: how you run the container in particular ?15:20
mrfim very interested into zun for my customers will connect again in few minutes, here Openstack Packstack Queens15:21
*** mrf has quit IRC15:21
caisanhongbin, https://paste.ubuntu.com/p/yRXmRW9S2W/15:21
caisanrun docker container with parameter --net host15:22
caisanthe link is the error message.15:22
hongbincaisan: so you are using a pure docker-py inside a container, right ?15:24
caisanhongbin, that is right15:24
*** caoyuan has quit IRC15:25
caisanShould  I need do another thing?15:25
hongbincaisan: perhaps it is related to https://github.com/ansible/awx/issues/119715:27
hongbincaisan: btw, you can fill a bug report against the docker-py github repo and let's the docker-py maintainer to look at it15:28
hongbinhttps://github.com/docker/docker-py15:29
hongbinsimply open an issue there15:29
hongbinadd me to the bug report if you want15:30
caisanhongbin, that's helpful, thanks :)15:33
caisanhongbin,Another one, I have add the zun network-create to the server side, still in WIP.15:35
hongbincaisan: yes, i saw that15:35
caisanhongbin, when transit the network object the zun-compute, I got this error : https://paste.ubuntu.com/p/K7S35K28bt/15:36
hongbinok, let me look at your patch15:37
caisanhongbin, Add a new object Network cause this error, I stuck in the trouble this afternoon15:37
caisanhongbin, ok15:37
*** mrf2 has joined #openstack-zun15:40
mrf2Hi again :)15:40
caisanmrf2, hi :)15:40
mrf2well some one deployed zun in centos ?15:41
hongbinmrf2: i am not sure, for development, i guess people can easily spin a zun deployment in centos, for real deployment, the gap is that we don't have installation guide for centos (the only one we have is ubuntu)15:44
hongbinmrf2: however, i expect the installation step would be similar between ubuntu and centos15:45
hongbin#link https://docs.openstack.org/zun/latest/install/15:45
mrf2yes15:46
mrf2i will try again a script for full deploy in one touch tomorrow night15:46
mrf2we need it for our customer15:47
mrf2they want to deploy MariaDB, Owncloud etc... in containers15:47
hongbini see15:47
hongbinso what we can do in particular for help?15:48
mrf2i will try to do my best15:49
mrf2but i will post all "error" on CentOS envirioments15:49
mrf2maybe it helps to developers15:49
mrf2in something15:49
hongbinsure15:50
hongbinplease feel to ping me or someone else if you saw an error or create a bug report15:50
caisanGood night(morning), you all, have a nice dream(day) :)15:54
hongbincaisan: will leave comment in your patch15:57
hongbincaisan: see you15:57
caisanhongbin, very thanks, see you15:57
*** kevzha01__ has joined #openstack-zun15:57
*** caisan has quit IRC16:00
*** kevzha01_ has quit IRC16:00
*** openstackgerrit has quit IRC16:19
*** nguyenhai_ has joined #openstack-zun18:09
*** nguyenhai has quit IRC18:12
*** janki has quit IRC18:13
*** mrf has joined #openstack-zun18:49
*** mrf2 has quit IRC18:53
*** deepak_ has quit IRC20:21
*** deepak_ has joined #openstack-zun20:34
*** lxkong_ has joined #openstack-zun20:46
*** deepak_ has quit IRC20:53
*** lxkong has quit IRC20:53
*** lxkong_ is now known as lxkong20:53
*** deepak_ has joined #openstack-zun20:54
*** hongbin has quit IRC22:46
-openstackstatus- NOTICE: Any devstack job failure due to rsync errors related to tripleo-incubator can safely be rechecked now22:58

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