*** hongbin has quit IRC | 00:52 | |
*** zhurong has joined #openstack-zun | 00:56 | |
*** kevinz has joined #openstack-zun | 01:04 | |
*** zhurong has quit IRC | 01:13 | |
*** zhurong has joined #openstack-zun | 01:28 | |
*** yanyanhu has joined #openstack-zun | 01:37 | |
openstackgerrit | feng.shengqin proposed openstack/zun master: Add the docs for API Microversion https://review.openstack.org/460857 | 01:45 |
---|---|---|
*** zhenguo has joined #openstack-zun | 01:48 | |
*** zhurong has quit IRC | 02:11 | |
*** zhurong has joined #openstack-zun | 02:23 | |
*** Shunli has joined #openstack-zun | 02:24 | |
*** hongbin has joined #openstack-zun | 02:40 | |
*** zhurong has quit IRC | 02:43 | |
*** caowei has joined #openstack-zun | 02:47 | |
hongbin | kevinz: there? | 02:49 |
kevinz | hongbin: Yeah | 02:49 |
kevinz | hongbin: Good evening | 02:49 |
hongbin | kevinz: good work for the streaming patch | 02:50 |
kevinz | hongbin: My pleasure | 02:50 |
hongbin | kevinz: it is working, although i am picky about the low level code | 02:50 |
hongbin | kevinz: just wonder where you code the code in that file? | 02:50 |
*** vikasc has quit IRC | 02:51 | |
kevinz | hongbin: Haha, I see your comments | 02:51 |
hongbin | kevinz: copy the code | 02:51 |
kevinz | hongbin: I've copyed from a project | 02:51 |
hongbin | kevinz: i see | 02:52 |
kevinz | wait a minutes, I will find for you | 02:52 |
hongbin | ok | 02:52 |
kevinz | https://github.com/dpallot/simple-websocket-server | 02:53 |
hongbin | kevinz: i just wonder why you are not considering websockify at the beginning, is there any difficulties of using that library? | 02:53 |
kevinz | https://github.com/dpallot/simple-websocket-server/blob/master/SimpleWebSocketServer/SimpleWebSocketServer.py | 02:54 |
*** vikasc has joined #openstack-zun | 02:54 | |
kevinz | hongbin: Yeah, websocketify is proxy from websocket to tcp port | 02:54 |
hongbin | kevinz: it cannnot proxy to http? | 02:55 |
kevinz | hongbin: And our case is proxy from websocket to websocket. so I drop it. | 02:55 |
kevinz | hongbin: not very sure about that, I think I can investigate more about this. | 02:55 |
hongbin | kevinz: i think docker attach supports http as an alternative of websocket? | 02:55 |
hongbin | ok | 02:55 |
kevinz | hongbin: If websocketify work, that will be easy | 02:56 |
hongbin | kevinz: i see | 02:56 |
hongbin | kevinz: the websocket endpoint of docker is: /containers/(id or name)/attach/ws | 02:57 |
hongbin | kevinz: the http one is: POST /containers/(id or name)/attach | 02:57 |
kevinz | hongbin: Cool, I will give a try | 02:58 |
hongbin | kevinz: i am thinking a proxy from websocket to http , if using websockify | 02:58 |
hongbin | kevinz: ok, thx | 02:58 |
kevinz | hongbin: welcome :-) | 02:59 |
hongbin | kevinz: btw, i am open to ws to ws proxy if there is a library for that | 02:59 |
hongbin | all, team meeting is live at #openstack-meeting | 03:00 |
* hongbin go to #openstack-meeting channel | 03:00 | |
kevinz | hongbin: OK, I see | 03:00 |
*** lakerzhou has joined #openstack-zun | 03:02 | |
*** zhurong has joined #openstack-zun | 03:37 | |
*** zhurong has quit IRC | 03:56 | |
*** adisky_ has joined #openstack-zun | 03:59 | |
*** hongbin has quit IRC | 04:03 | |
*** diga has joined #openstack-zun | 04:25 | |
*** lakerzhou has quit IRC | 04:36 | |
*** caowei has quit IRC | 04:52 | |
*** pksingh has joined #openstack-zun | 05:28 | |
*** caowei has joined #openstack-zun | 05:38 | |
*** janki has joined #openstack-zun | 05:42 | |
*** coolsvap has joined #openstack-zun | 05:44 | |
*** zhurong has joined #openstack-zun | 06:06 | |
*** zsli_ has joined #openstack-zun | 06:28 | |
*** Shunli has quit IRC | 06:31 | |
*** pksingh has quit IRC | 06:39 | |
*** zsli__ has joined #openstack-zun | 06:48 | |
*** zsli_ has quit IRC | 06:51 | |
*** Shunli has joined #openstack-zun | 06:59 | |
*** zsli__ has quit IRC | 07:02 | |
*** pksingh has joined #openstack-zun | 07:05 | |
*** zhurong has quit IRC | 07:08 | |
*** vikasc has quit IRC | 07:14 | |
*** vikasc has joined #openstack-zun | 07:28 | |
openstackgerrit | feng.shengqin proposed openstack/zun master: Add tests for api microversion https://review.openstack.org/461660 | 07:34 |
*** vikasc has quit IRC | 07:59 | |
*** coolsvap has quit IRC | 08:00 | |
*** vikasc has joined #openstack-zun | 08:12 | |
*** Shunli has quit IRC | 08:12 | |
*** Shunli has joined #openstack-zun | 08:13 | |
*** pksingh has quit IRC | 08:14 | |
*** pksingh has joined #openstack-zun | 08:35 | |
openstackgerrit | miaohb proposed openstack/python-zunclient master: Revert file mode from 0755 to 0644 https://review.openstack.org/461677 | 08:40 |
openstackgerrit | miaohb proposed openstack/zun master: Revert file mode from 0755 to 0644 https://review.openstack.org/461681 | 08:53 |
*** janki has quit IRC | 09:09 | |
*** janki has joined #openstack-zun | 09:09 | |
openstackgerrit | Shunli Zhou proposed openstack/zun master: Add CPUFilter for filter scheduler https://review.openstack.org/461688 | 09:10 |
*** jchhatbar has joined #openstack-zun | 09:11 | |
*** janki has quit IRC | 09:14 | |
*** Shunli has quit IRC | 09:23 | |
*** Shunli has joined #openstack-zun | 09:24 | |
*** jchhatbar is now known as janki | 09:26 | |
*** Shunli has quit IRC | 09:30 | |
*** pksingh has quit IRC | 10:05 | |
*** zhurong has joined #openstack-zun | 10:05 | |
*** pksingh has joined #openstack-zun | 10:14 | |
*** yanyanhu has quit IRC | 10:27 | |
*** Shunli has joined #openstack-zun | 10:39 | |
*** Shunli has quit IRC | 10:45 | |
*** pksingh has quit IRC | 10:48 | |
*** zhurong has quit IRC | 10:53 | |
*** kevinz has quit IRC | 10:58 | |
*** diga has quit IRC | 11:10 | |
*** janki has quit IRC | 11:17 | |
openstackgerrit | feng.shengqin proposed openstack/zun master: image_search just finds images from docker hub https://review.openstack.org/461759 | 12:12 |
*** pksingh has joined #openstack-zun | 12:28 | |
*** kevinz has joined #openstack-zun | 12:42 | |
*** kevinz has quit IRC | 12:50 | |
*** kevinz has joined #openstack-zun | 12:50 | |
*** catintheroof has joined #openstack-zun | 12:55 | |
*** lakerzhou has joined #openstack-zun | 13:21 | |
*** flaper87 has joined #openstack-zun | 13:45 | |
*** openstackgerrit has quit IRC | 13:48 | |
*** hongbin has joined #openstack-zun | 14:20 | |
*** csatari has quit IRC | 14:44 | |
*** zhenguo has quit IRC | 14:45 | |
*** flaper87 has quit IRC | 14:45 | |
*** csatari has joined #openstack-zun | 14:50 | |
*** flaper87 has joined #openstack-zun | 15:13 | |
*** janki has joined #openstack-zun | 15:15 | |
*** kevinz has quit IRC | 15:43 | |
*** pksingh has quit IRC | 15:53 | |
*** janki has quit IRC | 15:55 | |
*** zhenguo has joined #openstack-zun | 16:44 | |
*** harlowja has quit IRC | 17:04 | |
*** openstackgerrit has joined #openstack-zun | 17:57 | |
openstackgerrit | Hongbin Lu proposed openstack/zun master: [NOT_FOR_REVIEW] test gate https://review.openstack.org/461861 | 17:57 |
*** harlowja has joined #openstack-zun | 18:00 | |
*** adisky_ has quit IRC | 19:19 | |
lakerzhou | Hongbin, I deleted .tox directory, then rerun tox again, the import error is gone. | 20:05 |
hongbin | lakerzhou: i see | 20:15 |
hongbin | lakerzhou: an alternative approach will be tox -e XXX --recreate | 20:15 |
hongbin | it will re-install all the dependency in tox environment | 20:15 |
lakerzhou | Hongbin, I have another question. I am testing my code after rebased to the latest. My previous passed test is failing now. Basically, I save a docker image to glance, and then create a new container using the glance image. | 20:18 |
lakerzhou | Hongbin, I saw the following logs | 20:19 |
hongbin | lakerzhou: sorry 1 minute | 20:19 |
lakerzhou | honggin, Creating container with image 6f2ef9e9-865b-4c5c-9d32-751cbe846b31 name cirrosnimg | 20:19 |
lakerzhou | hongbin, Error occurred while calling Docker create API: Docker internal error: 404 Client Error: Not Found ("No such image: 6f2ef9e9-865b-4c5c-9d32-751cbe846b31:latest"). | 20:19 |
lakerzhou | Hongbin, do you have any hint for debugging the error? | 20:21 |
hongbin | lakerzhou: how about searching the image by hand | 20:26 |
hongbin | lakerzhou: i.e. docker images 6f2ef9e9-865b-4c5c-9d32-751cbe846b31:latest | 20:26 |
lakerzhou | hongbin, docker images show neither cirrosnimg:latest, or 6f2ef9e9-865b-4c5c-9d32-751cbe846b31 | 20:27 |
hongbin | lakerzhou: then, i am not sure | 20:28 |
hongbin | lakerzhou: i need to check the code to figure out what is going on | 20:28 |
hongbin | lakerzhou: maybe the question is why the image is not there if it is always snapshot | 20:29 |
hongbin | lakerzhou: if you run docker commit by hand, does the image there? | 20:29 |
lakerzhou | hongbin, is there a way to test any other glance images? "Container Commit" is done successfully. I am trying to pull the image from glance and confirm it is good. | 20:31 |
hongbin | lakerzhou: there is a command to pull the image from glance | 20:32 |
hongbin | lakerzhou: let me find it | 20:32 |
lakerzhou | hongbin, for example, how to generate a docker format cirros image? I plan to upload it to glance, then do the same test | 20:32 |
hongbin | docker pull busybox | 20:33 |
hongbin | docker save busybox | openstack image create busybox --public --container-format docker --disk-format raw | 20:33 |
hongbin | this is an example to upload the image to glance | 20:33 |
lakerzhou | hongbin, thanks, let me try | 20:33 |
hongbin | for downloading, I tried: glance image-download 72051dca-ec7d-445b-8d3e-a595735428d2 --file busybox.tar | 20:38 |
hongbin | glance image-download 72051dca-ec7d-445b-8d3e-a595735428d2 --file busybox.tar | 20:38 |
hongbin | then | 20:38 |
hongbin | docker load -i busybox.tar | 20:38 |
hongbin | it will load the tarball | 20:38 |
lakerzhou | I am using this command to create zun container 'zun create --name busyboximg --image-driver glance 53523200-884c-4033-90ff-86073cce9599' | 20:39 |
lakerzhou | hongbin, where 53523200-884c-4033-90ff-86073cce9599 is the busybox image ID | 20:40 |
hongbin | lakerzhou: i remembered it doesn't support id | 20:41 |
hongbin | lakerzhou: i guess the command will fail? | 20:41 |
lakerzhou | hongbin, I got the same 404 docker client error | 20:41 |
hongbin | lakerzhou: if you pull the glance image name, it will work? | 20:42 |
lakerzhou | hongbin, no, it doesn't work. I got glance error: ERROR: Image busyboximg could not be found | 20:43 |
hongbin | lakerzhou: if you run glance image-list, do you see the image? | 20:44 |
lakerzhou | Hongbin, sure, that is how I got the image ID | 20:44 |
hongbin | lakerzhou: ok, let me try it in my machinae | 20:45 |
lakerzhou | Hongbin, thanks for helps. I am also trying the instructions to manually download glance image to docker | 20:46 |
hongbin | lakerzhou: this is the commands i tried | 20:48 |
hongbin | docker pull busybox | 20:48 |
hongbin | docker save busybox | openstack image create busybox --container-format docker --disk-format raw | 20:48 |
hongbin | zun create --name busyboximg --image-driver glance busybox | 20:48 |
hongbin | zun create --name busybox --image-driver glance f62529f0-77eb-4bcf-a8ba-29a41285d193 | 20:49 |
hongbin | create from either image id or name is fine for me | 20:49 |
lakerzhou | hongbin, manually pull the glance images to docker work for me. So I confirmed the glance image generated by "zun commit" is good. I guess my current environment causes some issues. | 20:54 |
hongbin | lakerzhou: ok | 20:54 |
lakerzhou | hongbin, thanks again for the help! | 20:54 |
hongbin | lakerzhou: np, do you figure it out? | 20:54 |
lakerzhou | hongbin, it is my glance issue. I cannot do glance image-show <name> | 20:55 |
hongbin | lakerzhou: ok | 20:56 |
lakerzhou | hongbin, glance image-show "id" works fine | 20:56 |
hongbin | lakerzhou: yes, glance doesn't support show image by name | 20:57 |
hongbin | lakerzhou: it is the same in my side | 20:57 |
*** lakerzhou has quit IRC | 21:01 | |
*** catintheroof has quit IRC | 21:01 | |
*** vikasc has quit IRC | 21:16 | |
openstackgerrit | Hongbin Lu proposed openstack/zun master: [NOT_FOR_REVIEW] test gate https://review.openstack.org/461861 | 21:26 |
*** vikasc has joined #openstack-zun | 21:29 | |
*** hongbin has quit IRC | 22:59 | |
*** catintheroof has joined #openstack-zun | 23:23 | |
*** catintheroof has quit IRC | 23:23 | |
*** catintheroof has joined #openstack-zun | 23:24 | |
*** catintheroof has quit IRC | 23:29 | |
*** catintheroof has joined #openstack-zun | 23:31 | |
*** hongbin has joined #openstack-zun | 23:52 | |
*** catintheroof has quit IRC | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!