Friday, 2015-12-04

*** lixinhui_ has quit IRC00:16
*** pratikmallya has quit IRC00:24
*** lvdongbing has joined #senlin00:34
*** lvdongbing has quit IRC00:56
*** lvdongbing has joined #senlin00:57
*** Qiming has joined #senlin01:01
xuhaiweiQiming, since we are focusing on Senlin api, should we remove some unused API like action_create?01:25
Qimingit is in API already?01:26
Qimingit is true that we don't have command line support for this01:27
xuhaiweihttps://github.com/openstack/senlin/blob/master/senlin/api/openstack/v1/actions.py#L10801:27
xuhaiweiwill it be used in future?01:28
QimingYES, definitely01:28
xuhaiweiin what case?01:28
Qimingone of the features we want to support is to run bash scripts on a cluster of nodes01:29
Qimingin batch01:29
Qimingin that case, the 'action' field for an action-create request contains not just a simple string such as 'CLUSTER_SCALE_IN'01:30
xuhaiweithat is customized action?01:30
Qimingit will contain something like '#!/bin/sh\necho whatever' ...01:30
Qimingyep01:30
xuhaiweiok, got it01:31
Qimingnot sure if it would be abused01:31
Qimingand also the infrastructure for custom actions is not ready01:31
Qimingso we haven't expose this from CLI01:32
xuhaiweiwhat does infrastructure mean?01:34
*** zhenguo has joined #senlin01:37
*** shu-mutou has joined #senlin01:37
*** Yanyanhu has joined #senlin01:38
openstackgerritQiming Teng proposed openstack/senlin: Remove timestamp fields from filtering parameters  https://review.openstack.org/25328601:38
Qimingxuhaiwei, some logics that can analyze the content of the 'action' property and then make decisions on what to do with them01:39
Qimingtoday, we are doing the parsing of 'action' field here: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/actions/base.py#n7701:40
Qimingwe creates custom_action but the execution logic is empty: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/actions/custom_action.py01:40
*** pratikmallya has joined #senlin01:50
openstackgerritMerged openstack/senlin: Remove HTTPNoContent from cluster delete API  https://review.openstack.org/25282501:52
openstackgerritMerged openstack/senlin: Revise functional test to adapt to latest API change  https://review.openstack.org/25281301:52
Qimingxuhaiwei, http://git.openstack.org/cgit/openstack/python-senlinclient/tree/senlinclient/v1/shell.py#n71701:53
QimingI was thinking of something like ^ that01:53
Qimingfor the node-delete operation, we may still need to add some comments in patch https://review.openstack.org/#/c/25285101:55
QimingI'm not saying that the current handling at client side is perfect or good01:55
Qimingthe top priority for me is to make the APIs' behavior consistent and stable01:56
xuhaiweisorry, I am back now :)02:02
xuhaiweiso deleting the return value of node-delete action and adding some comments are ok?02:05
Qimingyes02:06
Qimingit is not breaking the client as i read the client code02:06
xuhaiweiok02:06
openstackgerritxu-haiwei proposed openstack/senlin: Make node delete request return no body  https://review.openstack.org/25285102:09
*** elynn has joined #senlin02:25
Qimingzhenguo, there?02:35
zhenguoQiming: yeah02:35
Qimingstill getting errors like this: You have offline compression enabled but key "15e2ee77225cfda48c60e06428b67e74" is missing from offline manifest. You may need to run "python manage.py compress".02:35
*** elynn has quit IRC02:36
zhenguoQiming: old env?02:36
Qimingjust git pulled horizon and sudo pip installed again02:36
*** elynn has joined #senlin02:37
zhenguoI would suggest git clone again :P02:37
Qiming... okay02:37
zhenguoor just run 'python manage.py compress'02:37
QimingI did that02:37
zhenguobut always not solve the problems heh02:38
Qimingyiiiip02:38
Qimingcloning and praying02:38
zhenguogit clone always works in my experence, good luck :P02:41
*** pratikmallya has quit IRC02:42
openstackgerritQiming Teng proposed openstack/senlin: Mark 400/404 error as fixed  https://review.openstack.org/25329302:42
Qimingzhenguo, it just takes time02:43
openstackgerritYanyan Hu proposed openstack/senlin: [Tentative]Disable multi-engine to debug functional test  https://review.openstack.org/25223102:46
openstackgerritlvdongbing proposed openstack/senlin: Cut microsecond from init_time  https://review.openstack.org/25330002:58
openstackgerritMerged openstack/senlin: Make node delete request return no body  https://review.openstack.org/25285103:05
Qiminglvdongbing, thanks for the patch03:06
Qimingjust posted comment to both the bug report and the patch03:07
openstackgerritxu-haiwei proposed openstack/python-senlinclient: Specify keystoneauth1 exception more  https://review.openstack.org/25330303:07
Qimingsomehow I am not able to reproduce the situation now03:07
lvdongbingStrange´╝îI can reproduce it every time.03:10
Qimingthen the _fmt_time() function is not working?03:11
Qiminghow about do this:  find . -name '*.pyc' -delete; sudo pip install -e .03:11
Qimingrestart the senlin-engine service03:11
lvdongbingOK, I'll try03:12
QimingI was having the time format problem before I restart senlin-engine03:12
Qimingnow it seems all okay03:12
Qimingpls help verify, thx03:12
lvdongbingNo, I still hit it03:21
lvdongbingto_dict cannot cut microsecond from init_time03:22
lvdongbingIn the first response body, init_time is just equal timeutils.utcnow()03:23
lvdongbingNot from db03:23
Qimingthat is weird03:30
Qiminghorizon runs on a special port?03:34
lvdongbingWhen creating node by CLI, will get 2 response body, init_time in the first one will include microsecond03:35
Qimingthat one is from the create request03:37
lvdongbingYes03:37
lvdongbingThat init_time is timeutils.utcnow(), right?03:38
Qimingbut before returning, we are translating it to a dict using the to_dict() funciton03:39
*** elynn has quit IRC03:40
lvdongbingbut it cannot cut microsecond from init_time03:41
lvdongbingtry this code:    timeutils.utcnow() and timeutils.utcnow().isoformat()03:42
lvdongbingOh, sorry.             t=timeutils.utcnow(); print t and t.isoformat()03:43
*** elynn has joined #senlin04:39
*** liuv has joined #senlin04:50
*** lixinhui has joined #senlin04:56
openstackgerritxu-haiwei proposed openstack/senlin: Remove HTTPNoContent from profile delete API  https://review.openstack.org/25331805:03
*** lixinhui has quit IRC05:04
openstackgerritxu-haiwei proposed openstack/senlin: Remove HTTPNoContent from policy delete API  https://review.openstack.org/25331905:09
openstackgerritxu-haiwei proposed openstack/senlin: Remove HTTPNoContent from webhook delete API  https://review.openstack.org/25332105:14
*** shu-mutou has quit IRC05:30
*** zhangguoqing has quit IRC06:00
*** zhangguoqing has joined #senlin06:00
*** jdandrea has quit IRC06:19
openstackgerritxu-haiwei proposed openstack/senlin: Remove HTTPNoContent from profile delete API  https://review.openstack.org/25331806:22
*** jdandrea has joined #senlin06:22
openstackgerritYanyan Hu proposed openstack/senlin: Fix a typo in action status definition.  https://review.openstack.org/25333506:28
*** pratikmallya has joined #senlin06:31
openstackgerritMerged openstack/senlin: Remove HTTPNoContent from policy delete API  https://review.openstack.org/25331906:46
openstackgerritMerged openstack/senlin: Remove HTTPNoContent from profile delete API  https://review.openstack.org/25331806:47
openstackgerritMerged openstack/senlin: Remove HTTPNoContent from webhook delete API  https://review.openstack.org/25332106:48
openstackgerritMerged openstack/senlin: Fix a typo in action status definition.  https://review.openstack.org/25333506:49
openstackgerritYanyan Hu proposed openstack/senlin: Revise functional test to adapt to latest API change  https://review.openstack.org/25335006:51
openstackgerritYanyan Hu proposed openstack/senlin: [Tentative]Disable multi-engine to debug functional test  https://review.openstack.org/25223106:55
*** lixinhui has joined #senlin06:59
openstackgerritlvdongbing proposed openstack/senlin: Cut microsecond from init_time  https://review.openstack.org/25330007:05
openstackgerritMerged openstack/senlin: Revise functional test to adapt to latest API change  https://review.openstack.org/25335007:13
*** zhangguoqing has quit IRC08:01
*** zhangguoqing has joined #senlin08:03
*** pratikmallya has quit IRC08:06
*** xuhaiwei has quit IRC08:14
*** xuhaiwei has joined #senlin08:15
*** lixinhui has quit IRC08:35
*** pratikmallya has joined #senlin09:07
*** pratikmallya has quit IRC09:12
*** elynn has quit IRC09:12
*** pratikmallya has joined #senlin09:17
*** lixinhui has joined #senlin09:21
*** yuanying has quit IRC09:22
-openstackstatus- NOTICE: Tox tests are broken at the moment. From openstack-infra we are working to fix them. Please don't approve changes until we notify that tox tests work again.09:32
*** lvdongbing has quit IRC09:35
*** pratikmallya has quit IRC09:37
*** pratikmallya has joined #senlin09:38
Yanyanhuhi, Qiming, how can I reopen a bug which has been marked as fix-committed before?09:44
YanyanhuI think we meet this issue again https://bugs.launchpad.net/senlin/+bug/149544909:44
openstackLaunchpad bug 1495449 in senlin "cluster action dependency list can't be updated correctly" [Undecided,Fix committed] - Assigned to Yanyan Hu (yanyanhu)09:44
Qimingyou can reopen it09:45
Qimingyou don't have to file a new one09:45
Yanyanhujust set it to confirmed?09:45
Yanyanhuor triaged09:45
Yanyanhuhave set it to confirmed09:47
QimingNew09:48
Yanyanhuok09:49
Qimingthis dependency messed up in multi-engine scenario?09:49
Yanyanhuhmm, I think so.09:50
Qiming...09:50
Yanyanhuneed to dig it09:51
Qimingok09:52
Yanyanhureally a headache to reproduced locally09:52
Yanyanhuwill focus on it in coming days09:52
Yanyanhuoh, actually, in gate side, it happened in single-engine environment09:54
YanyanhuI temporarily set the engine worker number to 1 when doing the test09:54
*** pratikmallya has quit IRC09:58
*** zhenguo has quit IRC09:59
*** pratikmallya has joined #senlin09:59
*** Qiming has quit IRC10:00
*** Yanyanhu has quit IRC10:03
*** pratikmallya has quit IRC10:20
*** pratikmallya has joined #senlin10:28
*** yuanying has joined #senlin10:29
*** openstackgerrit has quit IRC10:32
*** yuanying has quit IRC10:32
*** openstackgerrit has joined #senlin10:32
*** yuanying has joined #senlin10:33
*** yuanying has quit IRC10:33
*** yuanying has joined #senlin10:34
*** pratikmallya has quit IRC10:48
*** Qiming has joined #senlin10:56
*** lixinhui has quit IRC11:10
*** liuv has quit IRC11:16
*** pratikmallya has joined #senlin11:40
*** lixinhui has joined #senlin11:53
*** Qiming has quit IRC11:55
*** yuanying_ has joined #senlin12:04
*** lixinhui has quit IRC12:08
*** yuanying has quit IRC12:08
*** yuanying_ has quit IRC12:23
*** yuanying has joined #senlin12:27
*** yuanying has quit IRC12:27
*** pratikmallya has quit IRC13:07
*** lvdongbing has joined #senlin13:16
*** lvdongbing has quit IRC14:04
openstackgerritlvdongbing proposed openstack/senlin: Cut microsecond from init_time  https://review.openstack.org/25330014:07
*** pratikmallya has joined #senlin14:08
*** pratikmallya has quit IRC14:12
*** zhenguo has joined #senlin14:13
*** zhangguoqing has quit IRC14:43
*** cschulz has joined #senlin15:00
*** pratikmallya has joined #senlin15:33
*** pratikmallya has quit IRC15:53
*** pratikmallya has joined #senlin16:40
-openstackstatus- NOTICE: The earlier JJB bug which disrupted tox-based job configurations has been reverted and applied; jobs seem to be running successfully for the past two hours.16:54
*** pratikma_ has joined #senlin16:57
*** pratikmallya has quit IRC17:00
*** pratikmallya has joined #senlin17:36
*** pratikma_ has quit IRC17:39
*** pratikma_ has joined #senlin19:02
*** pratikma_ is now known as pratikmallya_19:04
*** pratikmallya has quit IRC19:06
*** pratikmallya_ has quit IRC19:37
*** pratikmallya has joined #senlin19:57
*** cschulz has quit IRC21:18
*** pratikmallya has quit IRC22:38
*** cschulz has joined #senlin22:47
*** pratikmallya has joined #senlin22:59
*** cschulz has quit IRC23:16
*** pratikmallya has quit IRC23:23
*** openstack has joined #senlin23:39

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