Tuesday, 2017-05-02

*** hongbin has quit IRC00:52
*** zhurong has joined #openstack-zun00:56
*** kevinz has joined #openstack-zun01:04
*** zhurong has quit IRC01:13
*** zhurong has joined #openstack-zun01:28
*** yanyanhu has joined #openstack-zun01:37
openstackgerritfeng.shengqin proposed openstack/zun master: Add the docs for API Microversion  https://review.openstack.org/46085701:45
*** zhenguo has joined #openstack-zun01:48
*** zhurong has quit IRC02:11
*** zhurong has joined #openstack-zun02:23
*** Shunli has joined #openstack-zun02:24
*** hongbin has joined #openstack-zun02:40
*** zhurong has quit IRC02:43
*** caowei has joined #openstack-zun02:47
hongbinkevinz: there?02:49
kevinzhongbin: Yeah02:49
kevinzhongbin: Good evening02:49
hongbinkevinz: good work for the streaming patch02:50
kevinzhongbin: My pleasure02:50
hongbinkevinz: it is working, although i am picky about the low level code02:50
hongbinkevinz: just wonder where you code the code in that file?02:50
*** vikasc has quit IRC02:51
kevinzhongbin: Haha, I see your comments02:51
hongbinkevinz: copy the code02:51
kevinzhongbin: I've copyed from a project02:51
hongbinkevinz: i see02:52
kevinzwait a minutes, I will find for you02:52
hongbinok02:52
kevinzhttps://github.com/dpallot/simple-websocket-server02:53
hongbinkevinz: i just wonder why you are not considering websockify at the beginning, is there any difficulties of using that library?02:53
kevinzhttps://github.com/dpallot/simple-websocket-server/blob/master/SimpleWebSocketServer/SimpleWebSocketServer.py02:54
*** vikasc has joined #openstack-zun02:54
kevinzhongbin: Yeah, websocketify is proxy from websocket to tcp port02:54
hongbinkevinz: it cannnot proxy to http?02:55
kevinzhongbin: And our case is proxy from websocket to websocket. so I drop it.02:55
kevinzhongbin: not very sure about that, I think I can investigate more about this.02:55
hongbinkevinz: i think docker attach supports http as an alternative of websocket?02:55
hongbinok02:55
kevinzhongbin: If websocketify work, that will be easy02:56
hongbinkevinz: i see02:56
hongbinkevinz: the websocket endpoint of docker is: /containers/(id or name)/attach/ws02:57
hongbinkevinz: the http one is: POST /containers/(id or name)/attach02:57
kevinzhongbin: Cool, I will give a try02:58
hongbinkevinz: i am thinking a proxy from websocket to http , if using websockify02:58
hongbinkevinz: ok, thx02:58
kevinzhongbin: welcome :-)02:59
hongbinkevinz: btw, i am open to ws to ws proxy if there is a library for that02:59
hongbinall, team meeting is live at #openstack-meeting03:00
* hongbin go to #openstack-meeting channel03:00
kevinzhongbin: OK, I see03:00
*** lakerzhou has joined #openstack-zun03:02
*** zhurong has joined #openstack-zun03:37
*** zhurong has quit IRC03:56
*** adisky_ has joined #openstack-zun03:59
*** hongbin has quit IRC04:03
*** diga has joined #openstack-zun04:25
*** lakerzhou has quit IRC04:36
*** caowei has quit IRC04:52
*** pksingh has joined #openstack-zun05:28
*** caowei has joined #openstack-zun05:38
*** janki has joined #openstack-zun05:42
*** coolsvap has joined #openstack-zun05:44
*** zhurong has joined #openstack-zun06:06
*** zsli_ has joined #openstack-zun06:28
*** Shunli has quit IRC06:31
*** pksingh has quit IRC06:39
*** zsli__ has joined #openstack-zun06:48
*** zsli_ has quit IRC06:51
*** Shunli has joined #openstack-zun06:59
*** zsli__ has quit IRC07:02
*** pksingh has joined #openstack-zun07:05
*** zhurong has quit IRC07:08
*** vikasc has quit IRC07:14
*** vikasc has joined #openstack-zun07:28
openstackgerritfeng.shengqin proposed openstack/zun master: Add tests for api microversion  https://review.openstack.org/46166007:34
*** vikasc has quit IRC07:59
*** coolsvap has quit IRC08:00
*** vikasc has joined #openstack-zun08:12
*** Shunli has quit IRC08:12
*** Shunli has joined #openstack-zun08:13
*** pksingh has quit IRC08:14
*** pksingh has joined #openstack-zun08:35
openstackgerritmiaohb proposed openstack/python-zunclient master: Revert file mode from 0755 to 0644  https://review.openstack.org/46167708:40
openstackgerritmiaohb proposed openstack/zun master: Revert file mode from 0755 to 0644  https://review.openstack.org/46168108:53
*** janki has quit IRC09:09
*** janki has joined #openstack-zun09:09
openstackgerritShunli Zhou proposed openstack/zun master: Add CPUFilter for filter scheduler  https://review.openstack.org/46168809:10
*** jchhatbar has joined #openstack-zun09:11
*** janki has quit IRC09:14
*** Shunli has quit IRC09:23
*** Shunli has joined #openstack-zun09:24
*** jchhatbar is now known as janki09:26
*** Shunli has quit IRC09:30
*** pksingh has quit IRC10:05
*** zhurong has joined #openstack-zun10:05
*** pksingh has joined #openstack-zun10:14
*** yanyanhu has quit IRC10:27
*** Shunli has joined #openstack-zun10:39
*** Shunli has quit IRC10:45
*** pksingh has quit IRC10:48
*** zhurong has quit IRC10:53
*** kevinz has quit IRC10:58
*** diga has quit IRC11:10
*** janki has quit IRC11:17
openstackgerritfeng.shengqin proposed openstack/zun master: image_search just finds images from docker hub  https://review.openstack.org/46175912:12
*** pksingh has joined #openstack-zun12:28
*** kevinz has joined #openstack-zun12:42
*** kevinz has quit IRC12:50
*** kevinz has joined #openstack-zun12:50
*** catintheroof has joined #openstack-zun12:55
*** lakerzhou has joined #openstack-zun13:21
*** flaper87 has joined #openstack-zun13:45
*** openstackgerrit has quit IRC13:48
*** hongbin has joined #openstack-zun14:20
*** csatari has quit IRC14:44
*** zhenguo has quit IRC14:45
*** flaper87 has quit IRC14:45
*** csatari has joined #openstack-zun14:50
*** flaper87 has joined #openstack-zun15:13
*** janki has joined #openstack-zun15:15
*** kevinz has quit IRC15:43
*** pksingh has quit IRC15:53
*** janki has quit IRC15:55
*** zhenguo has joined #openstack-zun16:44
*** harlowja has quit IRC17:04
*** openstackgerrit has joined #openstack-zun17:57
openstackgerritHongbin Lu proposed openstack/zun master: [NOT_FOR_REVIEW] test gate  https://review.openstack.org/46186117:57
*** harlowja has joined #openstack-zun18:00
*** adisky_ has quit IRC19:19
lakerzhouHongbin, I deleted .tox directory, then rerun tox again, the import error is gone.20:05
hongbinlakerzhou: i see20:15
hongbinlakerzhou: an alternative approach will be tox -e XXX --recreate20:15
hongbinit will re-install all the dependency in tox environment20:15
lakerzhouHongbin, 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
lakerzhouHongbin, I saw the following logs20:19
hongbinlakerzhou: sorry 1 minute20:19
lakerzhouhonggin, Creating container with image 6f2ef9e9-865b-4c5c-9d32-751cbe846b31 name cirrosnimg20:19
lakerzhouhongbin, 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
lakerzhouHongbin, do you have any hint for debugging the error?20:21
hongbinlakerzhou: how about searching the image by hand20:26
hongbinlakerzhou: i.e.  docker images 6f2ef9e9-865b-4c5c-9d32-751cbe846b31:latest20:26
lakerzhouhongbin, docker images show neither cirrosnimg:latest, or 6f2ef9e9-865b-4c5c-9d32-751cbe846b3120:27
hongbinlakerzhou: then, i am not sure20:28
hongbinlakerzhou: i need to check the code to figure out what is going on20:28
hongbinlakerzhou: maybe the question is why the image is not there if it is always snapshot20:29
hongbinlakerzhou: if you run docker commit by hand, does the image there?20:29
lakerzhouhongbin, 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
hongbinlakerzhou: there is a command to pull the image from glance20:32
hongbinlakerzhou: let me find it20:32
lakerzhouhongbin, for example, how to generate a docker format cirros image? I plan to upload it to glance, then do the same test20:32
hongbindocker pull busybox20:33
hongbindocker save busybox | openstack image create busybox --public --container-format docker --disk-format raw20:33
hongbinthis is an example to upload the image to glance20:33
lakerzhouhongbin, thanks, let me try20:33
hongbinfor downloading, I tried: glance image-download 72051dca-ec7d-445b-8d3e-a595735428d2 --file busybox.tar20:38
hongbinglance image-download 72051dca-ec7d-445b-8d3e-a595735428d2 --file busybox.tar20:38
hongbinthen20:38
hongbindocker load -i busybox.tar20:38
hongbinit will load the tarball20:38
lakerzhouI am using this command to create zun container 'zun create --name busyboximg --image-driver glance 53523200-884c-4033-90ff-86073cce9599'20:39
lakerzhouhongbin, where 53523200-884c-4033-90ff-86073cce9599 is the busybox image ID20:40
hongbinlakerzhou: i remembered it doesn't support id20:41
hongbinlakerzhou: i guess the command will fail?20:41
lakerzhouhongbin, I got the same 404 docker client error20:41
hongbinlakerzhou: if you pull the glance image name, it will work?20:42
lakerzhouhongbin, no, it doesn't work. I got glance error: ERROR: Image busyboximg could not be found20:43
hongbinlakerzhou: if you run glance image-list, do you see the image?20:44
lakerzhouHongbin, sure, that is how I got the image ID20:44
hongbinlakerzhou: ok, let me try it in my machinae20:45
lakerzhouHongbin, thanks for helps. I am also trying the instructions to manually download glance image to docker20:46
hongbinlakerzhou: this is the commands i tried20:48
hongbindocker pull busybox20:48
hongbindocker save busybox | openstack image create busybox --container-format docker --disk-format raw20:48
hongbinzun create --name busyboximg --image-driver glance busybox20:48
hongbinzun create --name busybox --image-driver glance f62529f0-77eb-4bcf-a8ba-29a41285d19320:49
hongbincreate from either image id or name is fine for me20:49
lakerzhouhongbin, 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
hongbinlakerzhou: ok20:54
lakerzhouhongbin, thanks again for the help!20:54
hongbinlakerzhou: np, do you figure it out?20:54
lakerzhouhongbin, it is my glance issue. I cannot do glance image-show <name>20:55
hongbinlakerzhou: ok20:56
lakerzhouhongbin, glance image-show "id" works fine20:56
hongbinlakerzhou: yes, glance doesn't support show image by name20:57
hongbinlakerzhou: it is the same in my side20:57
*** lakerzhou has quit IRC21:01
*** catintheroof has quit IRC21:01
*** vikasc has quit IRC21:16
openstackgerritHongbin Lu proposed openstack/zun master: [NOT_FOR_REVIEW] test gate  https://review.openstack.org/46186121:26
*** vikasc has joined #openstack-zun21:29
*** hongbin has quit IRC22:59
*** catintheroof has joined #openstack-zun23:23
*** catintheroof has quit IRC23:23
*** catintheroof has joined #openstack-zun23:24
*** catintheroof has quit IRC23:29
*** catintheroof has joined #openstack-zun23:31
*** hongbin has joined #openstack-zun23:52
*** catintheroof has quit IRC23:59

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