Thursday, 2017-02-16

*** hongbin has quit IRC00:33
*** Wenzhi has joined #openstack-zun00:57
*** jwcroppe has quit IRC01:16
*** jwcroppe has joined #openstack-zun01:16
openstackgerritfeng.shengqin proposed openstack/zun master: Support the command "zun top"  https://review.openstack.org/43219801:18
*** jwcroppe has quit IRC01:20
*** kevinz has joined #openstack-zun01:23
*** yanyanhu has joined #openstack-zun01:23
*** jwcroppe has joined #openstack-zun01:27
*** zhangjl has joined #openstack-zun01:30
*** eliqiao has quit IRC02:09
*** hongbin has joined #openstack-zun02:57
openstackgerritHongbin Lu proposed openstack/zun master: Eagerly load resource_provider from foreignkey  https://review.openstack.org/43461603:47
*** sudipto has joined #openstack-zun03:57
*** sudipto_ has joined #openstack-zun03:57
openstackgerritfeng.shengqin proposed openstack/python-zunclient master: Support privileged when create/run a container  https://review.openstack.org/43463804:19
openstackgerritHongbin Lu proposed openstack/zun master: [WIP] Add inventory object  https://review.openstack.org/43399404:27
*** hongbin has quit IRC04:38
*** sudipto has quit IRC04:44
*** sudipto_ has quit IRC04:44
*** mkrai has joined #openstack-zun04:52
openstackgerritfeng.shengqin proposed openstack/zun master: Support privileged when create/run a container  https://review.openstack.org/43465204:55
openstackgerritBin Zhou proposed openstack/zun master: Spec for container snapshot  https://review.openstack.org/43327905:05
*** sudipto has joined #openstack-zun05:07
*** sudipto_ has joined #openstack-zun05:07
*** adisky_ has joined #openstack-zun05:16
*** diga has joined #openstack-zun05:43
*** janki has joined #openstack-zun06:09
*** diga has quit IRC06:45
openstackgerritfeng.shengqin proposed openstack/python-zunclient master: Added stdout&stderr for openstack appcontainer logs  https://review.openstack.org/43467507:04
openstackgerritfeng.shengqin proposed openstack/python-zunclient master: Added tty&interactive for openstack appcontainer create/run  https://review.openstack.org/43468807:29
*** diga has joined #openstack-zun07:36
openstackgerritKevin Zhao proposed openstack/python-zunclient master: Add support for interactive mode for "run" command  https://review.openstack.org/43470407:47
*** pcastets has joined #openstack-zun07:59
*** zhangjl1 has joined #openstack-zun08:11
*** zhangjl has quit IRC08:13
openstackgerritKevin Zhao proposed openstack/python-zunclient master: Add support for interactive mode for "run" command  https://review.openstack.org/43470408:14
*** zhangjl1 has quit IRC08:15
openstackgerritfeng.shengqin proposed openstack/python-zunclient master: Add OSC Plugin for openstack appcontainer update  https://review.openstack.org/43472508:24
*** Wenzhi has quit IRC08:55
*** openstackgerrit has quit IRC09:32
*** diga has quit IRC09:38
*** diga has joined #openstack-zun09:39
*** openstackgerrit has joined #openstack-zun09:54
openstackgerritNamrata proposed openstack/python-zunclient master: Add OSC commands functional test  https://review.openstack.org/42830009:54
*** vikasc has quit IRC09:55
*** vikasc has joined #openstack-zun10:09
*** vikasc has quit IRC10:18
*** vikasc has joined #openstack-zun10:35
*** kevinz has quit IRC10:38
bhavanihi10:51
bhavaniwhen i try to install zun I am getting error like10:51
bhavaniError response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)10:52
bhavanican anyone help to solve this error??10:52
*** yanyanhu has quit IRC10:55
*** sudipto has quit IRC11:25
*** sudipto_ has quit IRC11:25
*** pcastets has quit IRC11:49
*** shubhams has quit IRC11:50
*** diga has quit IRC12:06
*** pcastets has joined #openstack-zun12:10
*** catintheroof has joined #openstack-zun12:14
*** sudipto_ has joined #openstack-zun12:24
*** sudipto has joined #openstack-zun12:24
*** sudipto has quit IRC12:39
*** sudipto_ has quit IRC12:39
*** janki has quit IRC12:49
*** diga has joined #openstack-zun13:00
*** kevinz has joined #openstack-zun13:12
*** jwcroppe has quit IRC13:15
*** catintheroof has quit IRC13:20
openstackgerritWenzhi Yu proposed openstack/zun master: Implement etcd API for ResourceClass  https://review.openstack.org/43490913:20
*** diga has quit IRC13:20
*** kevinz has quit IRC13:21
*** kevinz has joined #openstack-zun13:21
*** jwcroppe has joined #openstack-zun13:29
*** sudipto_ has joined #openstack-zun13:41
*** sudipto has joined #openstack-zun13:41
*** kevinz has quit IRC13:42
*** kevinz has joined #openstack-zun13:42
*** sudipto has quit IRC13:59
*** sudipto_ has quit IRC13:59
*** mkrai has quit IRC14:05
*** kevinz has quit IRC14:16
*** kevinz has joined #openstack-zun14:16
openstackgerritMerged openstack/zun master: Copy gate_hook.sh to the tests/contrib folder  https://review.openstack.org/43284314:20
*** kevinz has quit IRC14:23
*** sudipto_ has joined #openstack-zun14:29
*** sudipto has joined #openstack-zun14:29
sudipto_bhavani, you got an answer to you query?14:34
sudipto_*your14:34
*** pcastets has quit IRC14:36
*** pcastets has joined #openstack-zun14:41
*** hongbin has joined #openstack-zun14:48
*** janki has joined #openstack-zun14:55
openstackgerritMerged openstack/zun master: Use FakeEtcdResult and FakeEtcdMultipleResult from utils  https://review.openstack.org/43413814:57
openstackgerritMerged openstack/zun master: Add testcase for deleting nonexist container  https://review.openstack.org/43415814:57
*** sudipto has quit IRC15:32
*** sudipto_ has quit IRC15:32
*** jwcroppe has quit IRC15:57
*** jwcroppe has joined #openstack-zun15:59
*** bendev has joined #openstack-zun16:23
bendevHi, I'm having a look at Zun and I have some newbie questions to ask. Is it the rigth place?16:26
bendevI have installed a VM with DevStack and followed the instructions from the Zun's manual-devstack.rst file16:28
bendevEverything went well, and both zun api and compute services are running now16:28
bendevBut I don't manage to create an instance. zun create fails with a 500 error, the logs suggests it cannot find the image.16:30
bendevzun image-list returns an empty table16:31
bendevSo here is my newbie question: how do I add images to Zun?16:31
*** jwcroppe has quit IRC16:35
openstackgerritHongbin Lu proposed openstack/zun master: Add inventory object  https://review.openstack.org/43399416:44
hongbinbendev: hi16:45
hongbinbendev: the image should be pulled from docker hub16:45
hongbinbendev: could you paste the logs of zun-api/zun-compute ?16:46
hongbinbendev: you can paste the logs to http://paste.openstack.org/ and post the link to here16:46
hongbinbtw, the manual devstack guide has been verified for a while, and it might gets outdated, it is on my todos list to fix the manual devstack guide if there is any issue16:48
bendevhongbin: I did a: "docker pull cirros", is it what you mean by pulling from docker hub?16:51
hongbinbendev: yes16:51
hongbinbe right back16:51
bendevhongbin: ok16:52
bendevhongbin: "docker images" properly shows my image is present on disk, but "zun image-list" doesn't show it.16:52
hongbinbendev: i see, there is possibly some bugs for the image-list command16:56
bendevhongbin: when are the images discovered by zun? (I did the "docker pull" after I started zun)16:57
hongbinbendev: if you run zun create <image>, it will get pull automatically, you don't need to do anything16:58
bendevhongbin: oh... so it didn't work16:58
*** jwcroppe has joined #openstack-zun16:58
bendevhongbin: I've shutdown my DevStack, so I don't have access to the log right now16:59
hongbinbendev: yes, you said it returned a 500 error, then i need to look into the logs to do more trouble-shooting16:59
hongbinbendev: i see16:59
bendevhongbin: I'll paste the logs later once it is up again17:00
hongbinbendev: then, i will run the manual devstack myself, and see if i can reproduce your error17:00
hongbinbendev: ack17:00
bendevhongbin: I have a more general question regarding Zun: is it planned to support other container technologies than Docker?17:01
bendevhongbin: what I mean is is there an abstraction layer planned in Zun to plug other containers types?17:02
hongbinbendev: zun is designed to be agnostic to container runtime, so yes, there is an abstraction layer17:03
hongbinbendev: currently, what we had is the docker drivers, but i expect there will be other drivers for container runtime other than docker in the future17:04
hongbinbendev: which container runtime you interest to integrate with zun?17:04
bendevhongbin: ok, interesting. So there is a concept of zun driver (like nova drivers)?17:05
hongbinbendev: yes, we called it container driver17:05
bendevhongbin: no precise plan for a container runtime at the moment, I was just curious :-)17:07
hongbinbendev: right now the only driver is docker, if there are contributors contribute other container runtime, we will possibly take it17:08
bendevhongbin: ok17:08
bendevhongbin: thanks for your answers. I'll continue testing Zun and reading documentation and code.  I'll probably come back with more questions later :-)17:09
hongbinbendev: sure17:10
*** jwcroppe has quit IRC17:18
*** jwcroppe has joined #openstack-zun17:18
*** jwcroppe_ has joined #openstack-zun17:20
*** jwcroppe has quit IRC17:23
*** bendev has left #openstack-zun17:30
*** sudipto_ has joined #openstack-zun17:59
*** sudipto has joined #openstack-zun17:59
hongbinsudipto: hey18:17
sudipto_hongbin, hello18:17
hongbinsudipto_: just wonder how you are going to revise the spec18:17
hongbinsudipto_: in particular, is there any change you want to make for the db schema?18:18
*** janki has quit IRC18:19
sudipto_hongbin, I was thinking of many things today, reading stuff...read code of how k8s do it and it seems i feel the old nova way might be easier to implement. But if you feel the schema could be used as is - i guess we can even do that.18:19
sudipto_K8s seems to have the flexibility of JSON to Stuct conversions in golang and they have a similar struct like a NodeInfo Disk etc as predicates.18:20
sudipto_https://github.com/kubernetes/community/blob/master/contributors/devel/scheduler_algorithm.md18:20
hongbinsudipto_: i see18:21
sudipto_hongbin, quick and dirty would be the old nova way if you ask me.18:21
sudipto_*similar to the old nova way - not exactly that.18:21
hongbinsudipto_: here is my personal opinion: i) use the quick and dirty old nova way, and ii) use the placement API schema as is18:22
hongbinsudipto_: the rational of ii) is to facilitate teh migration to placement api later18:22
sudipto_hongbin, ok you are saying try to fit the model to the new schema that we have already merged right?18:23
hongbinsudipto_: if it fits into your plan, then yes18:24
hongbinsudipto_: however, if you want to change, i can do the work18:24
sudipto_hongbin, ok give me another day's time. I will be ready with something by tomorrow morning your time.18:24
hongbinsudipto_: sure. thx18:24
hongbinsudipto_: perhaps, i gave the wrong guidance, the db schema don't have to be the same, but i prefer the future migration to placement api is easy, feel free to revise the design as long as it satisfies the scheduler migration requirement18:31
sudipto_hongbin, yeah sure.18:31
hongbinsudipto_: thank you18:31
*** adisky_ has quit IRC18:49
*** sudipto has quit IRC18:59
*** sudipto_ has quit IRC18:59
*** pcastets has quit IRC19:09
openstackgerritHongbin Lu proposed openstack/zun master: Spec for Kuryr integration  https://review.openstack.org/42588319:59
*** _-___-_ has joined #openstack-zun20:11
*** _-___-_ has left #openstack-zun20:11
*** jwcroppe_ has quit IRC20:28
*** jwcroppe has joined #openstack-zun20:28
openstackgerritMerged openstack/python-zunclient master: Don't pass parameter to API when the parameters is null  https://review.openstack.org/43017221:19
openstackgerritHongbin Lu proposed openstack/python-zunclient master: Added stdout&stderr for openstack appcontainer logs  https://review.openstack.org/43467521:22
openstackgerritHongbin Lu proposed openstack/python-zunclient master: Generalize the usage of _remove_null_params  https://review.openstack.org/43513521:56
openstackgerritHongbin Lu proposed openstack/python-zunclient master: Generalize the usage of _remove_null_params  https://review.openstack.org/43513521:56
openstackgerritHongbin Lu proposed openstack/python-zunclient master: Generalize the usage of _remove_null_params  https://review.openstack.org/43513521:58
openstackgerritHongbin Lu proposed openstack/python-zunclient master: Add image_driver option to create and run  https://review.openstack.org/43513822:14
flwanghongbin: ping22:25
hongbinflwang: hey22:25
flwangcurrently, if i created a COE cluster by magnum, can i use zun to create pod/service/rc on that cluster?22:26
hongbinnot right now22:26
flwangjust like magnum did before22:26
hongbinzun currently support baremetal use case only22:26
flwanghere, baremetal means a VM or a physical server?22:27
hongbinin addition, whether introducing pod/service/rc in zun api is still under discussion22:27
hongbinphysical server22:27
hongbinso it is more like a nova-docker right now, it provision containers at compute hosts22:28
flwangcool, i see.22:28
*** catintheroof has joined #openstack-zun23:02

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