Wednesday, 2015-08-05

*** xuhaiwei_ has quit IRC00:35
*** ChrisSen has joined #senlin00:42
*** ChrisSen has quit IRC00:47
*** Qiming has joined #senlin00:50
*** jdandrea has quit IRC01:02
*** xuhaiwei has joined #senlin01:09
openstackgerritMerged stackforge/senlin: Changes literal ation names to consts.<action_name> to make action creation consistent.  https://review.openstack.org/20913101:19
*** Qiming has quit IRC01:22
*** Yanyanhu has joined #senlin01:25
*** ChrisSen has joined #senlin01:27
*** jruano has quit IRC01:30
openstackgerritYanyan Hu proposed stackforge/senlin: Add test case for LoadBalancer driver(2)  https://review.openstack.org/20395601:30
*** jruano has joined #senlin01:44
*** Zhenqi has joined #senlin01:49
*** Qiming has joined #senlin02:01
ChrisSenWhen updating the name of a profile with metadata attached, the name is changed successfully and no error messages occur, but the metadata gets lost:02:01
ChrisSenhttp://paste.openstack.org/show/407739/02:01
*** elynn has joined #senlin02:03
YanyanhuChrisSen, that's true, I think there is a bug here02:12
YanyanhuI guess the senlinclient could provide incorrect default value for metadata(e.g. {}) when doing profile-update operation02:15
openstackgerritxu-haiwei proposed stackforge/senlin: Do not update other properties if exception happens  https://review.openstack.org/20902602:16
Yanyanhusince engine service will only ignore metadata when it is None, so the error happened.02:17
Yanyanhuhttp://git.openstack.org/cgit/stackforge/senlin/tree/senlin/engine/service.py#n24002:17
Yanyanhuso maybe we should not add 'metadata' field to params when it is not provide in cmd line02:20
Yanyanhuhttp://git.openstack.org/cgit/stackforge/python-senlinclient/tree/senlinclient/v1/shell.py#n17002:21
Yanyanhuhi, ChrisSen, you can propose a patch for this :)02:23
*** Tennyson has joined #senlin02:26
*** mathspanda has joined #senlin02:26
ChrisSenShould I report a bug in senlin or python-senlinclient?02:31
ChrisSenYanyanhu, you are right, you just have to change one line in the senlinclient/v1/shell.py and it seems to work.02:38
*** Yanyanhu has quit IRC02:38
xuhaiweiso you can report the bug to senlinclient, and give a patch for it, ChrisSen02:42
*** Yanyanhu has joined #senlin02:48
Yanyanhuhi, ChrisSen, sorry just dropped02:48
YanyanhuI think you can report a bug in python-senlinclient02:48
openstackgerritQiming Teng proposed stackforge/senlin: Add config reload capability to wsgi  https://review.openstack.org/20796802:48
Yanyanhusince if user try to update metadata to '{}', this request should be accepted02:48
Yanyanhuif they mean to do this02:49
openstackgerritMerged stackforge/senlin: Fix UnboundLocalError when updating a cluster without nodes  https://review.openstack.org/20902502:52
openstackgerritMerged stackforge/senlin: Updated from global requirements  https://review.openstack.org/20909502:52
openstackgerritQiming Teng proposed stackforge/senlin: Base trigger implementation  https://review.openstack.org/20652702:55
openstackgerritQiming Teng proposed stackforge/python-senlinclient: Preparation for senlinclient test cases  https://review.openstack.org/20932703:01
openstackgerritxu-haiwei proposed stackforge/senlin: Do not update other properties if exception happens  https://review.openstack.org/20902603:04
xuhaiweiI will have a vocation this afternoon, see you tomorrow guys03:14
Qimingsee you03:14
openstackgerritQiming Teng proposed stackforge/senlin: Base trigger implementation  https://review.openstack.org/20652703:18
Yanyanhuhi, Qiming, about this patch proposed by haiwei https://review.openstack.org/#/c/209026/303:37
Yanyanhuso this is just an interim solution right?03:37
Yanyanhusince it actually didn't solve the problem03:37
Yanyanhuuntil we finish the TODO in the comment03:38
Yanyanhualso related test case is missing I think03:38
openstackgerritYanyan Hu proposed stackforge/senlin: [WIP]Start point of Senlin functional tests  https://review.openstack.org/20835503:43
openstackgerritYanyan Hu proposed stackforge/senlin: [WIP]Start point of Senlin functional tests  https://review.openstack.org/20835503:45
openstackgerritMerged stackforge/senlin: Fix node join/leave cluster error  https://review.openstack.org/20839203:45
*** jruano has quit IRC03:55
*** jruano has joined #senlin03:57
*** Yanyan has joined #senlin04:00
*** Yanyanhu has quit IRC04:02
*** Yanyanhu has joined #senlin04:03
*** Yanyan has quit IRC04:04
*** Zhenqi has quit IRC04:21
*** jruano has quit IRC04:46
openstackgerritYanyan Hu proposed stackforge/senlin: [WIP]Start point of Senlin functional tests  https://review.openstack.org/20835505:29
openstackgerritYanyan Hu proposed stackforge/senlin: Add os.senlin.test profile type  https://review.openstack.org/20936606:25
Yanyanhuhi, Qiming, thanks for review of functional test patch. Just gave some answers there.06:29
Qimingwhich one?06:29
YanyanhuBTW, I have proposed a patch to add a os.senlin.test profile type which could be useful for functional test06:29
Yanyanhuthe WIP one06:30
Yanyanhuboth the answer and question are in patchset 6...06:30
Yanyanhuhttps://review.openstack.org/20835506:30
Qimingokay06:30
Qimingcomments to line 124 is special06:30
Qimingself.catalogs is not intialized in __init__06:31
Yanyanhuyou mean the __init__ of TestSenlinAPIClient?06:31
Qimingwhen I'm writing code like this, I'm always getting an error like 'catalogs' is not an attribute06:31
Yanyanhuhmm, weird. It works in my env06:32
Qimingso ... I was doubting whether you have executed that line in particular06:32
Yanyanhulet me have a look06:32
Qimingok06:32
Yanyanhuhi, Qiming, this line really worked, just added some log there to test it.06:34
Yanyanhuhmm, not sure why not attribute error happened06:34
YanyanhuI will add an initialization of this attr in __init__06:34
Qimingumm06:37
Qimingthat is weird06:37
Yanyanhuyes06:38
Yanyanhuhi, Qiming, about the test profile type, you mean we dynamic enable it when doing functional test?06:40
Yanyanhue.g. cp test.py into senlin/profile/os/senlin and modify entry_point, then restart senlin service?06:41
Qimingyes, it is supposed to be registered before you want to do something06:41
Yanyanhuhmm, ok06:41
Yanyanhujust feel maybe it's helpful for user to verify senlin without other services, like nova06:41
Qimingdon't think it will be used by users without causing confusion though06:42
Yanyanhubut agree that they can do similar thing manually06:42
Yanyanhujust like what we do in functional test06:42
Qimingthey are not developers06:42
Qimingwhy do they bother to care this06:42
Yanyanhuok06:42
Yanyanhuwill put them into tests/functional directory06:43
Qiminganother approach in some projects is to provide stubs for the "other" services06:45
Qimingfor example, suppose a server_get() will always returning some data06:45
Yanyanhuok06:46
Yanyanhuwill make some investigation about this06:46
openstackgerritYanyan Hu proposed stackforge/senlin: Fix some errors in profile unit test  https://review.openstack.org/20937106:50
Qiminghi, all06:55
Qimingneed some helps on reviewing this: https://review.openstack.org/#/c/206527/06:55
Yanyanhugot it06:55
openstackgerritMerged stackforge/senlin: Fix some errors in profile unit test  https://review.openstack.org/20937107:05
openstackgerritYanyan Hu proposed stackforge/senlin: [WIP]Start point of Senlin functional tests  https://review.openstack.org/20835507:39
*** xuhaiwei has quit IRC07:53
Qiminghi Yanyanhu07:55
Yanyanhuhello07:55
Qimingjust noticed that you are using admin endpoint for functional test07:55
Yanyanhuok, no problem, just not sure about some usage07:55
Qimingok07:57
ChrisSenI created some clusters and tried to filter the list of clusters, but all of them are displayed, even the ones that don't match the filter criteria:07:58
ChrisSenhttp://paste.openstack.org/show/408089/07:58
QimingChrisSen, looks like the same issue at senlinclient?08:06
openstackgerritMerged stackforge/senlin: Base trigger implementation  https://review.openstack.org/20652708:08
openstackgerritYanyan Hu proposed stackforge/senlin: Add SenlinTest profile type  https://review.openstack.org/20936608:08
QimingChrisSen, can reproduce this situation, seems like caused by python-openstacksdk08:11
ChrisSenok. So is there any action required for me?08:18
*** mathspanda has quit IRC08:20
QimingChrisSen, I'm looking into it08:21
*** mathspanda has joined #senlin08:21
Qimingplease file a bug if okay for you08:21
ChrisSenI can do that. In which project (senlin, python-senlinclient or something else)?08:22
Qimingin senlinclient I think08:23
Qimingthe metadata creation problem still exists?08:25
Qimingthe other day, a related bug led us to somewhere here, remember? http://git.openstack.org/cgit/stackforge/python-senlinclient/tree/senlinclient/common/utils.py#n11008:26
ChrisSenI created a bug for the filter issue.08:28
Qimingokay, maybe this is related to another bug here: https://bugs.launchpad.net/senlin/+bug/148077008:29
openstackLaunchpad bug 1480770 in senlin "Misleading documentation for creating profile with metadata" [Medium,Triaged] - Assigned to Chris Senzel (csenzel)08:29
ChrisSenWe updated the documentation for creating a profile with metadata, but have not been able to commit yet.08:30
Qimingthanks, ChrisSen08:37
openstackgerritQiming Teng proposed stackforge/python-senlinclient: Fix filters param passing  https://review.openstack.org/20940308:45
QimingChrisSen, check the patch ^08:45
ChrisSenThe patch works fine.08:47
Qimingthanks for spotting this, it was a serious mistake08:49
Qimingall filters param wasn't treated correctly before.08:49
openstackgerritMerged stackforge/python-senlinclient: Fix filters param passing  https://review.openstack.org/20940309:05
*** Tennyson has quit IRC09:33
*** mathspanda has quit IRC09:39
*** Yanyanhu has quit IRC09:40
*** Yanyanhu has joined #senlin09:40
*** ChrisSen has quit IRC10:02
*** Yanyanhu has quit IRC10:15
*** elynn has quit IRC10:29
*** Qiming has quit IRC10:45
*** jruano has joined #senlin10:50
openstackgerritMerged stackforge/python-senlinclient: Preparation for senlinclient test cases  https://review.openstack.org/20932710:50
*** ChrisSen has joined #senlin11:14
*** ChrisSen has quit IRC11:22
*** Qiming has joined #senlin11:36
*** mathspanda has joined #senlin11:43
openstackgerritMerged stackforge/senlin: Add SenlinTest profile type  https://review.openstack.org/20936611:53
openstackgerritQiming Teng proposed stackforge/senlin: Ceilometer alarm trigger support  https://review.openstack.org/20949412:44
*** lkarm has joined #senlin12:47
*** mathspanda has quit IRC13:04
*** mathspan_ has joined #senlin13:14
*** mathspan_ has quit IRC13:21
openstackgerritQiming Teng proposed stackforge/senlin: Rename a folder under unit test  https://review.openstack.org/20951913:38
*** jdandrea has joined #senlin13:39
openstackgerritMerged stackforge/senlin: Rename a folder under unit test  https://review.openstack.org/20951914:35
*** jruano has quit IRC14:49
openstackgerritQiming Teng proposed stackforge/senlin: Engine support for triggers  https://review.openstack.org/20954514:51
*** Qiming has quit IRC15:05
*** openstackgerrit_ has joined #senlin16:30
*** openstackgerrit_ has quit IRC17:05
*** openstackgerrit_ has joined #senlin17:25
*** openstackgerrit_ has quit IRC17:34
*** openstackgerrit has quit IRC18:46
*** openstackgerrit has joined #senlin18:47
*** lkarm has quit IRC20:08
*** Qiming has joined #senlin23:07
openstackgerritQiming Teng proposed stackforge/senlin: Engine support for triggers  https://review.openstack.org/20954523:15
*** xuhaiwei has joined #senlin23:39

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