Friday, 2016-12-09

*** harlowja_ has quit IRC00:32
*** harlowja has joined #openstack-zun00:51
*** zhurong has joined #openstack-zun01:13
*** yanyanhu has joined #openstack-zun01:42
*** gyx has joined #openstack-zun01:57
*** zhangjl has joined #openstack-zun02:28
*** gyx has quit IRC02:50
*** yuanying has quit IRC02:50
*** gyx has joined #openstack-zun02:51
*** harlowja has quit IRC02:55
*** kevinz has joined #openstack-zun02:56
*** kevinz has quit IRC03:04
*** kevinz has joined #openstack-zun03:05
*** kevinz has quit IRC03:24
*** yuanying has joined #openstack-zun03:50
*** yuanying has quit IRC03:50
*** yuanying has joined #openstack-zun03:51
*** pksingh has joined #openstack-zun04:17
*** prameswar has joined #openstack-zun04:17
*** yuanying has quit IRC04:23
*** yuanying has joined #openstack-zun04:24
*** yuanying has quit IRC04:24
*** yuanying has joined #openstack-zun04:25
*** yuanying has quit IRC04:25
*** sudipto has joined #openstack-zun04:58
*** sudipto_ has joined #openstack-zun04:58
*** pksingh has quit IRC04:58
sudipto_mkrai, hi there, good morning.05:16
mkraiHi sudipto_05:17
mkraiGood morning05:17
*** yuanying has joined #openstack-zun05:26
*** trinaths has joined #openstack-zun05:27
*** prameswar has quit IRC05:29
*** pksingh has joined #openstack-zun05:31
*** yuanying has quit IRC05:35
*** yuanying has joined #openstack-zun05:36
*** klkumar has joined #openstack-zun05:42
*** yuanying has quit IRC05:49
*** GB21 has joined #openstack-zun05:52
*** kevinz has joined #openstack-zun05:54
*** prameswar has joined #openstack-zun06:10
*** klkumar has quit IRC06:14
*** klkumar has joined #openstack-zun06:15
*** pksingh has quit IRC06:17
*** pksingh has joined #openstack-zun06:25
*** yuanying has joined #openstack-zun06:28
*** pksingh has quit IRC06:48
*** yuanying_ has joined #openstack-zun06:55
*** zhurong has quit IRC06:57
*** zhurong has joined #openstack-zun06:58
*** yuanying has quit IRC06:58
*** prameswar has quit IRC07:06
*** GB21 has quit IRC07:09
*** yuanying_ has quit IRC07:14
*** GB21 has joined #openstack-zun07:21
*** pksingh has joined #openstack-zun07:27
*** janki has joined #openstack-zun07:27
*** GB21 has quit IRC07:34
*** GB21 has joined #openstack-zun07:45
*** GB21 has quit IRC07:55
sudipto_mkrai, any reason why - we would like to convert a dictionary, back to a Image dictionary and then back to an Image object? (I understand one is a API image object and another one is the generic Image object) here: https://github.com/openstack/zun/blob/master/zun/api/controllers/v1/images.py#L18608:29
sudipto_I am writing a patch to optimise this08:31
mkraisudipto_: We are not using wsme to validate inputs08:38
mkraiSo the Image API class objects help to validate the input08:38
mkraiIf you see the types are defined in fields08:39
sudipto_mkrai, yeah i did see that08:39
sudipto_mkrai, also - we seem to revalidate the RPC output here: https://github.com/openstack/zun/blob/master/zun/api/controllers/v1/images.py#L87 - is that true/necessary?08:46
*** janki has quit IRC08:47
sudipto_unset_fields_except -- this method seems to be in api/base i think maybe that compels this to be converted to an "Image" type08:48
mkraiyes08:48
mkraihttps://github.com/openstack/zun/blob/master/zun/api/controllers/v1/images.py#L7108:48
mkraiI was sending the same line ;)08:48
pksinghsudipto: mkrai , i have a blueprint for api validations and all such things, https://blueprints.launchpad.net/zun/+spec/api-json-input-validation08:51
pksinghmay be that will handle such issues08:51
sudipto_sigh! when i remove dictcompat from the Image Object. The problem is - it looses the nature of being a dictionary and hence you can't do L8708:52
sudipto_pksingh, that's more like it :)08:52
sudipto_I get a sense we are converting the objects, way too many times from objects to dict and back08:52
*** janki has joined #openstack-zun08:53
mkraiYes it seems so. I guess in that case first we need to complete the API validation bp08:54
mkraiAnd then removing dictcompact would be possible08:54
sudipto_mkrai, i am going to go ahead and do a patch on the image.py for now - and add a TODO there...but upto you guys - if you want to hold it till the api validation bp is done.08:58
mkraiI think that's fine08:58
mkraiPlease go ahead with your fix for dictcompact removal.08:59
openstackgerritzhangjl proposed openstack/zun: TrivialFix: Replace six.iteritems() with .items()  https://review.openstack.org/40903609:03
*** pksingh has quit IRC09:04
*** strigazi_AFK is now known as strigazi09:10
*** pksingh has joined #openstack-zun09:11
openstackgerritSudipta Biswas proposed openstack/zun: Remove dict-compat from the image object  https://review.openstack.org/40841209:23
sudipto_mkrai, alrite...here's one that i just pushed ^ hopefully jenkins will pass on this.09:23
mkrailet's wait for the gate to pass09:25
*** exploreshaifali has joined #openstack-zun09:39
*** yanyanhu has quit IRC09:39
*** pksingh has quit IRC09:39
*** pksingh has joined #openstack-zun09:44
*** zhurong has quit IRC09:46
*** kevinz has quit IRC09:46
sudipto_mkrai, the gate seems to have answered.09:48
*** GB21 has joined #openstack-zun09:49
*** pksingh has quit IRC10:04
*** pksingh has joined #openstack-zun10:11
*** pksingh has quit IRC10:12
*** pksingh has joined #openstack-zun10:12
openstackgerrithuhaoran proposed openstack/zun: Add UT for docker driver  https://review.openstack.org/40905810:13
openstackgerritguo yunxian proposed openstack/zun: Remove unused variables  https://review.openstack.org/40850210:18
*** zhangjl has left #openstack-zun10:21
*** tbh has joined #openstack-zun10:23
*** sudipto_ has quit IRC10:27
*** sudipto has quit IRC10:27
*** exploreshaifali has quit IRC10:28
*** prameswar has joined #openstack-zun10:29
*** GB21 has quit IRC10:39
*** janki has quit IRC10:47
*** janki has joined #openstack-zun10:58
*** GB21 has joined #openstack-zun11:01
*** pksingh has quit IRC11:07
*** pksingh has joined #openstack-zun11:19
*** mfedosin has quit IRC11:22
*** pksingh has quit IRC11:22
*** exploreshaifali has joined #openstack-zun11:37
*** klkumar has quit IRC11:45
*** klkumar has joined #openstack-zun11:55
*** exploreshaifali has quit IRC12:00
*** zhangjl has joined #openstack-zun12:13
*** gyx has quit IRC12:33
*** GB21 has quit IRC12:40
*** zhangjl has quit IRC12:50
*** trinaths has quit IRC13:03
*** sudipto_ has joined #openstack-zun13:12
*** sudipto has joined #openstack-zun13:12
*** janki has quit IRC13:59
*** kevinz has joined #openstack-zun14:11
*** GB21 has joined #openstack-zun14:45
*** vikasc has joined #openstack-zun15:18
*** kevinz has quit IRC15:19
*** pksingh has joined #openstack-zun15:49
*** catintheroof has joined #openstack-zun15:54
*** pksingh has quit IRC15:55
*** pksingh has joined #openstack-zun15:57
*** pksingh has quit IRC15:59
*** hongbin has joined #openstack-zun15:59
openstackgerritMerged openstack/zun: TrivialFix: Replace six.iteritems() with .items()  https://review.openstack.org/40903616:02
*** exploreshaifali has joined #openstack-zun16:06
*** sudipto_ has quit IRC16:19
*** sudipto has quit IRC16:19
*** sudipto has joined #openstack-zun16:19
*** sudipto_ has joined #openstack-zun16:20
*** pksingh has joined #openstack-zun16:22
*** kragniz has quit IRC16:32
*** kragniz has joined #openstack-zun16:33
*** exploreshaifali has quit IRC16:56
*** GB21 has quit IRC17:16
*** klkumar has quit IRC17:25
*** strigazi is now known as strigazi_AFK17:43
*** exploreshaifali has joined #openstack-zun17:56
*** vikasc has quit IRC18:00
*** GB21 has joined #openstack-zun18:05
*** sudipto has quit IRC18:17
*** sudipto_ has quit IRC18:17
*** prameswar has quit IRC18:23
*** prameswar has joined #openstack-zun18:27
*** harlowja has joined #openstack-zun18:32
*** harlowja_ has joined #openstack-zun18:34
*** harlowja has quit IRC18:35
*** GB21 has quit IRC18:36
*** exploreshaifali has quit IRC18:38
*** exploreshaifali has joined #openstack-zun18:47
*** exploreshaifali has quit IRC18:51
*** pksingh has quit IRC19:18
*** openstack has joined #openstack-zun19:46
*** prameswar has quit IRC20:32
*** tbh has quit IRC22:08
openstackgerritHongbin Lu proposed openstack/zun: Enable Nova driver in gate pipeline  https://review.openstack.org/40935422:32

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