*** lixinhui_ has quit IRC | 00:16 | |
*** pratikmallya has quit IRC | 00:24 | |
*** lvdongbing has joined #senlin | 00:34 | |
*** lvdongbing has quit IRC | 00:56 | |
*** lvdongbing has joined #senlin | 00:57 | |
*** Qiming has joined #senlin | 01:01 | |
xuhaiwei | Qiming, since we are focusing on Senlin api, should we remove some unused API like action_create? | 01:25 |
---|---|---|
Qiming | it is in API already? | 01:26 |
Qiming | it is true that we don't have command line support for this | 01:27 |
xuhaiwei | https://github.com/openstack/senlin/blob/master/senlin/api/openstack/v1/actions.py#L108 | 01:27 |
xuhaiwei | will it be used in future? | 01:28 |
Qiming | YES, definitely | 01:28 |
xuhaiwei | in what case? | 01:28 |
Qiming | one of the features we want to support is to run bash scripts on a cluster of nodes | 01:29 |
Qiming | in batch | 01:29 |
Qiming | in that case, the 'action' field for an action-create request contains not just a simple string such as 'CLUSTER_SCALE_IN' | 01:30 |
xuhaiwei | that is customized action? | 01:30 |
Qiming | it will contain something like '#!/bin/sh\necho whatever' ... | 01:30 |
Qiming | yep | 01:30 |
xuhaiwei | ok, got it | 01:31 |
Qiming | not sure if it would be abused | 01:31 |
Qiming | and also the infrastructure for custom actions is not ready | 01:31 |
Qiming | so we haven't expose this from CLI | 01:32 |
xuhaiwei | what does infrastructure mean? | 01:34 |
*** zhenguo has joined #senlin | 01:37 | |
*** shu-mutou has joined #senlin | 01:37 | |
*** Yanyanhu has joined #senlin | 01:38 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Remove timestamp fields from filtering parameters https://review.openstack.org/253286 | 01:38 |
Qiming | xuhaiwei, some logics that can analyze the content of the 'action' property and then make decisions on what to do with them | 01:39 |
Qiming | today, we are doing the parsing of 'action' field here: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/actions/base.py#n77 | 01:40 |
Qiming | we creates custom_action but the execution logic is empty: http://git.openstack.org/cgit/openstack/senlin/tree/senlin/engine/actions/custom_action.py | 01:40 |
*** pratikmallya has joined #senlin | 01:50 | |
openstackgerrit | Merged openstack/senlin: Remove HTTPNoContent from cluster delete API https://review.openstack.org/252825 | 01:52 |
openstackgerrit | Merged openstack/senlin: Revise functional test to adapt to latest API change https://review.openstack.org/252813 | 01:52 |
Qiming | xuhaiwei, http://git.openstack.org/cgit/openstack/python-senlinclient/tree/senlinclient/v1/shell.py#n717 | 01:53 |
Qiming | I was thinking of something like ^ that | 01:53 |
Qiming | for the node-delete operation, we may still need to add some comments in patch https://review.openstack.org/#/c/252851 | 01:55 |
Qiming | I'm not saying that the current handling at client side is perfect or good | 01:55 |
Qiming | the top priority for me is to make the APIs' behavior consistent and stable | 01:56 |
xuhaiwei | sorry, I am back now :) | 02:02 |
xuhaiwei | so deleting the return value of node-delete action and adding some comments are ok? | 02:05 |
Qiming | yes | 02:06 |
Qiming | it is not breaking the client as i read the client code | 02:06 |
xuhaiwei | ok | 02:06 |
openstackgerrit | xu-haiwei proposed openstack/senlin: Make node delete request return no body https://review.openstack.org/252851 | 02:09 |
*** elynn has joined #senlin | 02:25 | |
Qiming | zhenguo, there? | 02:35 |
zhenguo | Qiming: yeah | 02:35 |
Qiming | still 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 IRC | 02:36 | |
zhenguo | Qiming: old env? | 02:36 |
Qiming | just git pulled horizon and sudo pip installed again | 02:36 |
*** elynn has joined #senlin | 02:37 | |
zhenguo | I would suggest git clone again :P | 02:37 |
Qiming | ... okay | 02:37 |
zhenguo | or just run 'python manage.py compress' | 02:37 |
Qiming | I did that | 02:37 |
zhenguo | but always not solve the problems heh | 02:38 |
Qiming | yiiiip | 02:38 |
Qiming | cloning and praying | 02:38 |
zhenguo | git clone always works in my experence, good luck :P | 02:41 |
*** pratikmallya has quit IRC | 02:42 | |
openstackgerrit | Qiming Teng proposed openstack/senlin: Mark 400/404 error as fixed https://review.openstack.org/253293 | 02:42 |
Qiming | zhenguo, it just takes time | 02:43 |
openstackgerrit | Yanyan Hu proposed openstack/senlin: [Tentative]Disable multi-engine to debug functional test https://review.openstack.org/252231 | 02:46 |
openstackgerrit | lvdongbing proposed openstack/senlin: Cut microsecond from init_time https://review.openstack.org/253300 | 02:58 |
openstackgerrit | Merged openstack/senlin: Make node delete request return no body https://review.openstack.org/252851 | 03:05 |
Qiming | lvdongbing, thanks for the patch | 03:06 |
Qiming | just posted comment to both the bug report and the patch | 03:07 |
openstackgerrit | xu-haiwei proposed openstack/python-senlinclient: Specify keystoneauth1 exception more https://review.openstack.org/253303 | 03:07 |
Qiming | somehow I am not able to reproduce the situation now | 03:07 |
lvdongbing | Strange,I can reproduce it every time. | 03:10 |
Qiming | then the _fmt_time() function is not working? | 03:11 |
Qiming | how about do this: find . -name '*.pyc' -delete; sudo pip install -e . | 03:11 |
Qiming | restart the senlin-engine service | 03:11 |
lvdongbing | OK, I'll try | 03:12 |
Qiming | I was having the time format problem before I restart senlin-engine | 03:12 |
Qiming | now it seems all okay | 03:12 |
Qiming | pls help verify, thx | 03:12 |
lvdongbing | No, I still hit it | 03:21 |
lvdongbing | to_dict cannot cut microsecond from init_time | 03:22 |
lvdongbing | In the first response body, init_time is just equal timeutils.utcnow() | 03:23 |
lvdongbing | Not from db | 03:23 |
Qiming | that is weird | 03:30 |
Qiming | horizon runs on a special port? | 03:34 |
lvdongbing | When creating node by CLI, will get 2 response body, init_time in the first one will include microsecond | 03:35 |
Qiming | that one is from the create request | 03:37 |
lvdongbing | Yes | 03:37 |
lvdongbing | That init_time is timeutils.utcnow(), right? | 03:38 |
Qiming | but before returning, we are translating it to a dict using the to_dict() funciton | 03:39 |
*** elynn has quit IRC | 03:40 | |
lvdongbing | but it cannot cut microsecond from init_time | 03:41 |
lvdongbing | try this code: timeutils.utcnow() and timeutils.utcnow().isoformat() | 03:42 |
lvdongbing | Oh, sorry. t=timeutils.utcnow(); print t and t.isoformat() | 03:43 |
*** elynn has joined #senlin | 04:39 | |
*** liuv has joined #senlin | 04:50 | |
*** lixinhui has joined #senlin | 04:56 | |
openstackgerrit | xu-haiwei proposed openstack/senlin: Remove HTTPNoContent from profile delete API https://review.openstack.org/253318 | 05:03 |
*** lixinhui has quit IRC | 05:04 | |
openstackgerrit | xu-haiwei proposed openstack/senlin: Remove HTTPNoContent from policy delete API https://review.openstack.org/253319 | 05:09 |
openstackgerrit | xu-haiwei proposed openstack/senlin: Remove HTTPNoContent from webhook delete API https://review.openstack.org/253321 | 05:14 |
*** shu-mutou has quit IRC | 05:30 | |
*** zhangguoqing has quit IRC | 06:00 | |
*** zhangguoqing has joined #senlin | 06:00 | |
*** jdandrea has quit IRC | 06:19 | |
openstackgerrit | xu-haiwei proposed openstack/senlin: Remove HTTPNoContent from profile delete API https://review.openstack.org/253318 | 06:22 |
*** jdandrea has joined #senlin | 06:22 | |
openstackgerrit | Yanyan Hu proposed openstack/senlin: Fix a typo in action status definition. https://review.openstack.org/253335 | 06:28 |
*** pratikmallya has joined #senlin | 06:31 | |
openstackgerrit | Merged openstack/senlin: Remove HTTPNoContent from policy delete API https://review.openstack.org/253319 | 06:46 |
openstackgerrit | Merged openstack/senlin: Remove HTTPNoContent from profile delete API https://review.openstack.org/253318 | 06:47 |
openstackgerrit | Merged openstack/senlin: Remove HTTPNoContent from webhook delete API https://review.openstack.org/253321 | 06:48 |
openstackgerrit | Merged openstack/senlin: Fix a typo in action status definition. https://review.openstack.org/253335 | 06:49 |
openstackgerrit | Yanyan Hu proposed openstack/senlin: Revise functional test to adapt to latest API change https://review.openstack.org/253350 | 06:51 |
openstackgerrit | Yanyan Hu proposed openstack/senlin: [Tentative]Disable multi-engine to debug functional test https://review.openstack.org/252231 | 06:55 |
*** lixinhui has joined #senlin | 06:59 | |
openstackgerrit | lvdongbing proposed openstack/senlin: Cut microsecond from init_time https://review.openstack.org/253300 | 07:05 |
openstackgerrit | Merged openstack/senlin: Revise functional test to adapt to latest API change https://review.openstack.org/253350 | 07:13 |
*** zhangguoqing has quit IRC | 08:01 | |
*** zhangguoqing has joined #senlin | 08:03 | |
*** pratikmallya has quit IRC | 08:06 | |
*** xuhaiwei has quit IRC | 08:14 | |
*** xuhaiwei has joined #senlin | 08:15 | |
*** lixinhui has quit IRC | 08:35 | |
*** pratikmallya has joined #senlin | 09:07 | |
*** pratikmallya has quit IRC | 09:12 | |
*** elynn has quit IRC | 09:12 | |
*** pratikmallya has joined #senlin | 09:17 | |
*** lixinhui has joined #senlin | 09:21 | |
*** yuanying has quit IRC | 09: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 IRC | 09:35 | |
*** pratikmallya has quit IRC | 09:37 | |
*** pratikmallya has joined #senlin | 09:38 | |
Yanyanhu | hi, Qiming, how can I reopen a bug which has been marked as fix-committed before? | 09:44 |
Yanyanhu | I think we meet this issue again https://bugs.launchpad.net/senlin/+bug/1495449 | 09:44 |
openstack | Launchpad bug 1495449 in senlin "cluster action dependency list can't be updated correctly" [Undecided,Fix committed] - Assigned to Yanyan Hu (yanyanhu) | 09:44 |
Qiming | you can reopen it | 09:45 |
Qiming | you don't have to file a new one | 09:45 |
Yanyanhu | just set it to confirmed? | 09:45 |
Yanyanhu | or triaged | 09:45 |
Yanyanhu | have set it to confirmed | 09:47 |
Qiming | New | 09:48 |
Yanyanhu | ok | 09:49 |
Qiming | this dependency messed up in multi-engine scenario? | 09:49 |
Yanyanhu | hmm, I think so. | 09:50 |
Qiming | ... | 09:50 |
Yanyanhu | need to dig it | 09:51 |
Qiming | ok | 09:52 |
Yanyanhu | really a headache to reproduced locally | 09:52 |
Yanyanhu | will focus on it in coming days | 09:52 |
Yanyanhu | oh, actually, in gate side, it happened in single-engine environment | 09:54 |
Yanyanhu | I temporarily set the engine worker number to 1 when doing the test | 09:54 |
*** pratikmallya has quit IRC | 09:58 | |
*** zhenguo has quit IRC | 09:59 | |
*** pratikmallya has joined #senlin | 09:59 | |
*** Qiming has quit IRC | 10:00 | |
*** Yanyanhu has quit IRC | 10:03 | |
*** pratikmallya has quit IRC | 10:20 | |
*** pratikmallya has joined #senlin | 10:28 | |
*** yuanying has joined #senlin | 10:29 | |
*** openstackgerrit has quit IRC | 10:32 | |
*** yuanying has quit IRC | 10:32 | |
*** openstackgerrit has joined #senlin | 10:32 | |
*** yuanying has joined #senlin | 10:33 | |
*** yuanying has quit IRC | 10:33 | |
*** yuanying has joined #senlin | 10:34 | |
*** pratikmallya has quit IRC | 10:48 | |
*** Qiming has joined #senlin | 10:56 | |
*** lixinhui has quit IRC | 11:10 | |
*** liuv has quit IRC | 11:16 | |
*** pratikmallya has joined #senlin | 11:40 | |
*** lixinhui has joined #senlin | 11:53 | |
*** Qiming has quit IRC | 11:55 | |
*** yuanying_ has joined #senlin | 12:04 | |
*** lixinhui has quit IRC | 12:08 | |
*** yuanying has quit IRC | 12:08 | |
*** yuanying_ has quit IRC | 12:23 | |
*** yuanying has joined #senlin | 12:27 | |
*** yuanying has quit IRC | 12:27 | |
*** pratikmallya has quit IRC | 13:07 | |
*** lvdongbing has joined #senlin | 13:16 | |
*** lvdongbing has quit IRC | 14:04 | |
openstackgerrit | lvdongbing proposed openstack/senlin: Cut microsecond from init_time https://review.openstack.org/253300 | 14:07 |
*** pratikmallya has joined #senlin | 14:08 | |
*** pratikmallya has quit IRC | 14:12 | |
*** zhenguo has joined #senlin | 14:13 | |
*** zhangguoqing has quit IRC | 14:43 | |
*** cschulz has joined #senlin | 15:00 | |
*** pratikmallya has joined #senlin | 15:33 | |
*** pratikmallya has quit IRC | 15:53 | |
*** pratikmallya has joined #senlin | 16: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 #senlin | 16:57 | |
*** pratikmallya has quit IRC | 17:00 | |
*** pratikmallya has joined #senlin | 17:36 | |
*** pratikma_ has quit IRC | 17:39 | |
*** pratikma_ has joined #senlin | 19:02 | |
*** pratikma_ is now known as pratikmallya_ | 19:04 | |
*** pratikmallya has quit IRC | 19:06 | |
*** pratikmallya_ has quit IRC | 19:37 | |
*** pratikmallya has joined #senlin | 19:57 | |
*** cschulz has quit IRC | 21:18 | |
*** pratikmallya has quit IRC | 22:38 | |
*** cschulz has joined #senlin | 22:47 | |
*** pratikmallya has joined #senlin | 22:59 | |
*** cschulz has quit IRC | 23:16 | |
*** pratikmallya has quit IRC | 23:23 | |
*** openstack has joined #senlin | 23:39 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!