Friday, 2015-11-13

*** pm90_ has joined #senlin00:00
*** shu has joined #senlin00:01
openstackgerritxu-haiwei proposed openstack/senlin: Fix SDK exception message parse  https://review.openstack.org/24395900:14
*** lvdongbing has joined #senlin00:35
*** pm90_ has quit IRC00:59
*** zhenguo has joined #senlin01:18
*** Yanyanhu has joined #senlin01:29
*** gongysh_ has joined #senlin01:52
*** elynn has joined #senlin02:10
elynnmorning02:13
Yanyanhumorning02:14
*** Yanyan has joined #senlin02:20
*** Yanyanhu has quit IRC02:22
*** openstackgerrit has quit IRC02:22
*** openstackgerrit has joined #senlin02:24
xuhaiweimorning02:25
*** jdandrea has quit IRC02:36
elynnHi xuhaiwei02:37
xuhaiweiyes02:37
elynnI reply your comment at https://review.openstack.org/#/c/244452/02:38
xuhaiweiwill check it, thanks02:39
*** jdandrea has joined #senlin02:41
xuhaiweilvdongbing, are you around?03:02
elynnHi Yanyan xuhaiwei , saw your comments. So you mean there's no need to add this function?03:12
xuhaiweiI think so, elynn, in senlinclient, we have give min_size and max_size the default value, so nothing wrong happens when you are using senlinclient03:13
elynnI have some concern that besides min_size and max_size, there are other value might have this problems too.03:14
elynnSince if use heat resources, we will directly call rest API03:14
xuhaiweilike your test, if you test the API directly, the bug happens, so in the API side, we just need to complete client side's job( add default value)03:14
xuhaiweiI know  that, we can't fix this kind of bugs at one time03:15
xuhaiweithat's why Nova is doing the API validation03:15
xuhaiweimaybe one day we can do the same work in Senlin03:15
Yanyanelynn, sorry, just back03:15
xuhaiweiWe should check all the API entrance parameters03:16
xuhaiweiYanyan, can you review this patch ? https://review.openstack.org/#/c/238753/103:17
Yanyanxuhaiwei, sure03:17
xuhaiweiit's a bug brought by you :)03:17
Yanyanxuhaiwei, ok :)03:17
Yanyanhi, elynn, I think maybe we can check all those parameters to find similar problem. If it is common, I think it's worthy to define such a function03:17
xuhaiweiqiming and julio have misunderstood lvdongbing's intension I think03:17
xuhaiweiI will go for lunch, talk to you later03:18
Yanyanttyl03:18
elynnxuhaiwei, yes, we should take care of all parameters, so that's why I add this function.03:18
xuhaiweielynn, I think your fix is an option, but from the code's view, it will make the code unreadable and a little dirty, honestly :)03:19
elynnok, if you insist, I will fix min_size and max_size for now, and if we found any bugs that happens, we can add a more common function.03:21
*** yuanying has quit IRC03:21
Yanyanelynn, agree with this. If it's become a common question(I guess it will be), we define a function for it.03:22
elynnIMO, adding a common function to handle kwargs can make codes more readable, maybe we should choose a better name for it ;)03:22
Yanyanbingo03:23
Yanyan'extract_kwargs' really can't reflect the 'None value is allowable(or not)' logic clearly :)03:24
*** yuanying has joined #senlin03:25
*** yuanying has quit IRC03:29
elynnkwargs.get('ATTR_NAME', None) is the same as extract_kwargs(kwargs, 'ATTR_NAME',  None) , maybe need more discussion if adding such a function.03:30
elynnAbout metadata value, can we accept it as None?03:31
Yanyanelynn, let me check it03:37
*** yuanying has joined #senlin03:38
Yanyanhi, elynn, I think if kwargs.get('ATTR_NAME', None) is the same as extract_kwargs(kwargs, 'ATTR_NAME',  None), we should use the former one since it is built-in support of python language:)03:38
Yanyanyes, metadata can be none03:39
Yanyanoh, sorry, can be empty dict03:40
Yanyanlunch time, ttyl03:41
elynnttyl, will submit a patch to just fix min_size and max_size problem ;)03:42
*** jdandrea has quit IRC03:49
*** yuanying_ has joined #senlin03:52
*** yuanying has quit IRC03:55
*** yuanying_ has quit IRC04:05
*** yuanying has joined #senlin04:08
*** lvdongbing has quit IRC07:08
openstackgerritEthan Lynn proposed openstack/senlin: Correct set the default value for min_size/max_size  https://review.openstack.org/24501107:08
*** lvdongbing has joined #senlin07:08
*** elynn has quit IRC07:45
*** shu has quit IRC08:52
*** openstackgerrit has quit IRC09:01
*** openstackgerrit has joined #senlin09:02
*** Yanyan has quit IRC09:26
*** openstackgerrit has quit IRC10:16
*** openstackgerrit has joined #senlin10:16
*** lvdongbing has quit IRC12:22
*** gongysh_ has quit IRC12:23
*** pm90_ has joined #senlin13:56
*** openstackgerrit has quit IRC14:01
*** openstackgerrit has joined #senlin14:02
*** lkarm has joined #senlin14:04
*** jdandrea has joined #senlin14:47
*** lkarm has quit IRC15:51
*** lkarm has joined #senlin16:01
*** pm90_ has quit IRC16:15
*** pm90__ has joined #senlin16:15
*** pm90__ has quit IRC17:17
*** pm90_ has joined #senlin17:45
*** lkarm has quit IRC17:53
*** Qiming has joined #senlin18:00
*** Qiming has quit IRC18:34
*** lkarm has joined #senlin18:50
*** lkarm has quit IRC18:54
*** lkarm has joined #senlin18:55
*** pm90_ has quit IRC19:53
*** pm90_ has joined #senlin20:11
*** Qiming has joined #senlin20:28
*** Qiming has quit IRC21:00
*** lkarm has quit IRC21:27
*** pm90_ has quit IRC21:50
*** pm90_ has joined #senlin23:00
*** gongysh has quit IRC23:51
*** gongysh has joined #senlin23:51

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