Friday, 2017-02-03

*** hongbin has quit IRC00:04
*** catintheroof has joined #openstack-zun00:04
*** catintheroof has quit IRC00:30
*** hongbin has joined #openstack-zun01:35
*** zhurong has joined #openstack-zun01:52
*** anteaya has quit IRC01:57
*** anteaya has joined #openstack-zun02:04
*** hongbin has quit IRC02:19
*** hongbin has joined #openstack-zun02:21
*** hongbin has quit IRC02:28
*** prameswar has joined #openstack-zun02:39
*** hongbin has joined #openstack-zun03:21
*** hongbin has quit IRC03:31
*** zhurong_ has joined #openstack-zun03:36
*** lakerzhou has joined #openstack-zun03:38
*** zhurong has quit IRC03:38
*** lakerzhou has quit IRC03:59
*** zhurong_ has quit IRC04:11
openstackgerritNamrata proposed openstack/python-zunclient master: [WIP]Add OSC commands functional test  https://review.openstack.org/42830004:15
*** diga has joined #openstack-zun04:40
*** sudipto has joined #openstack-zun04:58
*** sudipto_ has joined #openstack-zun04:59
openstackgerritNamrata proposed openstack/python-zunclient master: [WIP]Add OSC commands functional test  https://review.openstack.org/42830005:04
openstackgerritMadhuri Kumari proposed openstack/zun master: Add initial Zun API documentation  https://review.openstack.org/42762505:10
*** sudipto_ has quit IRC05:13
*** sudipto has quit IRC05:13
openstackgerritNamrata proposed openstack/python-zunclient master: [WIP]Add OSC commands functional test  https://review.openstack.org/42830005:31
*** janki has joined #openstack-zun06:03
*** prameswar has quit IRC06:36
*** zhurong has joined #openstack-zun06:45
openstackgerritfeng.shengqin proposed openstack/zun master: Zun exec should fail when the command failed  https://review.openstack.org/42860206:57
openstackgerritNamrata proposed openstack/python-zunclient master: [WIP]Add OSC commands functional test  https://review.openstack.org/42830007:50
*** prameswar has joined #openstack-zun07:59
*** sudipto has joined #openstack-zun08:48
*** sudipto_ has joined #openstack-zun08:48
openstackgerritNamrata proposed openstack/python-zunclient master: [WIP]Add OSC commands functional test  https://review.openstack.org/42830009:04
digamkrai: Hi09:27
mkraiHi diga09:27
digamkrai: I need to add "zun volume create/list/show/delete command09:28
digamkrai: currently there is no command09:28
mkraidiga: ...09:29
mkraidiga: Have you implemented the APIs already for this?09:31
digamkrai: I am implementing now09:33
digamkrai: as part of implementation, I am planning to implement client command also09:35
mkraiOk09:36
digamkrai: what is our endpoint, I want to test my API from REST Client09:38
digaI am adding \volumes API09:38
digaI mean API endpoint url09:39
mkraihttp://10.128.0.2:9517/v1/containers09:39
mkraiThis is for containers09:39
mkraiAnd same for image /v2/images09:39
digamkrai: Okay09:41
digamkrai: Thank you!09:41
digamkrai: for volumes, should I add /v2/volumes ?09:41
mkraidiga: I don't think we need to add new API version09:42
mkraiWe can add in v1 itself09:42
digamkrai: okay09:42
*** prameswar has quit IRC09:44
digamkrai: I am adding under v1/volumes09:49
*** zhurong has quit IRC09:55
sudipto_mkrai, if you are on the NOVA channel, you might want to listen in regarding the cpuset work10:16
mkraiHi sudipto_10:17
mkraiI am not there but will join now10:17
mkraiThanks10:17
sudipto_I am unable to visualise a nested property in the Inventory table with the current resource providers model10:17
sudipto_nested == not a parent-child relation but more of representing a 'set' as opposed to an 'absolute number'10:18
sudipto_Like cpus = 4 is fine - it fits10:18
sudipto_but how would you fit - cpusets = [1, 2, 3]10:18
sudipto_mkrai, pasting the chat here:10:19
sudipto_ <bauzas> sudipto: sorry, missed your question10:19
sudipto_ <sudipto> bauzas, np10:19
sudipto_ <bauzas> sudipto: for the moment, we only have quantitave resources represented in the Placement PAI10:19
sudipto_ * salv-orlando has quit (Ping timeout: 240 seconds)10:19
sudipto_ <bauzas> sudipto: which are CPU usage, RAM and disk usage10:19
mkraiWe can save it10:19
sudipto_ <sudipto> bauzas, hmm ok.10:19
sudipto_ <bauzas> sudipto: when saying cpu_set, which particular compute resource are you talking about ?10:19
sudipto_ <sudipto> bauzas, https://github.com/openstack/nova/blob/master/nova/objects/numa.py#L47 this one...10:19
sudipto_ <bauzas> sudipto: on the cpu pinning details10:19
sudipto_ <bauzas> sudipto: I mean the NUMA things10:19
sudipto_ * rfolco (~rfolco@189.55.21.19) has joined #openstack-nova10:19
sudipto_ <bauzas> sudipto: so, yeah, this one is targeted to be implemented thanks to a nested-resource-provided BP10:19
mkraigimme a min10:19
sudipto_ <sudipto> bauzas, yeah i read through this: https://specs.openstack.org/openstack/nova-specs/specs/ocata/approved/nested-resource-providers.html10:19
sudipto_ <bauzas> basically, we'd say that that compute UUID == RP UUID10:19
sudipto_ <bauzas> and it would be parent of nested resource providers giving details on NICs or CPUs10:19
sudipto_ <bauzas> sudipto: exactly, so FWIW it will be a pike thing10:19
sudipto_ <sudipto> However, i could visualise how it would work for a numa_node's cpus or numa_node's memory (which would be qutitiative) - but if there's a set of cpus for a numa node, how do we represent it was my question...10:19
sudipto_ <sudipto> since we have defined a "total" field in the inventory table.10:19
mkraiIt will be listofintegers10:20
mkraiRight?10:20
sudipto_mkrai, not exactly10:21
sudipto_see this: https://github.com/openstack/nova/blob/68e79d304c9f5b5cbf57068b68d8d429b50429ce/nova/objects/resource_provider.py#L77310:21
sudipto_nova expects that all the resources will be represented using this inventory table.10:21
sudipto_mkrai, i can send you the details of the spec that i have written based on this model - where i found this problem.10:23
sudipto_I have somewhat solved it with my ugly hack10:23
sudipto_I wanted to know if there's a tox docs check i could do for trailing whitespaces (since the spec directory presently lives with all the python code)?10:23
mkraisure that will be much helpful10:23
sudipto_I wanted to run that before pushing the spec10:24
mkraiFrom what I understand cpusets = [1, 2,3 ], this seems to be a list of non-negative integers10:24
mkraipep8 would do10:25
mkraiOh is it under docs/ ?10:25
sudipto_nope10:26
sudipto_:(10:26
mkraiyou can post the patch and we can see10:26
mkraiI am online for another 15 min10:26
mkraii have office bus to catch :(10:27
sudipto_Alright np, i will post it and find out my space problems and then push another one correcting them :)10:28
mkraisure. however I will check it after reaching home :)10:31
openstackgerritSudipta Biswas proposed openstack/zun master: Introduce host capabilities and cpusets  https://review.openstack.org/42700712:06
*** sudipto has quit IRC12:07
*** sudipto_ has quit IRC12:07
*** catintheroof has joined #openstack-zun12:20
*** catintheroof has quit IRC12:20
*** catintheroof has joined #openstack-zun12:21
*** diga has quit IRC12:32
*** zhurong has joined #openstack-zun13:09
*** sudipto has joined #openstack-zun13:20
*** sudipto_ has joined #openstack-zun13:20
*** janki has quit IRC13:35
openstackgerritSudipta Biswas proposed openstack/zun master: Introduce host capabilities and cpusets  https://review.openstack.org/42700713:46
*** lakerzhou has joined #openstack-zun14:17
*** prameswar has joined #openstack-zun14:57
openstackgerritNamrata proposed openstack/python-zunclient master: [WIP]Add OSC commands functional test  https://review.openstack.org/42830015:56
*** hongbin has joined #openstack-zun16:06
openstackgerritHongbin Lu proposed openstack/zun master: Spec for Kuryr integration  https://review.openstack.org/42588316:18
*** prameswar has quit IRC16:23
*** zhurong has quit IRC16:34
*** trevormc has joined #openstack-zun16:44
*** Namrata has joined #openstack-zun16:45
sudipto_hongbin, i updated the spec for host capabilities and cpusets keeping in mind the resource provider stuff. It's going to need a solid review from you and others :-)17:07
sudipto_dims_, if you could provide your thoughts on this: https://review.openstack.org/#/c/427007/5/specs/cpuset-container.rst - that would really help. I believe the spec needs a bit of tightening work.17:08
dims_sudipto_ : i have a lot to catch up on in zun. hopefully will get less busy from release duties next week. adding it to my queue17:10
sudipto_dims_, ok np, whenever you get time that is.17:11
sudipto_I have lightly touched upon a scheduler framework and have kept in mind that it's not the 'scheduler for zun' spec. So an argument could be to first write that as well.17:11
*** trevormc has quit IRC17:37
*** Namrata has quit IRC17:46
*** Namrata has joined #openstack-zun17:58
*** Namrata has quit IRC18:07
*** sudipto has quit IRC18:07
*** sudipto_ has quit IRC18:07
*** catintheroof has quit IRC21:11
*** vikasc has quit IRC22:19
*** vikasc has joined #openstack-zun22:19
*** lakerzhou has quit IRC22:34
openstackgerritHongbin Lu proposed openstack/zun master: [WIP] Enable zun-etcd only if db type is etcd  https://review.openstack.org/42911223:54

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