Thursday, 2015-08-06

*** Qiming has quit IRC00:00
*** heyongli has joined #senlin00:46
*** ChrisSen has joined #senlin00:50
*** ChrisSen has quit IRC01:02
*** Qiming has joined #senlin01:05
*** Yanyanhu has joined #senlin01:16
openstackgerritQiming Teng proposed stackforge/python-senlinclient: Remove private copy of clustering_service  https://review.openstack.org/20971801:20
*** Yanyanhu has quit IRC01:20
Qimingheyongli, long time no see01:21
heyonglirecently work on CI01:21
Qimingyes, it's a mess01:21
heyonglibroken about 1 month...01:21
Qimingsaw some discussions on mailinglist01:21
Qimingit is finally up and working?01:22
heyongliyeah01:22
Qimingbravo!01:22
heyongligfw01:22
Qimingsigh01:23
*** ChrisSen has joined #senlin01:23
*** Tennyson has joined #senlin01:35
*** jdandrea has quit IRC01:39
openstackgerritYanyan Hu proposed stackforge/senlin: [WIP]Start point of Senlin functional tests  https://review.openstack.org/20835501:52
*** Yanyan has joined #senlin01:52
QimingYanyan,01:52
Qiming20835501:53
Yanyanhi01:53
Qimingyou may want to remove the [WIP] tag?01:53
Yanyanoh, right01:53
openstackgerritYanyan Hu proposed stackforge/senlin: Start point of Senlin functional tests  https://review.openstack.org/20835501:53
*** mathspanda has joined #senlin02:03
Yanyanhi, Qiming, I found in lower version(e.g. 0.5.0) openstack-sdk, list related function methods like trusts() doesn't accept query parameters02:04
Yanyanbut we have used this parameter in one method of our keystone_v3 driver http://git.openstack.org/cgit/stackforge/senlin/tree/senlin/drivers/openstack/keystone_v3.py#n11302:05
Qimingright02:05
Qimingwe don't use lower versions02:05
Yanyanso we a new user send request to senlin at first time, sdk will complain TypeError: trusts() got an unexpected keyword argument 'trustor_user_id'02:05
Yanyanyes02:05
Qimingthis has been discussed several times02:05
Yanyanbut if we fresh install Senlin02:05
Yanyandefault version of sdk seems 0.5.002:06
QimingI believe lixinhui has been caught be the problem for quite some while02:06
Qimingyes02:06
Yanyanem02:06
Qimingsince sdk is releasing its 0.6.0 or 1.0 pretty soon02:06
Yanyanso maybe we can give some hints there to make user know this issue?02:06
Qimingthis is not an user issue02:07
Qimingwe are not there yet02:07
Qimingthe sdk case is special02:07
Yanyanafter the sdk requirement updated, this problem will not be there02:07
Qimingright02:07
Yanyanok, so we just keep this in mind and wait for requirement update02:08
Qimingfor the moment, we will just manually update the sdk version, i.e. do a reinstall of sdk from git02:08
Qimingyes02:08
Qimingwe won't go back to 5.002:08
Yanyanok02:08
Qimingit is now history02:08
Yanyanhmm, usually, I use 0.6.0, just becuase I reinstalled my system02:08
Yanyanfound this issue02:08
Qimingok02:10
openstackgerritYanyan Hu proposed stackforge/python-senlinclient: Using list query arguments as a single dict input parameter  https://review.openstack.org/20194602:19
ChrisSenThe creation of a cluster with a specified capacity greater than 0 failed with error:02:21
ChrisSenhttp://paste.openstack.org/show/410422/02:21
QimingChrisSen, it seems that your image was not found02:22
Qimingit is a bug reported several days ago and fixed02:22
openstackgerritYanyan Hu proposed stackforge/python-senlinclient: Using list query arguments as a single dict input parameter  https://review.openstack.org/20194602:23
QimingYanyan, you believe 201946 is the right way?02:26
Qimingpreviously, we have been fixing it in a different way: https://review.openstack.org/#/c/205759/1/senlinclient/v1/client.py02:26
Yanyanhi, Qiming, seems so02:28
YanyanI found in 0.5.2, the queries has been used as an individual inpurt parameter 'params'02:28
Qiminginstead of doing this individually, we were trying to do it in the client module, true?02:29
Yanyanoh, right02:30
Yanyanmy mistake02:30
Yanyanforget that patch ;)02:30
QimingChrisSen, the problem you reported has been fixed before, I think02:33
Qimingplease refer to this: https://review.openstack.org/#/c/206336/02:33
Yanyanhi, Qiming, I have prepared the patch to the gate, will you guys check it before I propose it?02:38
Qimingjust propose it02:40
Yanyanok02:40
*** elynn has joined #senlin02:43
Yanyanhi, Qiming, the patch is here https://review.openstack.org/#/c/209736/02:45
Yanyanplease help to review, thanks02:45
YanyanBTW, how can I add dependency between two patches in different project02:46
YanyanI think this patch should depend on the patch that prvoides senlin local support for functional test02:46
Qimingokay, approved local changes02:48
Yanyanok, thanks02:48
mathspandaHi, please look at this paste: http://paste.openstack.org/show/410563/02:48
Yanyanjust refered to the patches which add sdk and ceilometer's functional test to do this job02:49
Qimingmathspanda, right02:50
Qimingnova does have some expectations from the user-data02:50
Qimingmaybe we should base64 encode the user-data property before handling it to nova02:51
Qimingmathspanda, can you have file a bug and propose a patch?02:51
mathspandayes, i think so.02:51
mathspandaOK.02:52
Qimingumm. Nova sometimes doesn't speak English02:52
openstackgerritMerged stackforge/senlin: Start point of Senlin functional tests  https://review.openstack.org/20835502:54
*** Zhenqi has joined #senlin03:03
openstackgerritQiming Teng proposed stackforge/senlin: Ceilometer alarm trigger support  https://review.openstack.org/20949403:11
openstackgerritQiming Teng proposed stackforge/senlin: Engine support for triggers  https://review.openstack.org/20954503:20
openstackgerritLinPeiyu proposed stackforge/senlin: B64encode user_data content before handling it to nova  https://review.openstack.org/20975404:48
ChrisSenQiming, the creation of a cluster of heat stacks with a capacity greater than 0 also failed with error. Is that the same issue or something else?05:05
ChrisSenhttp://paste.openstack.org/show/410894/05:05
Qimingseems something different05:07
Qimingit looks like you dont have Heat installed and configured05:07
openstackgerritLinPeiyu proposed stackforge/senlin: B64encode user_data content before handling it to nova  https://review.openstack.org/20975405:47
openstackgerritxu-haiwei proposed stackforge/senlin: Add test for heat_v1 driver  https://review.openstack.org/20977506:28
openstackgerritxu-haiwei proposed stackforge/senlin: Add test for heat_v1 driver  https://review.openstack.org/20977506:38
*** ChrisSen has quit IRC07:02
*** elynn has quit IRC07:05
openstackgerritYanyan Hu proposed stackforge/senlin: Enable SenlinTest profile type before starting functional test  https://review.openstack.org/20980407:59
openstackgerritYanyan Hu proposed stackforge/senlin: Enable os.senlin.test profile type for functional test  https://review.openstack.org/20980407:59
openstackgerritYanyan Hu proposed stackforge/senlin: Enable os.senlin.test profile type for functional test  https://review.openstack.org/20980408:01
*** ChrisSen has joined #senlin08:08
openstackgerritQiming Teng proposed stackforge/senlin: Polish the nova server profile unit test  https://review.openstack.org/20980708:11
ChrisSenI tried to delete a nova server node that was not assigned to a cluster. But the deletion didn't succeed and an error in senlin engine occurred:08:12
ChrisSenhttp://paste.openstack.org/show/411080/08:12
openstackgerritMerged stackforge/senlin: Ceilometer alarm trigger support  https://review.openstack.org/20949408:15
*** heyongli has quit IRC08:19
*** heyongli has joined #senlin08:19
QimingChrisSen, it looks like our recent revision to exception handling is breaking some cases here08:19
xuhaiweiQiming, you mean the client side failed?08:22
*** Tennyson has quit IRC08:22
Qimingno08:22
QimingChrisSen, you may want to check this: http://git.openstack.org/cgit/stackforge/senlin/tree/senlin/drivers/openstack/nova_v2.py#n12208:23
Qimingadd some LOG.error() calls there and see if 1) 'delete_server' was successful 2) sleep logic worked or not08:24
Qimingand 3) whether line 126 was hit08:24
Qimingalso ... when debugging, you will want to check the log from senlin-engine/senlin-api08:25
Qimingnot just from the client side outputs08:25
Qimingsometimes, client side messages won't give you a lot hints08:25
xuhaiweireally strange, this should be a bug newly born08:27
Qimingright, xuhaiwei08:27
Qimingneed to find out the root cause08:28
Qimingit could be that the server is already gone08:28
Qimingthe server deletion took too long08:28
Qimingthe config file doesn't have a reasonable timeout value08:28
xuhaiweiyes, seems so, server is deleted, bug node is still there08:28
xuhaiweibug/but/08:29
Qimingthe delete-and-wait logic didn't work as expected08:29
Qimingthat's why I'm asking ChrisSen to do some investigation there08:29
xuhaiweiQiming, I got the reason08:35
xuhaiweiChrisSen, are you also investigating?08:37
Qimingxuhaiwei, I don't think so08:47
Qimingif you have found the root cause, please propose a fix08:47
xuhaiweiok08:47
*** Zhenqi has quit IRC09:09
xuhaiweiQiming09:18
xuhaiweiwant to talk about the bug with you09:18
Qimingokay09:18
xuhaiweithe reason is that we translated the bug from SDK to HTTP exceptions already, and we still want to catch SDK exception type09:20
xuhaiweisorry, again09:20
xuhaiweithe reason is that we translated the exception from SDK to HTTP exceptions already, and we still want to catch SDK exception type09:20
xuhaiweihttp://git.openstack.org/cgit/stackforge/senlin/tree/senlin/drivers/openstack/nova_v2.py#n12709:21
xuhaiweithe sdk.exc.NotFoundException has been translated to HTTPNotFound by the decorator09:21
QimingI see09:23
xuhaiweian earthquake just happened here09:23
Qimingit is not a surprise for you, ;)09:23
xuhaiweiso we should just catch Exception instead of SDK type exception?09:24
xuhaiweijust about 3 or 4 degree I think09:24
Yanyan@@09:25
Qiminghow about this09:25
Qimingwe remove the "wait" logic from the driver layer09:25
Qimingimplement it in the profile layer09:25
Qimingthen we keep the driver clean09:26
xuhaiweithat is one way, I think09:26
Qimingand we won't have be in the situation having a decorated method calling another decorated method09:26
xuhaiweibut I am afraid we will meet the similar problems again for some other drivers09:26
Qimingit is not that unsual to have a profile do wait_for_status() kind of thing09:27
xuhaiweiit seems we have made things more complicated by ourselves09:27
Qimingfor example, we have been doing that in the stack profile09:27
Qimingit is just an architecture design decision09:27
xuhaiweiI will think about it09:28
Qimingdeletion is special09:28
Qimingfor other cases, we can leverage the sdk's support09:29
Qiminghttp://git.openstack.org/cgit/stackforge/python-openstacksdk/tree/openstack/resource.py#n93909:29
Qimingxuhaiwei, I'm trying to propose a fix of this09:36
xuhaiweiok09:36
Qimingplease help review later09:36
xuhaiweiyap09:36
Qimingmeanwhile, please help review this: https://review.openstack.org/20980709:39
Qimingor else I have to construct a dependency chain09:39
Qimingthe nova server profile test case has been revised09:39
*** mathspanda has quit IRC09:41
xuhaiweiok09:49
xuhaiweisee you tomorrow guys10:22
Qimingwe really need to push on reviews10:27
Qiminghaving dependencies is really a nightmare10:27
Qiming6320b51 (HEAD, wait-server-delete) Revise server delete-wait logic10:27
Qiming035aad8 Ceilometer alarm trigger support10:27
Qimingd059b98 (tune-nova-prof-test) Polish the nova server profile unit test10:27
QimingDo you really want to submit the above commits?10:27
QimingType 'yes' to confirm, other to cancel: yes10:27
Qimingremote: Resolving deltas: 100% (19/19)10:27
Qimingremote: Processing changes: refs: 1, done10:27
QimingTo https://tengqm:ZcK4qjpWkuIY@review.openstack.org/stackforge/senlin.git10:28
Qiming ! [remote rejected] HEAD -> refs/publish/master/wait-server-delete (change 209494 closed)10:28
Qimingerror: failed to push some refs to 'https://tengqm:ZcK4qjpWkuIY@review.openstack.org/stackforge/senlin.git'10:28
Qimingevery time you push something ....10:28
*** Yanyan has quit IRC10:28
*** Qiming has quit IRC10:49
*** Qiming has joined #senlin11:48
openstackgerritQiming Teng proposed stackforge/senlin: Revise server delete-wait logic  https://review.openstack.org/20989911:51
*** ChrisSen has quit IRC11:56
*** lkarm has joined #senlin12:04
*** jdandrea has joined #senlin12:30
openstackgerritMerged stackforge/senlin: Polish the nova server profile unit test  https://review.openstack.org/20980713:22
*** jhroyal has joined #senlin13:36
openstackgerritQiming Teng proposed stackforge/senlin: Fix coverage test  https://review.openstack.org/20993613:39
openstackgerritQiming Teng proposed stackforge/senlin: Added one unit test for webhook store  https://review.openstack.org/20993713:44
*** jhroyal1 has joined #senlin13:59
*** jhroyal has quit IRC14:02
*** mathspanda has joined #senlin14:04
openstackgerritQiming Teng proposed stackforge/senlin: Add unit test for different HM type  https://review.openstack.org/20995014:16
openstackgerritQiming Teng proposed stackforge/senlin: Fix alarm trigger validation  https://review.openstack.org/20995314:29
openstackgerritQiming Teng proposed stackforge/senlin: Fix deletion policy candidate selection  https://review.openstack.org/20995814:33
openstackgerritQiming Teng proposed stackforge/senlin: Unit test for base policy module  https://review.openstack.org/20996814:51
*** jhroyal1 has left #senlin14:56
*** jhroyal1 has joined #senlin14:56
*** jhroyal1 is now known as jhroyal14:57
openstackgerritQiming Teng proposed stackforge/senlin: Delete the AES based crypto module  https://review.openstack.org/20997415:00
*** Qiming has quit IRC15:16
*** Qiming has joined #senlin15:35
*** Qiming has quit IRC15:48
*** mathspanda has quit IRC16:14
*** jdandrea has quit IRC16:38
*** jdandrea has joined #senlin16:39
*** jruano has joined #senlin19:41
*** jruano has quit IRC20:01
*** lkarm has quit IRC20:58
*** jhroyal has quit IRC21:33
openstackgerritMerged stackforge/senlin: Added one unit test for webhook store  https://review.openstack.org/20993723:18
*** Qiming has joined #senlin23:36
openstackgerritMerged stackforge/senlin: Delete the AES based crypto module  https://review.openstack.org/20997423:44

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