Friday, 2016-02-19

*** Qiming has quit IRC00:25
*** Qiming has joined #senlin01:23
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster profile type list  https://review.openstack.org/28180901:28
*** Yanyanhu has joined #senlin01:35
*** sridhar_ram has quit IRC01:39
openstackgerritMerged openstack/senlin: Rename SenlinBadRequest to BadRequest  https://review.openstack.org/28165601:40
*** Liuqing has joined #senlin01:44
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add JsonFormat display option  https://review.openstack.org/28212801:45
QimingYanyanhu, should we abandon this? https://review.openstack.org/#/c/25223101:59
Yanyanhuyes, I forgot it01:59
Yanyanhuwill abandon it02:00
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster profile type show  https://review.openstack.org/28213302:00
Qimingthx02:01
Yanyanhuno problem02:01
*** elynn has joined #senlin02:02
*** shu-mutou has joined #senlin02:03
elynnMorning02:07
Yanyanhumorning02:08
openstackgerritMerged openstack/senlin-dashboard: Updated from global requirements  https://review.openstack.org/26853902:12
openstackgerritMerged openstack/senlin: Add unit test for is_admin check in DB interfaces  https://review.openstack.org/28171402:21
*** PennyLiu has joined #senlin02:22
*** Qiming has quit IRC02:28
*** Qiming has joined #senlin02:28
*** Yanyanhu has quit IRC02:28
*** PennyLiu has quit IRC02:30
QimingCFR (call-for-review): https://review.openstack.org/28169602:30
*** Yanyanhu has joined #senlin02:31
elynnlgtm ^02:38
openstackgerritLiuqing Jing proposed openstack/senlin: Add devstack support for senlin dashboard  https://review.openstack.org/28213802:39
Qimingelynn, Liuqing has some questions regarding the devstack plugin script02:39
elynnin comments?02:42
LiuqingAs the cleanup_senlin described, cleanup_senlin should behind the installation of senlin : https://github.com/openstack/senlin/blob/master/devstack/plugin.sh#L13-L17, thanks Qiming elynn02:42
Liuqinghttps://github.com/openstack/senlin/blob/master/devstack/lib/senlin#L59-L6302:42
Liuqingone nit :)02:42
elynnWhat's your question?02:44
Liuqingthe cleanup_senlin should before the senlin installation steps, right, elynn02:46
openstackgerritMerged openstack/senlin: Util function 'validate_sort_param'  https://review.openstack.org/28169602:46
elynncleanup_senlin will execute after you destroy this env.02:48
elynnI think02:49
elynnLet me check02:49
Liuqingok thanks02:49
elynnhttps://github.com/openstack/senlin/blob/master/devstack/plugin.sh#L39-L4102:51
elynnI think it will be executed when you run clean.sh02:52
Liuqinghttps://github.com/openstack/senlin/blob/master/devstack/plugin.sh#L17    has the function cleanup_senlin?02:53
elynnI don't think it will be run before installation.02:53
elynnOh...02:54
elynnThen after install senlin and senlin_client, we will clean the configuration files.02:54
elynnthen start to create new configuration files.02:54
elynnYou are right :)02:55
Liuqingok02:58
Liuqinghi elynn, i think you're right..03:04
elynnWhy do you say so...03:09
Liuqingthe configure_senlin will regenerate the config file.03:12
elynnLiuqing,  you can follow the implementation of murano dashboard https://github.com/openstack/murano/blob/master/devstack/plugin.sh , hope this file can help you :)03:12
Liuqingafter cleanup_senlin and the devstack installation works well,03:13
Liuqingthanks elynn03:13
*** Qiming has quit IRC03:16
openstackgerritYanyan Hu proposed openstack/senlin: Remove an unneeded requirement  https://review.openstack.org/28215103:29
openstackgerritLiuqing Jing proposed openstack/senlin: Add devstack support for senlin dashboard  https://review.openstack.org/28213803:41
openstackgerritLiuqing Jing proposed openstack/senlin: Add devstack support for senlin dashboard  https://review.openstack.org/28213803:46
*** Yanyanhu has quit IRC03:49
*** Qiming has joined #senlin03:50
*** Yanyanhu has joined #senlin03:50
*** yuanying_ has quit IRC04:10
openstackgerritLiuqing Jing proposed openstack/senlin-dashboard: Update README.rst  https://review.openstack.org/28215904:18
*** elynn has quit IRC04:19
openstackgerritLiuqing Jing proposed openstack/senlin: Add senlin dashboard info in README.rst file  https://review.openstack.org/28216004:21
openstackgerritAyush Garg proposed openstack/python-senlinclient: Add filters option to profile-list command  https://review.openstack.org/28200104:31
*** Liuqing has quit IRC04:47
*** yuanying has joined #senlin04:50
*** elynn has joined #senlin04:54
*** Liuqing has joined #senlin04:55
*** elynn has quit IRC04:58
*** elynn has joined #senlin04:58
openstackgerritMerged openstack/senlin: Update devstack comment  https://review.openstack.org/28170305:16
*** yuanying has quit IRC05:43
*** Yanyanhu has quit IRC06:00
*** Yanyanhu has joined #senlin06:01
*** Yanyanhu has quit IRC06:07
*** Yanyanhu has joined #senlin06:07
openstackgerritMerged openstack/python-senlinclient: Add filters option to profile-list command  https://review.openstack.org/28200106:17
*** Liuqing has quit IRC06:22
*** Liuqing has joined #senlin06:24
openstackgerritMerged openstack/python-senlinclient: Add OpenstackClient plugin for cluster profile type list  https://review.openstack.org/28180906:42
openstackgerritMerged openstack/python-senlinclient: Add JsonFormat display option  https://review.openstack.org/28212806:53
*** yuanying has joined #senlin07:28
*** Liuqing has quit IRC07:53
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for profiles in engine  https://review.openstack.org/28222208:26
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for policies in engine  https://review.openstack.org/28222608:32
openstackgerritMerged openstack/senlin: Remove an unneeded requirement  https://review.openstack.org/28215108:34
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for clusters in engine  https://review.openstack.org/28222808:35
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster profile delete  https://review.openstack.org/28110708:39
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for nodes in engine  https://review.openstack.org/28223108:40
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster profile type show  https://review.openstack.org/28213308:46
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for listing cluster-policy  https://review.openstack.org/28223408:47
*** yuanying has quit IRC08:49
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter when listing actions  https://review.openstack.org/28223508:52
openstackgerritYanyan Hu proposed openstack/senlin: Fix an error in openstack_test driver  https://review.openstack.org/28223809:02
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for recievers when listing  https://review.openstack.org/28223909:03
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' when listing events  https://review.openstack.org/28224009:03
openstackgerritYanyan Hu proposed openstack/senlin: Fix an error in openstack_test driver  https://review.openstack.org/28223809:07
QimingYanyanhu, what's the reason behind 282238?09:08
YanyanhuSometimes, an incorrect key name referring was done on an empty dictionary09:09
Yanyanhuso failed a functional test case09:09
Qimingwe didn't fake correctly?09:09
Yanyanhuyes, an error is there09:10
Yanyanhulet me find the code09:10
Qimingoh, I see09:10
Qimingit is about the faked driver09:10
Yanyanhuyes09:10
Yanyanhuand also the naming of a functional test is incorrect...09:10
QimingI was sweating when I see nova_driver has to bee changed09:10
Yanyanhucorrect it09:10
Yanyanhuyes, not that problem...09:11
Yanyanhujust fake driver09:11
Qimingokay, feeling a litter better, :)09:11
Yanyanhu:)09:12
Qimingtoo scared to see any critical bugs09:13
Yanyanhuyes09:13
*** shu-mutou has quit IRC09:22
QimingYanyanhu, the server_rebuild method in the fake nova driver09:23
Yanyanhuyes?09:23
Qimingwe are modifying the attrs dict in place09:23
Qimingis that okay?09:23
QimingI'm afraid there could be some side effects09:23
Qimingbut not 100% sure09:23
YanyanhuQiming, understand your concern. I think it's ok here since currently the functional test is run sequently.09:25
Yanyanhuand also those fake resource attrs will be new for each new created novaclient object09:26
Qimingokay09:26
openstackgerritMerged openstack/python-senlinclient: Add OpenstackClient plugin for cluster profile delete  https://review.openstack.org/28110709:28
*** elynn has quit IRC09:35
QimingYanyanhu, speaking of the fix09:43
Qimingthe failure at myside is like this: 2016-02-19 04:38:13.773 TRACE senlin.profiles.os.nova.server     attrs['image']['id'] = imageref09:43
Qiming2016-02-19 04:38:13.773 TRACE senlin.profiles.os.nova.server KeyError: 'image'09:43
Qimingit is not that the 'id' cannot be found09:43
Qimingit is the 'image' attribute is causing a key error09:44
Yanyanhuyes, because attr is empty in some cases09:44
Yanyanhuso in this patch, I use attr['image'] = {} rather than attr['image']['id'] = to avoid that error09:44
QimingI see, it is an assignment09:45
Yanyanhuyes09:45
openstackgerritMerged openstack/senlin: Enforce multi-tenancy for event find  https://review.openstack.org/28164009:46
openstackgerritMerged openstack/senlin: Add senlin dashboard info in README.rst file  https://review.openstack.org/28216009:47
*** Qiming has quit IRC10:05
*** branw has quit IRC10:11
*** Liuqing has joined #senlin10:12
*** Liuqing has quit IRC10:14
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster profile create  https://review.openstack.org/28122910:14
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster profile update  https://review.openstack.org/28175810:21
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster profile update  https://review.openstack.org/28175810:24
*** yuanying has joined #senlin10:25
openstackgerritDi XiaoLi proposed openstack/senlin: Raise Exception when the paramter is invalid  https://review.openstack.org/28226510:33
openstackgerritYanyan Hu proposed openstack/senlin: Fix an error in openstack_test driver  https://review.openstack.org/28223810:42
openstackgerritYanyan Hu proposed openstack/senlin: Fix a bug in cluster recover action  https://review.openstack.org/28226710:42
openstackgerritYanyan Hu proposed openstack/senlin: Add functional test for cluster check recover  https://review.openstack.org/28226810:42
*** yuanying has quit IRC10:51
*** Yanyanhu has quit IRC10:51
*** Qiming has joined #senlin11:00
openstackgerritCindia-blue proposed openstack/senlin: Enable Check and Conditional Recover in Health Manager  https://review.openstack.org/28229911:59
openstackgerritQiming Teng proposed openstack/senlin: Avoid using literal strings in API layer  https://review.openstack.org/28230112:07
openstackgerritMerged openstack/python-senlinclient: Add OpenstackClient plugin for cluster profile create  https://review.openstack.org/28122912:09
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster node list  https://review.openstack.org/28230412:12
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for profiles in engine  https://review.openstack.org/28222212:16
openstackgerritMerged openstack/senlin: Validate 'sort' parameter for profiles in engine  https://review.openstack.org/28222212:31
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for policies in engine  https://review.openstack.org/28232212:55
openstackgerritMerged openstack/senlin: Avoid using literal strings in API layer  https://review.openstack.org/28230113:15
openstackgerritMerged openstack/senlin: Validate 'sort' parameter for policies in engine  https://review.openstack.org/28232213:15
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for clusters in engine  https://review.openstack.org/28222813:56
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for nodes in engine  https://review.openstack.org/28223114:06
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for listing cluster-policy  https://review.openstack.org/28223414:07
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter when listing actions  https://review.openstack.org/28223514:07
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for recievers when listing  https://review.openstack.org/28223914:07
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' when listing events  https://review.openstack.org/28224014:07
openstackgerritMerged openstack/senlin: Fix a bug in cluster recover action  https://review.openstack.org/28226714:10
openstackgerritMerged openstack/senlin: Validate 'sort' parameter for clusters in engine  https://review.openstack.org/28222814:10
*** openstackgerrit_ has quit IRC14:43
openstackgerritQiming Teng proposed openstack/senlin: Validate 'sort' parameter for nodes in engine  https://review.openstack.org/28223114:55
openstackgerritMerged openstack/python-senlinclient: Add OpenstackClient plugin for cluster profile type show  https://review.openstack.org/28213314:57
*** openstackgerrit_ has joined #senlin15:01
openstackgerritMerged openstack/senlin: Validate 'sort' parameter for nodes in engine  https://review.openstack.org/28223115:09
*** Liuqing has joined #senlin15:57
openstackgerritMerged openstack/python-senlinclient: Add OpenstackClient plugin for cluster node list  https://review.openstack.org/28230415:59
openstackgerritDi XiaoLi proposed openstack/python-senlinclient: Add OpenstackClient plugin for cluster profile update  https://review.openstack.org/28175816:13
openstackgerritLiuqing Jing proposed openstack/senlin: Add devstack support for senlin dashboard  https://review.openstack.org/28213816:13
*** Qiming has quit IRC16:24
openstackgerritMerged openstack/senlin: Validate 'sort' parameter for listing cluster-policy  https://review.openstack.org/28223416:26
openstackgerritLiuqing Jing proposed openstack/senlin-dashboard: Update README.rst  https://review.openstack.org/28215917:59
*** Liuqing has quit IRC18:12
*** sridhar_ram has joined #senlin18:38
*** sridhar_ram has quit IRC20:23
*** sridhar_ram has joined #senlin21:46
*** sridhar_ram1 has joined #senlin23:57
*** sridhar_ram has quit IRC23:58

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