Friday, 2017-01-13

*** hongbin has quit IRC00:19
*** zhurong has joined #openstack-zun00:55
*** zhangjl has joined #openstack-zun01:11
*** kevinz has joined #openstack-zun01:13
*** yanyanhu has joined #openstack-zun01:37
*** yanyanhu has quit IRC01:53
*** yanyanhu has joined #openstack-zun01:54
openstackgerritzhangjl proposed openstack/zun: Ensure api can work as expected with boolean query params  https://review.openstack.org/41937302:03
openstackgerritKevin Zhao proposed openstack/python-zunclient: Add support for restart policy when create/run  https://review.openstack.org/41928802:50
*** yuanying has quit IRC02:52
*** hongbin has joined #openstack-zun02:59
openstackgerritKevin Zhao proposed openstack/python-zunclient: Add support for restart policy when create/run  https://review.openstack.org/41928803:00
*** gb21 has joined #openstack-zun03:02
*** hongbin_ has joined #openstack-zun03:03
*** hongbin has quit IRC03:03
openstackgerritDigambar proposed openstack/zun: Implement Cinder integration with zun  https://review.openstack.org/41774703:15
*** diga has joined #openstack-zun03:15
digahongbin_: please go through the latest PS on Cinder-integration03:16
*** prameswar has joined #openstack-zun03:21
hongbin_diga: ack03:24
*** zhurong has quit IRC03:39
*** yuanying has joined #openstack-zun03:52
*** pksingh has joined #openstack-zun04:04
pksinghzhangjl: Hello, Good morning04:05
zhangjlpksingh:hello04:05
zhangjlpksingh:sorry for my late reply04:05
pksinghzhangjl: its okay04:05
zhangjlpksingh: i push a new patch, pls review again04:06
pksinghzhangjl: yes sure, i lloked into it.04:06
zhangjlpksingh:thanks :-D04:06
pksinghzhangjl: although not related to this patch, but if you handle the ValueError exception in delete also then it would be good04:07
pksinghzhangjl: what do you think04:07
zhangjlpksingh: oh ,yes, it`s my mistack04:07
zhangjlpksingh:i will push a new one, pls wait04:08
pksinghzhangjl: sure, thanks sir :)04:08
pksinghzhangjl: if possible please add UTs for delete too04:09
zhangjlpksingh:np. And then , i will leave for lunch, good luck04:10
pksinghzhangjl: sure, thanks :)04:12
openstackgerritMerged openstack/zun: Add etcd DB backend support for multiple compute env  https://review.openstack.org/41930204:21
*** janki has joined #openstack-zun04:28
*** diga has quit IRC05:01
*** hongbin_ has quit IRC05:02
*** sudipto has joined #openstack-zun05:18
*** sudipto_ has joined #openstack-zun05:18
openstackgerritzhangjl proposed openstack/zun: Ensure api can work as expected with boolean query params  https://review.openstack.org/41937305:38
*** adisky_ has joined #openstack-zun05:38
Qiminghi, do we have an API document so far?05:41
adisky_No, I have filed a blueprint for API doc05:43
adisky_https://blueprints.launchpad.net/zun/+spec/zun-api-ref-document05:43
Qimingthanks, adisky_05:51
adisky_Qiming: :)05:57
QimingI was thinking if it is possible to create and manage containers using senlin by invoking zun apis06:00
adisky_ok06:01
adisky_so how can i help you??06:02
Qiming:D, get that blueprint implemented,06:03
*** yuanying has quit IRC06:06
*** prameswar has quit IRC06:07
*** yuanying has joined #openstack-zun06:07
*** yuanying has quit IRC06:11
*** yuanying_ has joined #openstack-zun06:11
*** yuanying_ has quit IRC06:12
*** yuanying has joined #openstack-zun06:12
*** yuanying has quit IRC06:17
openstackgerritNamrata proposed openstack/python-zunclient: Add OSC Plugin for openstack appcontainer exec  https://review.openstack.org/41796406:18
*** jwcroppe has quit IRC06:23
*** prameswar has joined #openstack-zun06:30
*** prameswar has quit IRC06:47
adisky_Qiming: OK :)06:53
*** prameswar has joined #openstack-zun06:59
*** zhurong has joined #openstack-zun07:05
*** yuanying has joined #openstack-zun07:19
openstackgerritMerged openstack/zun: Remove redundant Connection Class in zun/db/api.py  https://review.openstack.org/41931007:25
openstackgerritKevin Zhao proposed openstack/zun: Add support for container restart policy in server side  https://review.openstack.org/41928907:29
*** adisky_ has quit IRC07:29
*** adisky_ has joined #openstack-zun07:36
*** janki has quit IRC07:42
openstackgerritKevin Zhao proposed openstack/zun: Remove get_container_id functions  https://review.openstack.org/41979607:43
*** janki has joined #openstack-zun07:43
pksinghHello kevinz ,07:59
kevinzpksingh:Hi08:04
pksinghkevinz: i looked into your patch, can we move the validation of values to API, what do you think?08:05
kevinzpksingh: Good afternoon08:05
pksinghkevinz: good afternoon08:05
pksingh:)08:05
pksinghkevinz: i am talking about the validation in docker.py08:06
kevinzpksingh: You mean the restart policy patch, the parameter in docker.py?08:06
pksinghyes where you raise the exception due to wrong users input of retry count08:07
pksinghif something is wrong in users input may we we can validate that at API, instaed of creating all the entries in DB and all08:08
kevinzpksingh: OK ,I will move to API , that will make the validation more reasonable08:08
kevinzpksingh: Thanks for your valuable advice :-)08:09
pksinghkevinz: and more thing i would like to suggest, please add more test regarding the vaidation of restart_policy schema in test_validation.py08:10
pksinghmay be all positive and negative tests08:11
pksinghwhat do you think?08:11
kevinzAgree with you~ I will add all related tests08:12
pksinghkevinz: thanks a lot :)08:19
kevinzpksingh: :-)08:20
*** prameswar has quit IRC08:57
*** zhurong has quit IRC09:16
*** gb21 has quit IRC09:22
*** sheel has joined #openstack-zun09:56
*** kevinz has quit IRC10:08
*** openstackgerrit has quit IRC10:18
*** yanyanhu has quit IRC10:19
*** prameswar has joined #openstack-zun10:21
*** aloga has joined #openstack-zun10:46
alogahi10:46
*** sudipto_ has quit IRC11:05
*** sudipto has quit IRC11:05
*** zhangjl has left #openstack-zun11:15
*** pksingh has quit IRC11:24
*** gb21 has joined #openstack-zun12:03
*** adisky_ has quit IRC12:09
*** catintheroof has joined #openstack-zun12:30
*** catintheroof has quit IRC12:31
*** catintheroof has joined #openstack-zun12:32
*** gb21 has quit IRC12:38
*** openstackgerrit has joined #openstack-zun12:53
openstackgerritOpenStack Proposal Bot proposed openstack/zun: Updated from global requirements  https://review.openstack.org/41994312:53
*** kevinz has joined #openstack-zun12:55
*** kevinz has quit IRC13:00
*** sudipto_ has joined #openstack-zun13:19
*** sudipto has joined #openstack-zun13:19
openstackgerritprameswar proposed openstack/python-zunclient: Corrected wrong env variable in --zun-api-version  https://review.openstack.org/41996613:38
*** kevinz has joined #openstack-zun14:24
*** kevinz has quit IRC14:31
*** janki has quit IRC14:52
*** sheel has quit IRC14:57
*** hongbin has joined #openstack-zun15:00
*** jwcroppe has joined #openstack-zun15:17
openstackgerritMerged openstack/python-zunclient: Move out the "-i" and "--image" flags from shell  https://review.openstack.org/41820715:18
openstackgerritMerged openstack/zun: Ensure api can work as expected with boolean query params  https://review.openstack.org/41937315:31
openstackgerritMerged openstack/zun: Remove get_container_id functions  https://review.openstack.org/41979616:02
sudipto_hongbin, hello, sorry i got swayed into other things...I was wondering what's the best way to find out the capabilities of a host, esp cpus...any thoughts?16:29
hongbinsudipto_: docker info could show some basic information16:30
openstackgerritMerged openstack/zun: Updated from global requirements  https://review.openstack.org/41994316:30
hongbinsudipto_: there might be some libraries/tools to query the detailed capabilities16:30
sudipto_hongbin, I was trying to find out how kurbernetes does it - they seem to represent all cpus in milliseconds.16:31
sudipto_another approach is to read it directly from proc/sysfs16:31
openstackgerritMerged openstack/python-zunclient: Corrected wrong env variable in --zun-api-version  https://review.openstack.org/41996616:31
hongbinsudipto_: perhaps, we could look at how nova-libvirt driver did it16:32
sudipto_nova-libvirt reads it from virsh capabilities16:33
sudipto_and libvirt reads it from syses16:33
sudipto_afaik16:33
hongbinsudipto_: i see16:34
hongbinthere are two problems here:16:36
hongbin1. how to represent the cpu allocation (milliseconds? vcpus?)16:36
hongbin2. how to query the cpu capabilities16:36
hongbinfor #2, i think copying from nova/libvirt/k8s would be a good start16:37
hongbinfor #1, i am not sure16:37
sudipto_hongbin, i am not sure if kubernetes supports the cpusets configs or numa...i am guessing they don't16:38
hongbinsudipto_: AFAIK, supporting numa is in their roadmap, but not for cpuset16:39
sudipto_hongbin, ok something we can in parallel develop i guess. but anyway, let me spend some more time thinking what they have done to get to 2.16:40
sudipto_i got swayed with some sahara work16:40
hongbinsudipto_: ack16:40
*** prameswar has quit IRC16:57
*** sudipto has quit IRC17:01
*** sudipto_ has quit IRC17:01
*** prameswar has joined #openstack-zun17:13
*** jwcroppe has quit IRC17:56
*** jwcroppe has joined #openstack-zun17:59
*** jwcroppe has quit IRC18:48
*** jwcroppe has joined #openstack-zun18:53
*** openstack has joined #openstack-zun19:00
*** prameswar has quit IRC19:13
*** openstackstatus has quit IRC19:57
*** openstack has joined #openstack-zun20:00
openstackgerritHongbin Lu proposed openstack/zun: Add container-update API  https://review.openstack.org/39110720:08
*** openstackstatus has quit IRC20:27
*** openstack has joined #openstack-zun20:30
*** vikasc has joined #openstack-zun20:32
openstackgerritHongbin Lu proposed openstack/zun: Add container-update API  https://review.openstack.org/39110721:05
openstackgerritHongbin Lu proposed openstack/zun: Add container-update API  https://review.openstack.org/39110722:28
*** catintheroof has quit IRC22:38
openstackgerritHongbin Lu proposed openstack/python-zunclient: Add OSC Plugin for openstack appcontainer exec  https://review.openstack.org/41796422:39
*** jwcroppe has quit IRC23:47
*** harlowja has quit IRC23:56

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