Wednesday, 2015-12-30

*** haomaiwang has quit IRC00:01
*** 77CAAFBH5 has joined #openstack-glance00:01
*** harshs has quit IRC00:15
*** harshs has joined #openstack-glance00:55
*** 77CAAFBH5 has quit IRC01:01
*** tobe has joined #openstack-glance01:02
*** haomaiwa_ has joined #openstack-glance01:03
*** tobe has quit IRC01:03
*** haomaiwa_ has quit IRC01:03
*** takedakn has joined #openstack-glance01:32
*** takedakn has quit IRC01:40
*** 5EXAAL60H has joined #openstack-glance01:51
*** boris-42 has quit IRC01:53
*** 5EXAAL60H has quit IRC02:01
*** haomaiwang has joined #openstack-glance02:01
*** mingdang1 has joined #openstack-glance02:17
*** nikhil_k has joined #openstack-glance02:20
*** nikhil has quit IRC02:22
*** houming has joined #openstack-glance02:31
*** haomaiwang has quit IRC03:01
*** 17WABFXHA has joined #openstack-glance03:01
openstackgerritwangxiyuan proposed openstack/glance: Fix help command in cache manange and replicator  https://review.openstack.org/26236503:10
*** MattMan has quit IRC03:17
*** MattMan has joined #openstack-glance03:17
*** links has joined #openstack-glance03:32
*** harshs has quit IRC03:45
*** 17WABFXHA has quit IRC04:01
*** 7YUAAH1CF has joined #openstack-glance04:01
*** rsjethani has joined #openstack-glance04:15
*** dims has quit IRC04:24
*** sigmavirus24_awa is now known as sigmavirus2404:30
*** ducttape_ has quit IRC04:49
*** ducttape_ has joined #openstack-glance04:51
*** 7YUAAH1CF has quit IRC05:01
*** haomaiwang has joined #openstack-glance05:01
*** ducttape_ has quit IRC05:17
*** harshs has joined #openstack-glance05:25
*** changbl has quit IRC05:26
*** sigmavirus24 is now known as sigmavirus24_awa05:30
*** sgotliv has joined #openstack-glance05:38
*** harshs has quit IRC05:57
*** haomaiwang has quit IRC06:01
*** haomaiwang has joined #openstack-glance06:01
*** harshs has joined #openstack-glance06:14
*** rsjethani has quit IRC06:16
*** haomaiwang has quit IRC06:19
*** haomaiwang has joined #openstack-glance06:19
*** harshs has quit IRC06:50
*** haomaiwang has quit IRC07:01
*** haomaiwang has joined #openstack-glance07:01
*** gberginc has joined #openstack-glance07:12
*** rsjethani has joined #openstack-glance07:24
*** GB21 has joined #openstack-glance07:36
*** sgotliv has quit IRC07:54
*** haomaiwang has quit IRC07:58
*** haomaiwa_ has joined #openstack-glance08:02
*** wxy__ has quit IRC08:04
*** wxy__ has joined #openstack-glance08:05
*** GB21 has quit IRC08:39
rsjethanikairat u here?08:47
*** openstackstatus has quit IRC08:50
*** openstackstatus has joined #openstack-glance08:51
*** ChanServ sets mode: +v openstackstatus08:51
*** haomaiwa_ has quit IRC09:01
*** haomaiwang has joined #openstack-glance09:01
*** sgotliv has joined #openstack-glance09:08
kairatrsjethani, hi09:18
kairatyep, i am here09:18
rsjethanii would like to discuss ur approach regarding request id patch09:19
rsjethanihttps://review.openstack.org/#/c/261288/09:20
kairatyep, I have seen that09:20
kairatIIUC, your approach is more robust according to the following criteria:09:21
kairatThe 'AppendHeaderHook' method has to know that request id is present as a value for a key called 'x-openstack-request-id'. What if in future this key changes?09:21
kairatThe 'AppendHeaderHook' method is assuming that it will be given a 'Response' object but the API may decide to use something else in the future.09:21
kairatWhen I was writing the review I was wondering if request_id should be really part of our API09:23
kairatIMO, when you have some empty list as part of API then smth is not good09:24
kairatI'll try to reply in details although your suggestion make sense09:28
kairatI just would to hear more opinion on this09:28
rsjethaniok09:31
kairatBut I think you will get more opinions after Holidays=)09:32
rsjethaniya thats true :)09:32
rsjethanihow od you see your approach being affected by future changes?09:35
rsjethanido*09:35
rsjethanilet me summarize your approach to see if I understand it correclty09:39
rsjethani'AppendHeaderHook' method will be on caller side. And there can be many more methods like these09:40
rsjethaniThese 'hook' methods will be passed as  a list to the API. Then these will be simply passed as response hooks while making request.09:42
rsjethaniIs this correct?09:42
rsjethaniOR do you mean to say that glance client will extract request id from response header and then call this 'hook' function?09:45
kairatI meant first09:49
kairatI know that this approach is not so robust as yours09:49
kairatBut once we add request_ids to API it will never get changed09:49
kairatperhaps we need to require some interface for hook class to ensure that API is not broken09:50
kairatneed to think about it09:50
rsjethaniif you are saying that  'AppendHeaderHook' will be simply passed as hook while making request then AppendHeaderHook should also be passed response object so that it can extract req id09:52
rsjethaniI am trying to implement your approach that is why i need more details. i was unable to clearly understand the appraoach in the comments09:56
kairatYep09:56
kairatI am not sure it is passed to server09:56
kairatAFAIK, request lib provides hooks for responses only09:56
kairathmm09:57
kairatI am also thinking about changing response in hook09:57
kairatIs it possible? WDYT?09:57
kairatIf yes then my proposal probably is wrong09:58
kairatuntil we allow hook to just extract attribute values.09:58
rsjethanichangin response? why?10:00
*** haomaiwang has quit IRC10:01
rsjethaniya requests only provides responsehook rit now10:01
*** haomaiwang has joined #openstack-glance10:01
kairatWe cannot be sure that this can't be used by frauds=)10:01
kairatsorry, not correct word10:02
kairatyep, you are right10:03
rsjethanihmm then lets wait for others to review10:03
kairatIf I am making request then there is nothing to do with response10:03
kairatOk10:03
rsjethaniso you think this hook feature of requests lib can have security issues?10:07
kairatNow, i don't think10:08
kairatIf you are updating only response10:09
kairatIf you updated response somehow with the hook you've got incorrect response10:09
kairatBut that's is not client trouble=)10:09
rsjethaniryt10:10
rsjethanii didnt understand your 'changing response in hook' comment10:10
rsjethaniplease explain10:11
kairatThat's actually was a question10:12
kairatIf we will provide hook as part of api10:12
kairatthen smb can get header values from response10:12
kairatCan smd set header values in hook?10:12
kairatThis was a question10:13
kairatBut it is not relevant anymore10:13
kairatJust wanted to explain my thought10:13
rsjethaniyes i think we can set headers10:13
kairatI think you better to wait other reviews10:14
kairatPerhaps, smd will enhance the approach10:15
kairator agree with you10:16
kairatI need some time to think how to enhance my proposal to address your concerns10:17
rsjethaniok :)10:18
*** e0ne has joined #openstack-glance10:19
rsjethanican u tell me what is meant by IIUC?10:19
kairatIf i understand correctly10:20
rsjethaniohh thanks10:20
rsjethanim new to irc ;)10:20
*** mingdang1 has quit IRC10:49
*** haomaiwang has quit IRC11:01
*** haomaiwa_ has joined #openstack-glance11:01
*** rsjethani has quit IRC11:03
*** slunkad has quit IRC11:25
*** slunkad has joined #openstack-glance11:38
*** smatzek has joined #openstack-glance11:40
*** haomaiwa_ has quit IRC12:01
*** wxy__ has quit IRC12:01
*** 5EXAAL93X has joined #openstack-glance12:01
*** wxy has joined #openstack-glance12:02
*** mfedosin has joined #openstack-glance12:12
*** dims has joined #openstack-glance12:13
*** HenryG has quit IRC12:42
*** HenryG has joined #openstack-glance12:46
*** 5EXAAL93X has quit IRC12:48
*** rsjethani has joined #openstack-glance12:49
*** 5EXAAMAE2 has joined #openstack-glance12:49
rsjethanikairat u here?12:50
*** houming has quit IRC12:52
kairatyep12:52
*** 5EXAAMAE2 has quit IRC13:01
*** haomaiwa_ has joined #openstack-glance13:01
rsjethanikindly check: https://pastee.org/ms62u13:14
*** ducttape_ has joined #openstack-glance13:14
rsjethaniis this code reflects your approach?13:15
openstackgerritzhangguoqing proposed openstack/glance: Use timeutils from oslo.utils  https://review.openstack.org/26249113:17
*** haomaiwa_ has quit IRC13:26
kairatyes13:28
openstackgerritDarja Shakhray proposed openstack/python-glanceclient: Use session when not specified token or endpoint  https://review.openstack.org/26222013:28
kairatLike this13:29
kairatAlthough you can do the same within one object13:30
*** sigmavirus24_awa is now known as sigmavirus2413:44
*** rsjethani has quit IRC13:49
*** gberginc has quit IRC13:54
*** 14WAAJM8B has joined #openstack-glance13:58
*** links has quit IRC13:59
*** changbl has joined #openstack-glance13:59
*** 14WAAJM8B has quit IRC14:01
*** haomaiwang has joined #openstack-glance14:01
*** ducttape_ has quit IRC14:15
openstackgerritHouMing Wang proposed openstack/glance: Use six.moves.reduce instead of builtin reduce  https://review.openstack.org/26252314:16
*** haomaiwang has quit IRC14:17
*** haomaiw__ has joined #openstack-glance14:17
*** ducttape_ has joined #openstack-glance14:18
*** ducttape_ has quit IRC14:24
*** gberginc has joined #openstack-glance14:27
*** ducttape_ has joined #openstack-glance14:33
*** ducttape_ has quit IRC14:34
*** mfedosin has quit IRC14:38
openstackgerritHarshada Mangesh Kakad proposed openstack/glance: Fixing the deprecated library function.  https://review.openstack.org/26226514:41
*** ducttape_ has joined #openstack-glance14:46
openstackgerritLiuNanke proposed openstack/glance: Using LOG.warning replace LOG.warn  https://review.openstack.org/26223714:47
*** mingdang1 has joined #openstack-glance14:54
*** links has joined #openstack-glance14:55
*** ducttape_ has quit IRC14:58
*** haomaiw__ has quit IRC15:01
*** gberginc has quit IRC15:01
*** 18WABN3YA has joined #openstack-glance15:01
*** mingdang1 has quit IRC15:35
*** smatzek has quit IRC15:51
*** 18WABN3YA has quit IRC15:53
*** links has quit IRC16:11
*** 14WAAJOMA has joined #openstack-glance16:13
*** 14WAAJOMA has quit IRC16:16
*** e0ne has quit IRC16:18
*** bharath has joined #openstack-glance16:21
*** links has joined #openstack-glance16:33
*** ducttape_ has joined #openstack-glance16:34
*** sgotliv has quit IRC16:34
*** haomaiwang has joined #openstack-glance16:34
*** jaypipes has joined #openstack-glance16:37
*** haomaiwang has quit IRC16:38
*** ducttape_ has quit IRC16:40
*** links has quit IRC16:41
*** groen692 has quit IRC17:00
*** ducttape_ has joined #openstack-glance17:36
*** ducttape_ has quit IRC17:40
*** dslevin has joined #openstack-glance17:44
*** e0ne has joined #openstack-glance17:53
*** e0ne has quit IRC17:54
*** e0ne has joined #openstack-glance17:58
*** harshs has joined #openstack-glance18:30
*** ducttape_ has joined #openstack-glance18:36
*** ducttape_ has quit IRC18:41
*** e0ne has quit IRC18:48
*** davideag_ has joined #openstack-glance19:01
*** davideagnello has quit IRC19:03
*** bharath has quit IRC19:04
*** agireud has joined #openstack-glance19:26
*** ducttape_ has joined #openstack-glance19:37
*** harshs has quit IRC19:41
*** ducttape_ has quit IRC19:42
*** haomaiwang has joined #openstack-glance19:54
*** haomaiwang has quit IRC19:58
*** openstackstatus has quit IRC20:35
*** openstack has joined #openstack-glance20:36
*** openstackstatus has joined #openstack-glance20:36
*** ChanServ sets mode: +v openstackstatus20:36
*** ducttape_ has joined #openstack-glance20:38
*** ducttape_ has quit IRC20:42
*** e0ne has joined #openstack-glance20:56
*** e0ne has quit IRC21:01
*** openstackstatus has quit IRC21:05
*** openstack has joined #openstack-glance21:06
*** openstackstatus has joined #openstack-glance21:06
*** ChanServ sets mode: +v openstackstatus21:06
*** dslevin has quit IRC21:14
*** dslevin has joined #openstack-glance21:14
*** dslevin has quit IRC21:18
*** ducttape_ has joined #openstack-glance21:39
*** haomaiwa_ has joined #openstack-glance21:43
*** david-lyle has quit IRC21:43
*** ducttape_ has quit IRC21:43
*** haomaiwa_ has quit IRC21:45
*** harshs has joined #openstack-glance21:45
*** harshs has quit IRC21:51
*** john5223 has joined #openstack-glance21:57
*** sgotliv has joined #openstack-glance21:59
john5223anyone know why --copy-from was removed from glance?22:00
*** dslevin has joined #openstack-glance22:01
*** dslevin has quit IRC22:06
*** openstackstatus has quit IRC22:19
*** openstackstatus has joined #openstack-glance22:20
*** ChanServ sets mode: +v openstackstatus22:20
*** harshs has joined #openstack-glance22:30
openstackgerritBrianna Poulos proposed openstack/glance: Add support for ECC signatures  https://review.openstack.org/24434722:31
*** harshs has quit IRC22:39
*** ducttape_ has joined #openstack-glance22:40
openstackgerritBrianna Poulos proposed openstack/glance: Add support for DSA signatures  https://review.openstack.org/24823722:43
*** ducttape_ has quit IRC22:44
*** david-lyle has joined #openstack-glance22:44
*** dslevin has joined #openstack-glance22:55
*** dslevin has quit IRC23:00
*** bapalm has quit IRC23:17
*** sigmavirus24 is now known as sigmavirus24_awa23:19
*** bapalm has joined #openstack-glance23:23
*** harshs has joined #openstack-glance23:30
*** haomaiwang has joined #openstack-glance23:31
*** haomaiwang has quit IRC23:34
*** ducttape_ has joined #openstack-glance23:40
*** ducttape_ has quit IRC23:45
*** dslevin has joined #openstack-glance23:50
*** dslevin has quit IRC23:54

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