Wednesday, 2015-08-26

*** openstack has joined #senlin00:35
*** Qiming has joined #senlin01:10
Qimingmorning01:10
admin__morning, Qiming01:10
Qimingadmin__, free to have a quick call?01:11
admin__call me by 1381067844101:11
admin__thanks01:11
admin__or let me know your number01:11
Qimingcalling01:12
*** zhenguo has joined #senlin01:17
openstackgerritZhenguo Niu proposed stackforge/senlin-dashboard: Add cluster dashboard  https://review.openstack.org/21676201:21
*** lawrance_ has joined #senlin01:41
*** Yanyanhu has joined #senlin01:45
*** mathspanda has joined #senlin01:48
*** elynn has joined #senlin02:01
*** lawrance_ has quit IRC02:03
*** lawrance_ has joined #senlin02:03
xuhaiweiYanyanhu, morning02:03
Yanyanhuhi, morning02:04
openstackgerritMerged stackforge/senlin-dashboard: Add cluster dashboard  https://review.openstack.org/21676202:04
xuhaiweiJust saw this patch, https://review.openstack.org/#/c/214090/16/senlin/tests/functional/api.py02:04
xuhaiweiline42, when ignore_missing=True, should only return 200 i think02:05
*** lawrance_ has quit IRC02:07
Qimingxuhaiwei, agree02:17
Yanyanhuhi, xuhaiwei, sorry just left for a while02:18
xuhaiweiok02:19
Yanyanhuhi, xuhaiwei, the status_code list defines all status that will be accepted by api client02:27
Yanyanhutherefore when ignore_missing is defined as True, both 200 and 404 will be acceptable for api client02:28
Yanyanhuotherwise, when api client accpet and 404 status code, it will raise an exception02:28
xuhaiweiI think when ignore_missing is True, exception will not be raised02:29
Yanyanhuright02:30
xuhaiweijust return None to the client02:30
Yanyanhunope, since the status code check and filtering is done in client side02:31
Yanyanhunot provided by backend service02:31
Yanyanhuapi client just get the real resp status code and decide whether to raise exception02:31
YanyanhuI should add some parameter descriptions for api_request function to explain the logic :)02:32
xuhaiweidon't understand well what you said02:35
Yanyanhuhmm, you can image the api client we implemented in senlin functional test is just openstacksdk02:35
Yanyanhuusually we use sdk to talk with other services'02:35
xuhaiweiyes02:36
Yanyanhuif we define ignore_missing as true when performing get_xxx operation, sdk will not raise exception when 404 code is return by backend service, right?02:36
xuhaiweiyes02:37
Yanyanhuthat's because sdk accepts both 200 and 404 as legal resp status code02:37
xuhaiweiright02:38
Yanyanhutherefore, it won't treat NotFound as an exception and raise it to user02:38
Yanyanhuour api client will behave like this as well :)02:38
Yanyanhuif you defined ignore_missing as True, both 200 and 404 will be treated as expected resp status code02:39
xuhaiweiI think I got you02:39
Yanyanhu;)02:39
xuhaiweiif ignore_missing is False, we should check whether exception is happened?02:40
Yanyanhuright02:40
xuhaiweigood02:40
openstackgerritYanyan Hu proposed stackforge/senlin: Define _build_connection_params in policy base module  https://review.openstack.org/21693603:04
*** jdandrea has quit IRC03:23
*** lawrance_ has joined #senlin03:26
openstackgerritOpenStack Proposal Bot proposed stackforge/senlin: Updated from global requirements  https://review.openstack.org/21697205:21
*** Yanyanhu has quit IRC05:26
*** Yanyanhu has joined #senlin05:27
openstackgerritYanyan Hu proposed stackforge/senlin: Define _build_connection_params in policy base module  https://review.openstack.org/21693605:32
openstackgerritYanyan Hu proposed stackforge/senlin: Define _build_connection_params in policy base module  https://review.openstack.org/21693605:35
Yanyanhuhi, Qiming, I'm now working on using senlin generic driver to manage keystone_v3 driver. One question I'm wondering is whether we should invoke interfaces provided by keystone driver through generic driver interface in all cases06:17
Yanyanhujust like what we discussed about runing heat without keystone06:18
Yanyanhualthough senlin is an openstack service, but I think it can also be run without keystone service although some extra work is needed to make this possible06:19
Yanyanhuso besides profile and policy modules, shoud we also invoke identity related interfaces using senlin generic driver in some other modules like trust middleware or webhook06:22
Qimingthat is a great idea06:41
Qimingthe only concern is about time06:42
Qimingwe won't make it before L-306:42
Yanyanhuyes. I think we can do it step by step06:42
Qimingthere are more important work than that06:42
Yanyanhuright06:42
Yanyanhuso we just provide basic support for managing keystone client using senlin generic driver06:42
Yanyanhuin current stage06:43
Yanyanhuthen we can try to think about this issue and find possible solution in future06:43
Qimingyes06:47
*** lawrance_ has quit IRC07:14
*** lawrance_ has joined #senlin07:15
*** mathspanda has quit IRC07:54
openstackgerritQiming Teng proposed stackforge/senlin: Fix webhook triggering logic  https://review.openstack.org/21675108:02
openstackgerritxu-haiwei proposed stackforge/senlin: Catch all the driver exceptions on node engine layer  https://review.openstack.org/21613908:05
openstackgerritYanyan Hu proposed stackforge/senlin: Define _build_connection_params in policy base module  https://review.openstack.org/21693608:10
*** Yanyanhu has quit IRC08:25
*** Yanyanhu has joined #senlin08:25
Qimingxuhaiwei, 216139 looks good, pls fix the pep8 error08:32
xuhaiweiok08:38
openstackgerritMerged stackforge/senlin: Define _build_connection_params in policy base module  https://review.openstack.org/21693608:40
openstackgerritxu-haiwei proposed stackforge/senlin: Fail webhook creation if url is not correctly created  https://review.openstack.org/21650808:40
openstackgerritxu-haiwei proposed stackforge/senlin: Catch all the driver exceptions on node engine layer  https://review.openstack.org/21613908:43
openstackgerritQiming Teng proposed stackforge/senlin: Minor tweaks to the drivers base  https://review.openstack.org/21703608:48
openstackgerritxu-haiwei proposed stackforge/senlin: Catch all the driver exceptions on node engine layer  https://review.openstack.org/21613908:55
openstackgerritYanyan Hu proposed stackforge/senlin: Use senlin generic driver to manege keystone driver  https://review.openstack.org/21704509:07
QimingYanyanhu, please help check 217036 above?09:09
Yanyanhusure, have looked at it and I think it's ok09:10
Yanyanhujust wait for gate's verification09:10
Qimingok09:10
Yanyanhuwill rebase 217045 on it and 21675109:10
Qimingok09:11
openstackgerritMerged stackforge/senlin: Fix webhook triggering logic  https://review.openstack.org/21675109:11
openstackgerritYanyan Hu proposed stackforge/senlin: Use senlin generic driver to manege keystone driver  https://review.openstack.org/21704509:25
openstackgerritQiming Teng proposed stackforge/senlin: Removal of debugging code  https://review.openstack.org/21706209:45
openstackgerritMerged stackforge/senlin: Minor tweaks to the drivers base  https://review.openstack.org/21703609:46
openstackgerritYanyan Hu proposed stackforge/senlin: Use senlin generic driver to manege keystone driver  https://review.openstack.org/21704509:48
openstackgerritMerged stackforge/senlin: Removal of debugging code  https://review.openstack.org/21706210:13
openstackgerritMerged stackforge/senlin: Use senlin generic driver to manege keystone driver  https://review.openstack.org/21704510:14
openstackgerritMerged stackforge/senlin: Catch all the driver exceptions on node engine layer  https://review.openstack.org/21613910:18
*** lawrance_ has quit IRC10:19
*** Yanyanhu has quit IRC10:20
Qimingheading home10:21
*** Qiming has quit IRC10:26
*** elynn has quit IRC11:34
*** Qiming has joined #senlin11:53
*** lawrance_ has joined #senlin12:34
*** lkarm has joined #senlin12:37
openstackgerritMerged stackforge/senlin: Check wait_for_lb_ready method's return value  https://review.openstack.org/21543013:33
*** jdandrea has joined #senlin13:44
openstackgerritZhenguo Niu proposed stackforge/senlin-dashboard: Add senlinclient exceptions to horizon types  https://review.openstack.org/21721214:12
openstackgerritOpenStack Proposal Bot proposed stackforge/python-senlinclient: Updated from global requirements  https://review.openstack.org/21722714:18
openstackgerritOpenStack Proposal Bot proposed stackforge/senlin: Updated from global requirements  https://review.openstack.org/21697214:18
lawrance_zhengguo,  should we add "senlin-dashboard" into openstack/requirements-project.txt?14:27
lawrance_or later14:28
zhenguolawrance: yes, the patches are in review progress, hope to be merged soon.14:47
zhenguolawrance: see https://review.openstack.org/#/c/216575/14:48
lawrance_yep14:52
*** Qiming has quit IRC14:54
openstackgerritMerged stackforge/senlin-dashboard: Add senlinclient exceptions to horizon types  https://review.openstack.org/21721215:35
openstackgerritMerged stackforge/python-senlinclient: Updated from global requirements  https://review.openstack.org/21722715:53
openstackgerritMerged stackforge/senlin: Updated from global requirements  https://review.openstack.org/21697215:56
*** lawrance_ has quit IRC15:56
openstackgerritZhenguo Niu proposed stackforge/senlin-dashboard: Wrap senlin client object  https://review.openstack.org/21729116:21
*** lkarm has quit IRC16:52
*** lkarm has joined #senlin16:53
*** lkarm has quit IRC16:55
*** lkarm has joined #senlin16:55
*** lkarm has quit IRC17:41
*** lkarm has joined #senlin17:41
*** lkarm_ has joined #senlin17:43
*** lkarm has quit IRC17:46
*** openstackgerrit has quit IRC18:17
*** openstackgerrit has joined #senlin18:17
*** zhenguo has quit IRC18:23
*** openstackgerrit has quit IRC21:01
*** openstackgerrit has joined #senlin21:02
*** lkarm_ has quit IRC21:22
*** Qiming has joined #senlin23:39

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