Thursday, 2015-11-26

*** lvdongbing has joined #senlin00:20
*** lkarm has joined #senlin00:42
*** yuanying has quit IRC00:44
*** yuanying has joined #senlin00:44
*** lkarm has quit IRC00:46
openstackgerritxu-haiwei proposed openstack/python-senlinclient: Make '_short_id' method a public method  https://review.openstack.org/25009100:56
*** lvdongbing has quit IRC00:58
*** pratikmallya has quit IRC01:09
*** pratikmallya has joined #senlin01:09
*** pratikmallya has quit IRC01:14
*** Qiming has joined #senlin01:16
*** lvdongbing has joined #senlin01:17
*** zhenguo has joined #senlin01:23
openstackgerritjunxu proposed openstack/senlin: Remove examples for triggers  https://review.openstack.org/25010301:28
openstackgerritQiming Teng proposed openstack/senlin: Force releasenotes warnings to be treated as errors  https://review.openstack.org/25010701:35
*** Yanyanhu has joined #senlin01:40
openstackgerritxu-haiwei proposed openstack/python-senlinclient: Remove Trigger related sources in client side  https://review.openstack.org/25011101:40
*** lvdongbing has quit IRC01:44
*** lvdongbing has joined #senlin01:54
*** pratikmallya has joined #senlin01:57
*** Qiming has quit IRC02:03
*** Qiming has joined #senlin02:03
openstackgerritlvdongbing proposed openstack/senlin: Update node status when fail to create nova instance  https://review.openstack.org/23875302:08
*** Tiancheng has joined #senlin02:29
openstackgerritMerged openstack/senlin: Parameter checking for cluster-policy-detach  https://review.openstack.org/24964003:04
openstackgerritMerged openstack/senlin: Parameter checking for cluster-policy-update  https://review.openstack.org/24965103:04
openstackgerritMerged openstack/senlin: Remove examples for triggers  https://review.openstack.org/25010303:13
*** gongysh_ has joined #senlin03:19
*** yuanying has quit IRC03:22
*** Qiming has quit IRC03:25
*** Qiming has joined #senlin03:26
*** pratikmallya has quit IRC04:05
*** pratikmallya has joined #senlin04:05
*** yuanying has joined #senlin04:07
*** pratikmallya has quit IRC04:09
xuhaiweiping Qiming05:26
Qiminghi05:27
xuhaiweiI am writing client test case05:27
xuhaiweiwhen testing webhook, I tried to create one, but failed for some reason05:28
xuhaiweiI noticed this patch https://review.openstack.org/#/c/216751/2/senlin/api/middleware/webhook.py05:28
Qimingyou mean a failure at server side?05:28
xuhaiweiseems so05:28
*** gongysh_ has quit IRC05:29
*** gongysh has quit IRC05:29
xuhaiweiI read this patch, and found someting seem wrong05:29
Qimingokay?05:29
xuhaiweiyou tried to get 'key' from url, but key is not in it05:29
*** gongysh has joined #senlin05:29
*** gongysh_ has joined #senlin05:29
xuhaiweithe url is something like http://xxxx/v1/d59cb05324954496b86475cc9afbbd65/webhooks05:30
xuhaiweithe key is in request body05:31
Qimingkey is not in request body05:38
Qimingthat will be a malformed url I think05:38
xuhaiweithe key should be the 'credential'?05:39
Qimingno, key is key05:39
Qimingcredential is stored encrypted in db05:39
Qimingyou will use the key to decrypt the credential05:39
Qimingsee line 95-10305:40
xuhaiweihow does the 'key' get into the url?05:40
Qimingread the webhook-create api05:41
openstackgerritYanyan Hu proposed openstack/senlin: Enable update of image property for nova server profile  https://review.openstack.org/24855505:41
openstackgerritYanyan Hu proposed openstack/senlin: Rename image_get_by_name to image_find  https://review.openstack.org/25015405:41
Qimingit is part of the webhook url when a webhook is created05:42
xuhaiweiI think the url I gave is request url which is different from webhook url05:43
xuhaiweithe 'key' should be in webhook url, right?05:43
Qimingwhen you do a webhook trigger, key should be in the url05:43
xuhaiweiin request url?05:44
xuhaiweithat is webhook url i think, they are different05:44
QimingI don't know what do you mean by request url05:45
Qiminghow about check the test case here? https://review.openstack.org/#/c/216751/2/senlin/tests/unit/middleware/test_webhook_middleware.py05:45
xuhaiweithe url which is used to find webhook api05:45
Qimingby reading the setUp() call, you will understand the proper format of a url for webhook trigger05:46
xuhaiweithe webhook url is created in senlin/engine/webhook.py, right?05:47
Qimingyes05:47
Qimingthe webhook "alarm" url05:47
xuhaiweibut senlin/api/middleware/webhook.py is executed before engine/webhook.py05:48
xuhaiweiso in middleware/webhook.py, webhook 'alarm' url is not created yet05:49
Qimingare you talking about webhook creation or webhook triggering?05:50
xuhaiweicreation05:50
Qimingwebhook middleware will only affect webhook trigger05:50
Qimingif it is not a webhook trigger call, the middleware will be skipped, http://git.openstack.org/cgit/openstack/senlin/tree/senlin/api/middleware/webhook.py#n4405:51
xuhaiweiI think I got your idea05:53
Qiminggreat05:53
xuhaiweithere should be somewhere else wrong, currently webhook is not correctly created05:53
Qimingok05:53
*** openstack has joined #senlin05:57
Qimingwelcome back, openstack05:57
openstackgerritQiming Teng proposed openstack/senlin: Enable a new role for migrated node  https://review.openstack.org/25016506:11
Qiminghttps://review.openstack.org/#/c/250164/06:25
Qimingjust trying to invite openstackstatus to #senlin channel06:25
Qiming:)06:25
openstackgerritYanyan Hu proposed openstack/senlin: Rename image_get_by_name to image_find  https://review.openstack.org/25015406:25
Yanyanhuthe one who will respond to bug/review number?06:26
Qimingno, the 'one' who tells us that gerrit is down06:28
Qiminggerrit is slow06:29
Yanyanhuoh06:29
QimingYanyanhu, you are building a train of patches where the first car is broken06:31
Qiminglooking at it now06:31
Yanyanhuyes...06:32
Yanyanhu4 carriages06:33
Qimingcan cross projects06:34
Yanyanhuumm06:35
Yanyanhunot sure whether SDK guys are ok with the latest change of nova-server-interface patch06:35
openstackgerritYanyan Hu proposed openstack/senlin: Rename image_get_by_name to image_find  https://review.openstack.org/25015406:37
QimingYanyanhu, I'm looking at it06:50
Yanyanhuok06:50
Qimingthe question I have is about the relationship between 'server' and 'value'06:51
Qimingthere are two possibilities in general06:51
Qimingif 'value' is an instance of ServerInterface, you can get server_id there06:51
Yanyanhuyes06:52
Qimingor else, 'value' will be treated as the ID of the ServerInterface, you will need the 'server' variable to get the server_id06:52
Yanyanhuyes06:52
Qimingcan we use name of a server interface when doing find?06:56
Yanyanhuno, since server interface doesn't have name attr06:56
Yanyanhuit only has an ID attr which is actually the port_id06:57
Qimingokay06:57
Qimingposted some comments, hope they are helpful06:58
Yanyanhuok, will check it, thanks06:58
openstackgerritQiming Teng proposed openstack/senlin: Let node-join return 400 if cluster is not found  https://review.openstack.org/25020207:12
*** Qiming_ has joined #senlin07:24
*** yuanying_ has joined #senlin07:25
*** openstack has quit IRC07:28
*** openstack has joined #senlin14:08
*** zhenguo has joined #senlin14:17
*** Qiming has quit IRC15:22
*** pratikmallya has joined #senlin16:07
*** zhenguo has quit IRC16:21
*** gongysh has quit IRC16:35
*** gongysh has joined #senlin16:37
*** gongysh has quit IRC16:58
*** gongysh has joined #senlin17:00
*** gongysh has quit IRC17:14
*** gongysh has joined #senlin17:17
*** gongysh has quit IRC17:43
*** gongysh has joined #senlin17:43
*** openstackgerrit has quit IRC18:49
*** pratikmallya has quit IRC19:01
*** openstackgerrit has joined #senlin19:10
*** pratikmallya has joined #senlin19:14
*** gongysh has quit IRC19:26
*** gongysh has joined #senlin19:28
*** openstackgerrit has quit IRC21:06
*** openstackgerrit has joined #senlin21:07
*** Qiming has joined #senlin23:47
*** openstackgerrit has quit IRC23:47
*** openstackgerrit_ has joined #senlin23:48
*** openstackgerrit_ is now known as openstackgerrit23:48
openstackgerritMerged openstack/senlin: Let node-join return 400 if cluster is not found  https://review.openstack.org/25020223:56

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