openstackgerrit | Hongbin Lu proposed openstack/zun master: [NOT READY FOR REVIEW][WIP] Support websocket proxy for exec https://review.openstack.org/563482 | 00:09 |
---|---|---|
openstackgerrit | Hongbin Lu proposed openstack/python-zunclient master: [WIP] Connect to websocket proxy for exec https://review.openstack.org/563492 | 00:09 |
*** caoyuan has joined #openstack-zun | 00:49 | |
*** fabian_ has joined #openstack-zun | 01:03 | |
*** caoyuan has quit IRC | 01:05 | |
*** caowei has joined #openstack-zun | 01:14 | |
*** hongbin has joined #openstack-zun | 01:27 | |
*** kevzha01 has joined #openstack-zun | 01:43 | |
*** kevzha01 is now known as kevinz | 01:43 | |
kevinz | hongbin: ping | 01:43 |
hongbin | kevinz: hey | 01:50 |
*** caoyuan has joined #openstack-zun | 01:51 | |
kevinz | hongbin: :-) Good evening | 01:57 |
kevinz | hongbin: I have a question about sync_container_status function in compute/manager.py | 01:57 |
kevinz | hongbin: 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 check | 01:58 |
kevinz | ? | 01:58 |
hongbin | kevinz: so, for example, you want the container sync to be 60s and the capsule sync to be 120s ? | 02:14 |
kevinz | hongbin: Aha, not. could we change the interval from 60s to a little short time? | 02:15 |
kevinz | hongbin: 60s is a little long for tracking status | 02:16 |
hongbin | kevinz: i see | 02:16 |
hongbin | kevinz: if it is too short, it won't incur overhead on each sync | 02:16 |
hongbin | kevinz: if it is too long, it is undesirable though | 02:17 |
hongbin | kevinz: i think the interval is configurable? | 02:17 |
hongbin | kevinz: 60s is the default right? | 02:17 |
kevinz | hongbin: yes, 60 is the default | 02:17 |
hongbin | kevinz: yes, then, you want the default to be shorter ? | 02:18 |
hongbin | kevinz: as long as it is configurable, i don't have strong opinion on the default | 02:18 |
kevinz | I just think there could be a better default | 02:18 |
hongbin | sure | 02:18 |
kevinz | OK, i will check kubernetes default time | 02:19 |
kevinz | for container status check | 02:19 |
hongbin | ok | 02:19 |
hongbin | kevinz: the alternative approach i can think of is to listen to the docker event | 02:20 |
hongbin | kevinz: so we can create a background thread, to listen to docker event for container state change | 02:20 |
kevinz | hongbin: that may be a good approach | 02:20 |
hongbin | kevinz: and sync the status accordingly | 02:20 |
hongbin | kevinz: yes | 02:21 |
hongbin | kevinz: it is definitely better to periodic task from performance point of view | 02:21 |
kevinz | hongbin: I think so. Good point | 02:22 |
hongbin | https://docs.docker.com/engine/reference/commandline/events/ | 02:22 |
kevinz | hongbin: Thanks for the link. I will check to see how to use it | 02:22 |
hongbin | kevinz: cool | 02:22 |
hongbin | kevinz: however, i think this is a long term approach, if you want something before the summit, change the default value is possibly quicker | 02:24 |
hongbin | kevinz: it is your call | 02:24 |
kevinz | hongbin: Yes, I see. I will change default value as a quick approach | 02:25 |
hongbin | ok | 02:26 |
openstackgerrit | Hongbin Lu proposed openstack/zun master: Follow the new PTI for document build https://review.openstack.org/561126 | 02:41 |
openstackgerrit | Hongbin Lu proposed openstack/zun master: Follow the new PTI for document build https://review.openstack.org/561126 | 02:42 |
*** fabian_ is now known as chenyb4 | 02:44 | |
kevinz | hongbin: Still alive? | 02:55 |
hongbin | kevinz: hey | 02:56 |
kevinz | hongbin: Hey hongbin one more question | 02:56 |
kevinz | hongbin: I have a patch here: https://review.openstack.org/#/c/566436/1/zun/compute/manager.py | 02:57 |
kevinz | in the line 1067 I call "list_by_capsul_id", but it could not get any containers in tempest | 02:58 |
kevinz | kevinz: Does it related to "all_projects"? | 02:58 |
hongbin | kevinz: yes, i believe this is likely to be the reason | 03:00 |
hongbin | kevinz: it needs admin context in periodic task | 03:00 |
kevinz | hongbin: OK, sure, I will added. just set context.all_projects=True before calling the function is enough? | 03:02 |
hongbin | kevinz: not sure exactly, but you can try that | 03:03 |
kevinz | hongbin: sure, thanks :-) | 03:03 |
hongbin | in https://review.openstack.org/#/c/566436/1/zun/compute/manager.py , the line #1125 looks strange | 03:10 |
openstackgerrit | Hongbin Lu proposed openstack/zun master: Follow the new PTI for document build https://review.openstack.org/561126 | 03:59 |
*** hongbin has quit IRC | 03:59 | |
*** threestrands has joined #openstack-zun | 04:04 | |
*** caisan has joined #openstack-zun | 04:10 | |
*** caoyuan_ has joined #openstack-zun | 04:46 | |
*** caoyuan has quit IRC | 04:47 | |
*** janki has joined #openstack-zun | 04:49 | |
openstackgerrit | Kevin Zhao proposed openstack/zun master: Change the DB create procedure of capsule create https://review.openstack.org/566289 | 05:06 |
openstackgerrit | Kevin Zhao proposed openstack/zun master: Add Capsule Status Sync https://review.openstack.org/566436 | 05:06 |
openstackgerrit | Merged openstack/zun master: Remove the duplicated index in quota_classes https://review.openstack.org/566442 | 06:01 |
openstackgerrit | Merged openstack/zun master: Move delete_image to container driver https://review.openstack.org/557686 | 06:01 |
openstackgerrit | Kevin Zhao proposed openstack/zun master: Add Capsule Status Sync https://review.openstack.org/566436 | 06:32 |
chenyb4 | Hi, kevinz | 06:36 |
kevinz | chenyb4: Hi | 06:37 |
chenyb4 | When i use 'zun create xxx' the container still created status | 06:37 |
chenyb4 | Use 'docker run -it --rm --net=test_net cirros:latest /bin/sh' appear binding error. | 06:38 |
chenyb4 | docker: 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 |
chenyb4 | I don't how can i fix it. Can you give me a help ? | 06:38 |
kevinz | chenyb4: Sure, could you file a bug to launchpad/zun, so that I can easy reproduce this bug. | 06:39 |
kevinz | could you tell me what is the "test_net" is? created by neutron | 06:44 |
chenyb4 | yes, use kuryr create network | 06:44 |
chenyb4 | I found any bug record, but didn't give me help. https://bugs.launchpad.net/kuryr/+bug/1632291 | 06:45 |
openstack | Launchpad bug 1632291 in kuryr "veth pair cannot be created as vif_type is invalid" [Undecided,Invalid] | 06:45 |
*** kevzha01_ has joined #openstack-zun | 06:53 | |
*** kevzha01__ has joined #openstack-zun | 06:54 | |
*** kevinz has quit IRC | 06:57 | |
*** kevzha01_ has quit IRC | 06:58 | |
*** kevzha01__ is now known as kevinz | 07:04 | |
kevinz | chenyb4: Sorry I've tried to reproduce the bug. | 07:04 |
chenyb4 | kevinz, thanks. | 07:05 |
kevinz | chenyb4: 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-zun | 07:07 | |
kevinz | https://docs.openstack.org/kuryr-libnetwork/latest/readme.html#kuryr-libnetwork | 07:07 |
chenyb4 | kevinz, https://docs.openstack.org/kuryr-libnetwork/latest/install/verify.html | 07:08 |
kevinz | chenyb4: Follow your procedure, I could not reproduce the bug. | 07:09 |
kevinz | chenyb4, you could see here: http://paste.openstack.org/show/720465/ | 07:10 |
chenyb4 | kevinz, I didn't ensure my env configure error. | 07:11 |
kevinz | which zun commit you are using? | 07:12 |
chenyb4 | kevinz, master branch | 07:12 |
kevinz | chenyb4: the newest patches? | 07:12 |
kevinz | I use the version: git fetch https://git.openstack.org/openstack/zun refs/changes/36/566436/3 && git checkout FETCH_HEAD | 07:13 |
chenyb4 | I think my env configure error. It has nothing to do with code. | 07:15 |
*** kevzha01 has joined #openstack-zun | 07:15 | |
*** kevinz has quit IRC | 07:17 | |
*** threestrands has quit IRC | 07:39 | |
*** janki has quit IRC | 07:47 | |
*** janki has joined #openstack-zun | 07:53 | |
openstackgerrit | Merged openstack/zun-ui master: Imported Translations from Zanata https://review.openstack.org/564405 | 08:45 |
*** vabada has quit IRC | 08:47 | |
*** caoyuan_ has quit IRC | 09:57 | |
*** caoyuan has joined #openstack-zun | 10:03 | |
*** caoyuan has quit IRC | 10:07 | |
openstackgerrit | caishan proposed openstack/zun master: [WIP] Add network-create to server side https://review.openstack.org/564800 | 10:08 |
openstackgerrit | Kevin Zhao proposed openstack/zun master: Change the DB create procedure of capsule create https://review.openstack.org/566289 | 10:14 |
*** caisan has quit IRC | 10:16 | |
*** chenyb4 has quit IRC | 10:21 | |
*** nicolasbock has joined #openstack-zun | 12:09 | |
*** fabian_ has joined #openstack-zun | 12:40 | |
*** mrf has joined #openstack-zun | 12:46 | |
mrf | Hi Zuns! | 12:46 |
mrf | :) | 12:46 |
mrf | im interested into proyect | 12:46 |
mrf | for test it | 12:47 |
mrf | how is going? | 12:47 |
*** caoyuan has joined #openstack-zun | 12:56 | |
*** deepak_ has quit IRC | 12:56 | |
*** fabian_ is now known as chenyb4 | 12:59 | |
*** deepak_ has joined #openstack-zun | 13:09 | |
*** openstackgerrit has quit IRC | 13:11 | |
*** fabian_ has joined #openstack-zun | 13:21 | |
*** fabian_ has quit IRC | 13:33 | |
*** kiennt26 has joined #openstack-zun | 13:58 | |
vkmc | mrf, hey! have you tried setting up an env with zun already? | 13:58 |
mrf | yes | 13:59 |
mrf | it broke my RDO envirioment | 13:59 |
mrf | :( | 13:59 |
mrf | pre-production | 13:59 |
*** caisan has joined #openstack-zun | 14:12 | |
mrf | it looks amazing at demos for ISP envirioment | 14:13 |
*** openstackgerrit has joined #openstack-zun | 14:20 | |
openstackgerrit | chenyb4 proposed openstack/zun master: Change service list display error https://review.openstack.org/566592 | 14:20 |
openstackgerrit | chenyb4 proposed openstack/zun master: Change doc service list display error https://review.openstack.org/566592 | 14:23 |
*** kevzha01_ has joined #openstack-zun | 14:27 | |
*** chenyb4 has quit IRC | 14:28 | |
*** kevzha01 has quit IRC | 14:29 | |
*** kevzha01 has joined #openstack-zun | 14:31 | |
*** kevzha01_ has quit IRC | 14:33 | |
*** kiennt26 has quit IRC | 14:37 | |
*** hongbin has joined #openstack-zun | 14:56 | |
*** kevzha01_ has joined #openstack-zun | 15:06 | |
*** kevzha01 has quit IRC | 15:08 | |
caisan | hongbin, ping | 15:14 |
hongbin | caisan: hey | 15:14 |
caisan | hongbin, have try to run the sun-compute service in a docker container ? | 15:14 |
caisan | Have you ever try | 15:14 |
hongbin | no | 15:14 |
caisan | :( | 15:14 |
vkmc | mrf, haven't tried with RDO, are you using a deployment tool? | 15:15 |
caisan | hongbin, I have tried this afternoon, when I `import docker`, I got an error when I get the docker.APIClient instance in the container | 15:16 |
hongbin | caisan: i see, you are using kolla ? or devstack? | 15:18 |
*** caoyuan has quit IRC | 15:18 | |
caisan | hongbin, both not, I just simply run the sun-compute service in a docker container, maybe same with the way of kolla. | 15:19 |
caisan | s/sun-compute/zun-compute | 15:19 |
*** caoyuan has joined #openstack-zun | 15:20 | |
hongbin | caisan: how you run the container in particular ? | 15:20 |
mrf | im very interested into zun for my customers will connect again in few minutes, here Openstack Packstack Queens | 15:21 |
*** mrf has quit IRC | 15:21 | |
caisan | hongbin, https://paste.ubuntu.com/p/yRXmRW9S2W/ | 15:21 |
caisan | run docker container with parameter --net host | 15:22 |
caisan | the link is the error message. | 15:22 |
hongbin | caisan: so you are using a pure docker-py inside a container, right ? | 15:24 |
caisan | hongbin, that is right | 15:24 |
*** caoyuan has quit IRC | 15:25 | |
caisan | Should I need do another thing? | 15:25 |
hongbin | caisan: perhaps it is related to https://github.com/ansible/awx/issues/1197 | 15:27 |
hongbin | caisan: btw, you can fill a bug report against the docker-py github repo and let's the docker-py maintainer to look at it | 15:28 |
hongbin | https://github.com/docker/docker-py | 15:29 |
hongbin | simply open an issue there | 15:29 |
hongbin | add me to the bug report if you want | 15:30 |
caisan | hongbin, that's helpful, thanks :) | 15:33 |
caisan | hongbin,Another one, I have add the zun network-create to the server side, still in WIP. | 15:35 |
hongbin | caisan: yes, i saw that | 15:35 |
caisan | hongbin, when transit the network object the zun-compute, I got this error : https://paste.ubuntu.com/p/K7S35K28bt/ | 15:36 |
hongbin | ok, let me look at your patch | 15:37 |
caisan | hongbin, Add a new object Network cause this error, I stuck in the trouble this afternoon | 15:37 |
caisan | hongbin, ok | 15:37 |
*** mrf2 has joined #openstack-zun | 15:40 | |
mrf2 | Hi again :) | 15:40 |
caisan | mrf2, hi :) | 15:40 |
mrf2 | well some one deployed zun in centos ? | 15:41 |
hongbin | mrf2: 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 |
hongbin | mrf2: however, i expect the installation step would be similar between ubuntu and centos | 15:45 |
hongbin | #link https://docs.openstack.org/zun/latest/install/ | 15:45 |
mrf2 | yes | 15:46 |
mrf2 | i will try again a script for full deploy in one touch tomorrow night | 15:46 |
mrf2 | we need it for our customer | 15:47 |
mrf2 | they want to deploy MariaDB, Owncloud etc... in containers | 15:47 |
hongbin | i see | 15:47 |
hongbin | so what we can do in particular for help? | 15:48 |
mrf2 | i will try to do my best | 15:49 |
mrf2 | but i will post all "error" on CentOS envirioments | 15:49 |
mrf2 | maybe it helps to developers | 15:49 |
mrf2 | in something | 15:49 |
hongbin | sure | 15:50 |
hongbin | please feel to ping me or someone else if you saw an error or create a bug report | 15:50 |
caisan | Good night(morning), you all, have a nice dream(day) :) | 15:54 |
hongbin | caisan: will leave comment in your patch | 15:57 |
hongbin | caisan: see you | 15:57 |
caisan | hongbin, very thanks, see you | 15:57 |
*** kevzha01__ has joined #openstack-zun | 15:57 | |
*** caisan has quit IRC | 16:00 | |
*** kevzha01_ has quit IRC | 16:00 | |
*** openstackgerrit has quit IRC | 16:19 | |
*** nguyenhai_ has joined #openstack-zun | 18:09 | |
*** nguyenhai has quit IRC | 18:12 | |
*** janki has quit IRC | 18:13 | |
*** mrf has joined #openstack-zun | 18:49 | |
*** mrf2 has quit IRC | 18:53 | |
*** deepak_ has quit IRC | 20:21 | |
*** deepak_ has joined #openstack-zun | 20:34 | |
*** lxkong_ has joined #openstack-zun | 20:46 | |
*** deepak_ has quit IRC | 20:53 | |
*** lxkong has quit IRC | 20:53 | |
*** lxkong_ is now known as lxkong | 20:53 | |
*** deepak_ has joined #openstack-zun | 20:54 | |
*** hongbin has quit IRC | 22:46 | |
-openstackstatus- NOTICE: Any devstack job failure due to rsync errors related to tripleo-incubator can safely be rechecked now | 22:58 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!