Monday, 2017-01-09

*** Qiming has quit IRC01:12
*** flwang has quit IRC01:12
*** dims has quit IRC01:12
*** yanyanhu has joined #openstack-zun01:12
*** flwang has joined #openstack-zun01:13
*** Qiming has joined #openstack-zun01:14
*** dims has joined #openstack-zun01:14
openstackgerritWenzhi Yu proposed openstack/zun: Enable etcd DB backend testing pipeline  https://review.openstack.org/41275601:23
*** Wenzhi has joined #openstack-zun01:28
*** Wenzhi has quit IRC01:44
*** Wenzhi has joined #openstack-zun01:44
*** jianyi has joined #openstack-zun02:02
*** zhurong has joined #openstack-zun02:06
*** zhurong has quit IRC02:15
*** zhurong has joined #openstack-zun02:16
*** Wenzhi has quit IRC02:18
*** Wenzhi has joined #openstack-zun02:18
*** prameswar has joined #openstack-zun02:18
openstackgerritKevin Zhao proposed openstack/python-zunclient: Add support for attach detach and resize  https://review.openstack.org/41768102:27
openstackgerritKevin Zhao proposed openstack/python-zunclient: Add support for attach detach and resize  https://review.openstack.org/41768102:41
openstackgerritKevin Zhao proposed openstack/python-zunclient: Add support for attach detach and resize  https://review.openstack.org/41768102:59
openstackgerrithuhaoran proposed openstack/zun: Code fix for bug#1652868  https://review.openstack.org/41734102:59
openstackgerritKevin Zhao proposed openstack/python-zunclient: Add support for attach detach and resize  https://review.openstack.org/41768103:07
*** kevinz has joined #openstack-zun03:09
*** yanyanhu has quit IRC03:13
*** hongbin has joined #openstack-zun03:15
*** yanyanhu has joined #openstack-zun03:18
*** zhurong has quit IRC03:43
*** janki has joined #openstack-zun03:43
jianyihi hongbin zun-api run in control node, zun-compute run in compute node, is that right?  This is just my understanding.04:04
hongbinjianyi: yes, it is right04:04
hongbinjianyi: thanks for adding zun to kolla. appreciate your efforts :)04:05
jianyihongbin,Thank you for your review,this is very helpful to me :)04:10
hongbinjianyi: good to hear04:10
*** sheel has joined #openstack-zun04:11
hongbinjianyi: btw, do you know what is the easiest way to setup a kolla-ansible dev environment (the quickstart guide looks very complicated)04:14
openstackgerritSudipta Biswas proposed openstack/zun: add the cpuset to container object  https://review.openstack.org/41774304:47
*** hongbin has quit IRC04:50
openstackgerritSudipta Biswas proposed openstack/zun: add the cpuset to container object  https://review.openstack.org/41774304:52
*** Wenzhi has quit IRC05:00
*** Wenzhi has joined #openstack-zun05:00
*** Wenzhi has quit IRC05:05
*** zhurong has joined #openstack-zun05:27
*** diga has joined #openstack-zun05:28
openstackgerritDigambar proposed openstack/zun: Implement Cinder integration with zun  https://review.openstack.org/41774705:31
jianyihongbin,i also refer to the quickstart guide , Don't know the orher way05:38
*** Wenzhi has joined #openstack-zun05:44
openstackgerritSudipta Biswas proposed openstack/zun: add cpuset to the docker driver  https://review.openstack.org/41775106:09
openstackgerritSudipta Biswas proposed openstack/python-zunclient: add cpusets during container creation  https://review.openstack.org/41775306:24
openstackgerritJoe Cropper proposed openstack/zun: Fix exception handling  https://review.openstack.org/41756606:32
*** zhangjl has joined #openstack-zun06:44
openstackgerritMaohaijun proposed openstack/zun: Missing import '_' in file zun/container/driver.py  https://review.openstack.org/41776407:15
*** openstackgerrit has quit IRC08:18
*** pksingh has joined #openstack-zun08:29
*** pksingh has quit IRC08:31
*** Wenzhi has quit IRC08:45
*** jwcroppe has quit IRC08:48
*** sudipto has joined #openstack-zun08:51
*** sudipto_ has joined #openstack-zun08:51
*** vikasc has quit IRC08:53
*** flaper87 has joined #openstack-zun08:55
*** vikasc has joined #openstack-zun08:55
*** prameswar has quit IRC09:01
*** jianyi has quit IRC09:04
sudipto_mkrai, hi, are you there?09:38
*** zhurong has quit IRC09:40
mkraihi sudipto_09:42
sudipto_mkrai, if i want to convert a value that's given by the user into another type - what's the best place to do it? I am referring to the user entering a string representing a "cpuset", but while storing that "cpuset", I want to store it as a listofinterger09:43
sudipto_the validation of the string being correct or not also can be determined by whether it's convertible into a list or not.09:44
sudipto_The current validation framework we have, does not seem to allow me to do that...09:44
mkraiIt is good to do at the API layer itself09:45
mkraiBecause we create the db object there only09:45
sudipto_mkrai, yeah, in the API Layer, i thought the validator could have a way to check that...09:46
sudipto_otherwise, it can be base.py method...but not sure if that's a good thing.09:46
mkraithe jsonschema will validate it. Isn't it?09:46
sudipto_the jsonschema seems to validate things on 'type'09:47
sudipto_i am trying to convert one 'type' to another 'type' and check if the first 'type' is correct or not09:47
sudipto_but yeah, i think it should be possible in the jsonschema09:47
mkraiok so I think the jsonschema can validate the acceptable type and then you can have another method to parse/change it to the desirable typr09:48
mkraiBut should be done at API layer itself09:48
sudipto_ok09:48
mkraiYeah I haven't had look at jsonschema but I guess it should have a way09:49
sudipto_looks like i can write a validator to validate the input, wondering i can store the converted input somehow or not..09:53
*** openstackgerrit has joined #openstack-zun09:55
openstackgerritMerged openstack/zun: Fix exception handling  https://review.openstack.org/41756609:55
*** pksingh has joined #openstack-zun09:58
*** yanyanhu has quit IRC10:07
*** sudipto has quit IRC10:11
*** sudipto_ has quit IRC10:11
*** sudipto has joined #openstack-zun10:12
*** sudipto_ has joined #openstack-zun10:12
mkraiDo you have patch uploaded for this sudipto_ ?10:12
*** pksingh has quit IRC10:15
*** kevinz has quit IRC10:16
*** zhangjl has quit IRC10:16
*** prameswar has joined #openstack-zun10:21
sudipto_mkrai, writing one...10:24
mkraiok I can have a look then and hopefully suggest something10:29
openstackgerritMerged openstack/zun: Fix incorrect filtering at ZunService dbapi  https://review.openstack.org/41753910:35
openstackgerritMerged openstack/zun: Missing import '_' in file zun/container/driver.py  https://review.openstack.org/41776410:35
*** diga has quit IRC11:14
*** sudipto has quit IRC11:21
*** sudipto_ has quit IRC11:21
*** kevinz has joined #openstack-zun12:16
openstackgerritWenzhi Yu proposed openstack/zun: Enable etcd DB backend testing pipeline  https://review.openstack.org/41275612:27
*** janki has quit IRC12:38
*** catintheroof has joined #openstack-zun12:42
*** sudipto_ has joined #openstack-zun13:02
*** sudipto has joined #openstack-zun13:02
*** sudipto_ has quit IRC13:04
*** sudipto has quit IRC13:04
*** sudipto has joined #openstack-zun13:06
*** sudipto_ has joined #openstack-zun13:06
*** sudipto has quit IRC13:07
*** sudipto_ has quit IRC13:07
*** sudipto_ has joined #openstack-zun13:08
*** sudipto has joined #openstack-zun13:08
*** zhurong has joined #openstack-zun13:23
*** diga has joined #openstack-zun13:35
*** kevinz has quit IRC13:49
*** kevinz has joined #openstack-zun13:50
*** hongbin has joined #openstack-zun14:12
*** kevinz has quit IRC14:15
*** pksingh has joined #openstack-zun14:25
*** zhurong has quit IRC14:29
*** jwcroppe has joined #openstack-zun14:46
sudipto_hongbin, good morning.15:06
hongbinsudipto_: hey15:07
openstackgerritPradeep Kumar Singh proposed openstack/zun: Make start/stop/pause/unpause/restart/kill action async  https://review.openstack.org/41690415:07
sudipto_I registered a BP today: https://blueprints.launchpad.net/zun/+spec/cpuset-container - this is just for adding the cpuset as an option to zun create - the scheduler/capability part will be done subsequently. what do you think?15:07
sudipto_I wrote some code too for that, but i have some conflicts w.r.t resolving one issue, that i can discuss here...with pksingh being around.15:08
hongbinsudipto_: approve the bp15:08
pksinghhello sudipto, hongbin15:09
hongbinsudipto_: sure, go ahead, (i am not sure what conflict yet)15:09
sudipto_hongbin, thanks. Now to the implementation problem i have been having is w.r.t the way we would want to provide the user this option for cpuset. I assume we would want the user to enter a string which would be something like "1,2,3-6"15:10
sudipto_But in order for us to build on exclusive cpusets later, we would want this string value to be stored as a "Set" in the DB - that way we can compare the sets for exclusivity etc...15:10
sudipto_The validation logic we have right now, can do the check for a proper string in the API layer, but in the API layer, i would also like to covert this above mentioned string to something like: [1, 2, 3, 4, 5, 6] and store it against the container object.15:11
sudipto_What should be the best possible way to do this?15:11
hongbini think i need to review the patch before answering the question :)15:12
sudipto_The patchset is a bit incomplete coz of this.15:13
pksinghsudipto_: you can write your own validators, and validate the input15:13
hongbini haven't looked into the details yet, but it seems here is an option:15:14
hongbinin the cli, support "1,2,3-6", in the rest api support [1,2,3,4,5,6]15:15
sudipto_pksingh, yeah, i thought of writing one like that "maximum" "minimum" thing you have in there for now, but i was thinking if i could write a function like this: https://github.com/openstack/nova/blob/32a864fd17d4d08df899d1f4c2a143febed5da92/nova/virt/hardware.py#L57 and then have that validate the input15:15
sudipto_hongbin, i think then you are suggesting that the conversion from string to list, can be done in the zunclient itself right?15:15
sudipto_(i think that's a good suggestion)15:15
hongbinsudipto_: yes15:16
sudipto_Alright sounds good. pksingh - what's the way to validate a list?15:16
sudipto_parameter_type per say...15:16
pksinghsudipto_: https://spacetelescope.github.io/understanding-json-schema/reference/array.html15:17
sudipto_that helps :)_15:17
sudipto_thank you!! BTW, if you really want a spec i could write one...but I feel that a spec is worthy for a feature when we write the exclusivity and scheduler part, what do you think?15:18
pksinghsudipto_: no sir :), i just wanted to understand the feature more, may be i need to look more in documentation for understanding the functionality first15:19
sudipto_pksingh, https://agileek.github.io/docker/2014/08/06/docker-cpuset/ something like this can be done post this is in15:20
pksinghsudipto_: i thought you are binding a container to a cpu core, i dont know whether i am correct or not15:20
hongbinsudipto_: i think you could write down the document in the bp (instead of writting a spec)15:20
sudipto_hongbin, sounds fair, i will write more details there.15:21
sudipto_pksingh, yeah binding the core to container, but not giving any exclusivity yet.15:21
pksinghhongbin: sudipto, please review my patch https://review.openstack.org/#/c/416904/, i need to rebase it again and again, since it changes the manager :)15:22
sudipto_pksingh, aye aye sir!15:22
hongbinit conflicts with 5 patches :)15:23
hongbinok, let's merge it as long as the gate is clear15:23
pksinghhongbin: :)15:23
sudipto_done15:24
pksinghsudipto_: thannks for the link, will look into it. Man you english is too good, sometimes i need to look internet15:24
pksinghsudipto_: :)15:24
sudipto_pksingh, i would tread that compliment carefully :)15:25
* hongbin is going to drive to office and will be offline in about half an hour15:26
*** hongbin has quit IRC15:26
pksinghsudipto_: can user select the CPU cores in public cloud, where they don't know about the compute hosts, just random thought15:27
*** pksingh has quit IRC15:29
*** pksingh has joined #openstack-zun15:30
pksinghsudipto_: can user select the CPU cores in public cloud, where they don't know about the compute hosts, just random thought15:34
*** pksingh has quit IRC15:46
openstackgerritMerged openstack/zun: Fix the incorrect initialization of context roles  https://review.openstack.org/41764815:46
sudipto_pksingh, good question, ideally not. This would be more of an API capability that docker presently supports. This would be just an optional field that could be set for specific cases..16:00
sudipto_However if you have some thoughts around that, i am more than happy to hear :)16:00
openstackgerritMerged openstack/zun: Make start/stop/pause/unpause/restart/kill action async  https://review.openstack.org/41690416:06
openstackgerritDigambar proposed openstack/zun: Implement Cinder integration with zun  https://review.openstack.org/41774716:08
*** jayaura has quit IRC16:19
*** mkrai has quit IRC16:19
sudipto_from the cloud use case per say - it should be something like enforce_exclusive_cpusets  (with a value of how many crusts)- and then zun would be making sure that happens via this cpuset support...16:22
*** hongbin has joined #openstack-zun16:23
*** Qiming has quit IRC16:34
openstackgerritNamrata proposed openstack/python-zunclient: Add OSC Plugin for openstack appcontainer exec  https://review.openstack.org/41796416:39
*** Qiming has joined #openstack-zun16:40
openstackgerritSudipta Biswas proposed openstack/zun: add cpuset to the docker driver  https://review.openstack.org/41775116:46
*** Guest10938 has joined #openstack-zun16:52
*** sudipto has quit IRC17:32
*** sudipto_ has quit IRC17:33
*** mkrai has joined #openstack-zun17:33
*** sudipto_ has joined #openstack-zun17:39
*** sudipto has joined #openstack-zun17:39
*** sudipto has quit IRC17:39
*** sudipto_ has quit IRC17:39
openstackgerritNamrata proposed openstack/python-zunclient: Add OSC Plugin for openstack appcontainer logs  https://review.openstack.org/41800718:18
*** harlowja_ has joined #openstack-zun18:31
*** harlowja has quit IRC18:31
*** prameswar has quit IRC18:32
openstackgerritNamrata proposed openstack/python-zunclient: Add OSC Plugin for openstack appcontainer kill  https://review.openstack.org/41806019:18
openstackgerritNamrata proposed openstack/python-zunclient: Add OSC Plugin for openstack appcontainer stop  https://review.openstack.org/41808620:03
openstackgerritNamrata proposed openstack/python-zunclient: Add OSC Plugin for openstack appcontainer run  https://review.openstack.org/41810320:24
*** catinthe_ has joined #openstack-zun20:59
*** catintheroof has quit IRC21:00
*** catinthe_ has quit IRC22:24
*** harlowja_ has quit IRC23:40
*** harlowja has joined #openstack-zun23:41
*** diga has quit IRC23:51
*** diga has joined #openstack-zun23:52
digahongbin: Hi23:52
hongbindiga: sup23:52
digahongbin: as you commented in the spec, Fuxi is not supporting multi tenancy23:53
hongbindiga: yes23:54
hongbindiga: it doesn't support multi-tenancy23:54
digahongbin: If we need tenancy support in fuxi, we can add it in future ? that is doable correct ?23:54
hongbindiga: i am not sure exactly. right now, i couldn't think of a feasible approach to support multi-tenancy in fux23:56
digahongbin: okay23:56
digahongbin: we can start with Fuxi now, but in this case, we want to implement volume support such a way that it is extendable in future to support multiple volume dirver23:58

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