*** Qiming has quit IRC | 00:28 | |
openstackgerrit | xu-haiwei proposed stackforge/senlin: Fail webhook creation if url is not correctly created https://review.openstack.org/216508 | 01:02 |
---|---|---|
*** zhenguo has joined #senlin | 01:05 | |
*** Qiming has joined #senlin | 01:17 | |
openstackgerrit | Merged stackforge/senlin: Ensure policy enforcement level is less equal than 100 https://review.openstack.org/215501 | 01:38 |
openstackgerrit | Merged stackforge/senlin: Fail webhook creation if url is not correctly created https://review.openstack.org/216508 | 01:38 |
*** mathspanda has joined #senlin | 01:42 | |
*** jdandrea has quit IRC | 01:43 | |
*** lawrance_ has joined #senlin | 01:45 | |
*** Yanyanhu has joined #senlin | 01:59 | |
*** lawrance_ has quit IRC | 02:01 | |
*** elynn has joined #senlin | 02:11 | |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Add functional test for listing policy_types https://review.openstack.org/213626 | 02:44 |
*** lawrance_ has joined #senlin | 02:59 | |
Qiming | Yanyanhu, seems the functional test needs a rebase | 03:01 |
Yanyanhu | yes, I guess so | 03:01 |
Qiming | from the error code 500 log, I saw an error that 'identity' is not an attribute | 03:01 |
Yanyanhu | will wait for the result of this patch to see whether it can pass https://review.openstack.org/213626 | 03:02 |
Qiming | you didn't rebase it in you local env, so it might have passed before sent to gate | 03:02 |
Yanyanhu | yes, just the patch work correctly in my local env | 03:02 |
Yanyanhu | ok, let me make a check | 03:03 |
Yanyanhu | oh, BTW, Qiming, will try to add network support for os.nova.server profile today | 03:05 |
Yanyanhu | looks like this work has not been completed yet | 03:06 |
Qiming | okay | 03:18 |
Qiming | Yanyanhu, http://logs.openstack.org/45/217045/3/experimental/gate-senlin-dsvm-functional/869e1c6/console.html | 03:19 |
Qiming | http://logs.openstack.org/45/217045/3/experimental/gate-senlin-dsvm-functional/869e1c6/console.html#_2015-08-27_02_49_22_330 | 03:19 |
Qiming | self.identity = backend.identity\n\nAttributeError: 'module' object has no attribute 'identity'\n", | 03:19 |
Qiming | it is a rebase problem | 03:19 |
Yanyanhu | ok, so we just don't need to handle it? | 03:20 |
Qiming | or you forgot to add identity here: senlin/tests/functional/drivers/openstack/__init__.py | 03:21 |
Yanyanhu | it is there in the patch. So I guess it is rebase problem | 03:22 |
Qiming | in which patch? | 03:22 |
Yanyanhu | this one https://review.openstack.org/#/c/217045/3/senlin/drivers/openstack/__init__.py | 03:22 |
Yanyanhu | the keystone driver plugin patch | 03:23 |
Qiming | identity is not here: http://git.openstack.org/cgit/stackforge/senlin/tree/senlin/tests/functional/drivers/openstack/__init__.py | 03:23 |
Yanyanhu | ah | 03:23 |
Yanyanhu | how this happened... | 03:24 |
Qiming | you only added identity for real, not for functional test | 03:24 |
Yanyanhu | oh | 03:24 |
Yanyanhu | faint | 03:24 |
Yanyanhu | will fix it | 03:24 |
Yanyanhu | thanks | 03:24 |
openstackgerrit | xu-haiwei proposed stackforge/senlin: Handle exception in neutron_v2 module https://review.openstack.org/215051 | 04:09 |
openstackgerrit | xu-haiwei proposed stackforge/senlin: Handle exception in neutron_v2 module https://review.openstack.org/215051 | 04:53 |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Add keystone driver plugin for functional test https://review.openstack.org/217519 | 05:15 |
*** openstackgerrit has quit IRC | 05:16 | |
*** openstackgerrit has joined #senlin | 05:17 | |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Add functional test for listing policy_types https://review.openstack.org/213626 | 05:18 |
openstackgerrit | Merged stackforge/senlin: Updated from global requirements https://review.openstack.org/217508 | 05:21 |
Qiming | hi, I'm merging trigger api for testing now | 05:29 |
Qiming | cannot wait | 05:29 |
Yanyanhu | sure | 05:29 |
*** mathspanda has quit IRC | 05:33 | |
*** xuhaiwei_ has joined #senlin | 05:34 | |
*** xuhaiwei has quit IRC | 05:34 | |
openstackgerrit | Merged stackforge/senlin: API layer support for triggers https://review.openstack.org/216556 | 05:34 |
*** mathspanda has joined #senlin | 05:39 | |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Fix errors in sample trigger spec and db model https://review.openstack.org/217526 | 05:51 |
xuhaiwei_ | Qiming, does senlinclient/common/utils.py need to be tested? | 05:52 |
Qiming | xuhaiwei_, ideally, all code should be tested | 05:52 |
Qiming | well, those util functions are difficult to write test case | 05:53 |
xuhaiwei_ | got it | 05:53 |
Qiming | maybe we should start from testing the critical components | 05:55 |
xuhaiwei_ | yes, but most the modules are assigned to someone | 05:56 |
xuhaiwei_ | can I reassign it? | 05:56 |
Qiming | sure | 05:56 |
Qiming | omg, I wasn't monitoring the senlinclient bug report ... :( | 05:57 |
Qiming | it would be better to comment on a bug you want to take over | 05:58 |
Qiming | see if the current owner is still working on it | 05:58 |
xuhaiwei_ | Julio Ruano has reported some bugs | 05:59 |
Qiming | yep | 05:59 |
xuhaiwei_ | he said he assigned to his students, but not sure whether they have started | 05:59 |
Qiming | right, seems ten days have passed | 05:59 |
xuhaiwei_ | I assigned v1/models.py to myself | 06:01 |
*** mathspanda has quit IRC | 06:23 | |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Add network support for os.nova.server profile https://review.openstack.org/217546 | 06:46 |
*** LiuWei has joined #senlin | 06:57 | |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Enable triggers for stevedore https://review.openstack.org/217550 | 07:01 |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Fix ceilometer alarm time constraints https://review.openstack.org/217552 | 07:02 |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Fix policy json file for project checking https://review.openstack.org/217553 | 07:02 |
Qiming | $ senlin trigger-list | 07:07 |
Qiming | WARNING: Both project/tenant name and project/tenant ID are specified, Senin will use project ID for authentication | 07:07 |
Qiming | +----------+------+--------------------------+-------------------+---------+----------+---------------------+--------------+ | 07:07 |
Qiming | | id | name | type | state | enabled | severity | created_time | deleted_time | | 07:07 |
Qiming | +----------+------+--------------------------+-------------------+---------+----------+---------------------+--------------+ | 07:07 |
Qiming | | 3f411002 | tt1 | CeilometerThresholdAlarm | insufficient_data | True | low | 2015-08-27T06:28:46 | None | | 07:07 |
Qiming | | e9625ec4 | tt1 | CeilometerThresholdAlarm | insufficient_data | True | low | 2015-08-27T06:28:05 | None | | 07:07 |
Qiming | +----------+------+--------------------------+-------------------+---------+----------+---------------------+--------------+ | 07:07 |
Yanyanhu | cool | 07:07 |
Yanyanhu | it works | 07:07 |
Qiming | senlin trigger-show 3f411002 | 07:08 |
Qiming | WARNING: Both project/tenant name and project/tenant ID are specified, Senin will use project ID for authentication | 07:08 |
Qiming | +--------------+------------------------------------------------+ | 07:08 |
Qiming | | Property | Value | | 07:08 |
Qiming | +--------------+------------------------------------------------+ | 07:08 |
Qiming | | created_time | 2015-08-27T06:28:46 | | 07:08 |
Qiming | | deleted_time | None | | 07:08 |
Qiming | | desc | | | 07:08 |
Qiming | | enabled | True | | 07:08 |
Qiming | | id | 3f411002-02bd-4853-aa1d-1db6df3a407a | | 07:08 |
Qiming | | links | {} | | 07:08 |
Qiming | | name | tt1 | | 07:08 |
Qiming | | severity | low | | 07:08 |
Qiming | | spec | { | | 07:08 |
Qiming | | | "time_constraints": [ | | 07:08 |
Qiming | | | { | | 07:08 |
Qiming | | | "duration": 3600, | | 07:08 |
Qiming | | | "start": "* * * * * *", | | 07:08 |
Qiming | | | "description": "a time constraint", | | 07:08 |
Qiming | | | "name": "a_time_constraint", | | 07:08 |
Qiming | | | "timezone": "Asia/Shanghai" | | 07:08 |
Qiming | | | } | | 07:08 |
Qiming | | | ], | | 07:08 |
Qiming | | | "version": 1.0, | | 07:08 |
Qiming | | | "type": "CeilometerThresholdAlarm", | | 07:08 |
Qiming | | | "rule": { | | 07:08 |
Qiming | | | "meter_name": "cpu_util", | | 07:08 |
Qiming | | | "evaluation_periods": 1, | | 07:08 |
Qiming | | | "period": 60, | | 07:08 |
Qiming | | | "statistic": "avg", | | 07:09 |
Qiming | | | "threshold": 15, | | 07:09 |
Qiming | | | "query": [ | | 07:09 |
Qiming | | | { | | 07:09 |
Qiming | | | "field": "resource_metadata.cluster", | | 07:09 |
Qiming | | | "type": "", | | 07:09 |
Qiming | | | "value": "cluster1", | | 07:09 |
Qiming | | | "op": "eq" | | 07:09 |
Qiming | | | } | | 07:09 |
Qiming | | | ], | | 07:09 |
Qiming | | | "comparison_operator": "lt" | | 07:09 |
Qiming | | | } | | 07:09 |
Qiming | | | } | | 07:09 |
Qiming | | state | insufficient_data | | 07:09 |
Qiming | | type | CeilometerThresholdAlarm | | 07:09 |
Qiming | | updated_time | None | | 07:09 |
Qiming | +--------------+------------------------------------------------+ | 07:09 |
openstackgerrit | Qiming Teng proposed stackforge/python-senlinclient: Initial support to triggers https://review.openstack.org/217556 | 07:12 |
xuhaiwei_ | great | 07:20 |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Enable triggers for stevedore https://review.openstack.org/217550 | 07:27 |
openstackgerrit | Qiming Teng proposed stackforge/python-senlinclient: Initial support to triggers https://review.openstack.org/217556 | 07:47 |
xuhaiwei_ | Qiming | 07:52 |
xuhaiwei_ | about the placement policy, have a question about it | 07:52 |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Remove a TODO item https://review.openstack.org/217571 | 07:53 |
Qiming | yes? | 07:53 |
xuhaiwei_ | senlin can do autoscaling from zone1 to zone2, what does this 'zone' mean? availability_zone? | 07:53 |
Qiming | yes | 07:53 |
Qiming | az | 07:54 |
xuhaiwei_ | is there any plan to do autoscaling from cloud to cloud? | 07:54 |
Qiming | that is called multi-region or multi-cloud | 07:55 |
xuhaiwei_ | https://blueprints.launchpad.net/senlin/+spec/scope-scaling-across-datacenter | 07:55 |
Qiming | we have context field in the CONTEXT property of a profile | 07:55 |
xuhaiwei_ | this bp is about multi-cloud? | 07:55 |
Qiming | with that CONTEXT field, in theory, we can easily do cross-cloud scaling, using different auth_url properties, for example | 07:56 |
xuhaiwei_ | got it | 07:57 |
Qiming | another scenario is a hybrid-cloud setting | 07:57 |
Qiming | we can tackle that with a more general profile-type, say 'cloud.compute' | 07:57 |
Qiming | and have the profile talk to different kinds of clouds (aws, sl, ... whatever) | 07:58 |
Qiming | the precondition would be some drivers to talk to those clouds for resource operations, just like what we have done for OpenStack today | 07:58 |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Add network support for os.nova.server profile https://review.openstack.org/217546 | 07:59 |
Qiming | Yanyan has just completed a great step of this -- making cloud_backend an option to be configured | 07:59 |
Qiming | not that this is just a design at the moment, it won't be difficult to achieve it as we believe | 08:00 |
Qiming | s/not/note | 08:00 |
xuhaiwei_ | ok | 08:00 |
Qiming | we haven't seriously tested cross-az, cross-region, cross-clouds things | 08:00 |
Qiming | several months ago, someone from IBM has tried to make cross-region work using senlin, I believe he succeeded ... | 08:01 |
Qiming | then he disappeared, :) | 08:01 |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Add network support for os.nova.server profile https://review.openstack.org/217546 | 08:02 |
xuhaiwei_ | I is disappointed? | 08:03 |
xuhaiwei_ | he is disappointed? | 08:03 |
Qiming | he was satisfactory | 08:10 |
Qiming | he left because the job assigned to him was done | 08:11 |
xuhaiwei_ | sounds cool, will take some jobs of that mission if there is any | 08:16 |
Qiming | xuhaiwei_, I think our top priority today is to remove 'TODO' items from the existing code | 08:30 |
Qiming | make the service stable and do a release | 08:30 |
Qiming | then we add new features later | 08:30 |
xuhaiwei_ | agree | 08:30 |
xuhaiwei_ | Just got this question from my manager | 08:32 |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Add network support for os.nova.server profile https://review.openstack.org/217546 | 08:32 |
openstackgerrit | Merged stackforge/senlin: Remove a TODO item https://review.openstack.org/217571 | 08:39 |
openstackgerrit | Yanyan Hu proposed stackforge/senlin: Add network support for os.nova.server profile https://review.openstack.org/217546 | 08:47 |
*** Yanyanhu has quit IRC | 09:15 | |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Refactor action constructor https://review.openstack.org/217593 | 09:25 |
*** lawrance_ has quit IRC | 09:28 | |
openstackgerrit | Merged stackforge/senlin: Add keystone driver plugin for functional test https://review.openstack.org/217519 | 09:50 |
openstackgerrit | Merged stackforge/senlin: Add functional test for listing policy_types https://review.openstack.org/213626 | 09:50 |
*** Qiming has quit IRC | 10:01 | |
*** LiuWei has quit IRC | 10:09 | |
*** zhenguo has quit IRC | 10:10 | |
*** lawrance_ has joined #senlin | 10:30 | |
*** elynn has quit IRC | 10:40 | |
*** elynn has joined #senlin | 10:55 | |
*** Qiming has joined #senlin | 11:00 | |
*** elynn has quit IRC | 11:24 | |
*** lkarm has joined #senlin | 12:10 | |
*** openstackgerrit has quit IRC | 12:31 | |
*** openstackgerrit has joined #senlin | 12:32 | |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Tweak runtime data of clusters https://review.openstack.org/217691 | 12:48 |
*** zhenguo has joined #senlin | 13:25 | |
*** jdandrea has joined #senlin | 13:26 | |
openstackgerrit | Zhenguo Niu proposed stackforge/senlin-dashboard: Wrap senlin client object https://review.openstack.org/217291 | 13:30 |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Forbid deletion of actions in use https://review.openstack.org/217720 | 13:50 |
zhenguo | Qiming: there? | 14:03 |
Qiming | hi | 14:30 |
zhenguo | Qiming: hi, want to discuss your comments on the wrap senlin client patch:https://review.openstack.org/#/c/217291/2/senlin_dashboard/api/senlin.py | 14:38 |
Qiming | yes | 14:39 |
zhenguo | you mentioned username, but I don't pass the arg | 14:39 |
Qiming | yes | 14:40 |
zhenguo | Qiming: there are only auth_url, token, and project_id | 14:40 |
Qiming | there are two ways to pass in user identity, either username, or user_id | 14:40 |
zhenguo | if use token authentication, username is not needed. | 14:41 |
Qiming | I don't think token id itself can be used for authentication | 14:41 |
Qiming | let me check | 14:41 |
zhenguo | ok | 14:41 |
zhenguo | senlin --os-auth-url http://172.28.1.133:5000/v2.0 --os-token aeed9ba654f74bddbd0075290d68fdc5 --os-tenant-name admin cluster-list | 14:42 |
zhenguo | but in V3, we need to specify the project-domain-id or name, because is may not unique | 14:44 |
Qiming | project_id is enough | 14:44 |
zhenguo | you checked? | 14:44 |
Qiming | if you are passing project_name, you will need either project_domain_id or project_domain_name | 14:45 |
Qiming | yes this was the protocol | 14:45 |
Qiming | about token based authentication, you are right | 14:45 |
Qiming | we don't need to provide user identity | 14:45 |
zhenguo | so pass auth_url, token, and project_id is enough | 14:46 |
Qiming | e.g. to refresh a token: http://git.openstack.org/cgit/openstack/keystone/tree/doc/source/api_curl_examples.rst#n192 | 14:46 |
Qiming | okay, I'm removing my -1 | 14:46 |
zhenguo | thanks :) | 14:46 |
zhenguo | Qiming: I would like to add a cluster table by today, then you can try the senlin dashboard. | 14:47 |
Qiming | np | 14:47 |
Qiming | oh really?! | 14:48 |
zhenguo | yeah, | 14:48 |
* Qiming dancing | 14:49 | |
openstackgerrit | Merged stackforge/senlin: Refactor action constructor https://review.openstack.org/217593 | 14:50 |
lawrance_ | cool, zhengguo | 15:05 |
openstackgerrit | Merged stackforge/senlin-dashboard: Wrap senlin client object https://review.openstack.org/217291 | 15:10 |
*** Qiming has quit IRC | 15:31 | |
openstackgerrit | lawrancejing proposed stackforge/senlin-dashboard: Add python-senlinclient in requirements.txt https://review.openstack.org/217767 | 15:34 |
zhenguo | lawrance_: s/zhenguo/zhengguo :P, just can't get notification as the misspelling | 15:38 |
lawrance_ | sorry :( zhengguo | 15:38 |
zhenguo | s/zhengguo/zhenguo, my mistake. | 15:41 |
zhenguo | :) | 15:41 |
lawrance_ | :( | 15:41 |
lawrance_ | zhenguo | 15:41 |
zhenguo | lawrance_: heh | 15:41 |
lawrance_ | are you working for the cluster table, | 15:41 |
lawrance_ | haha | 15:42 |
zhenguo | yes | 15:42 |
*** jruano has joined #senlin | 15:43 | |
lawrance_ | zhenguo: i'm think about that add a profile table, so that user could create cluster from some default example profiles, | 15:46 |
lawrance_ | maybe that could be easy for user to start senlin cluster | 15:46 |
zhenguo | lawrance: yes please, first should create a profile before creating cluster. | 15:47 |
lawrance_ | yep | 15:48 |
lawrance_ | zhenguo, how about moving http://http://tarballs.openstack.org...python-senlinclient from test-requirement to requirement? | 16:22 |
lawrance_ | does the tests need python-senlinclient? | 16:23 |
zhenguo | lawrance_: currently there's no any release of python-senlincleint | 16:23 |
zhenguo | so cant just add python-senlinclient to test-requirement | 16:23 |
lawrance_ | yep | 16:23 |
lawrance_ | if the tarballs of python-senlinclient could move to requirement, it could simplify the senlin-dashbord setup procedure.. | 16:25 |
lawrance_ | emm, now is ok for us:) | 16:26 |
lawrance_ | gonna to sleep, see U zzzzz | 16:29 |
zhenguo | lawrance_: wait for a minite | 16:29 |
lawrance_ | OK | 16:29 |
lawrance_ | smoke for a while:) | 16:30 |
zhenguo | lawrance_: https://usercontent.irccloud-cdn.com/file/FdDfj7nb/Screen%20Shot%202015-08-28%20at%2012.28.53%20AM.png | 16:30 |
zhenguo | lawrance_: you always smoke a lot | 16:30 |
lawrance_ | cool | 16:30 |
lawrance_ | so you have finished it ? | 16:31 |
zhenguo | lawrance_: heh, will upload the patch. | 16:31 |
lawrance_ | ok | 16:32 |
openstackgerrit | Zhenguo Niu proposed stackforge/senlin-dashboard: Add clusters table https://review.openstack.org/217793 | 16:39 |
zhenguo | lawrance_: it's too late... | 16:40 |
zhenguo | lawrance_: heading bed, happy Friday! | 16:41 |
*** zhenguo has quit IRC | 16:41 | |
lawrance_ | 88 | 16:41 |
*** lawrance_ has quit IRC | 17:02 | |
*** lkarm has quit IRC | 17:40 | |
*** lkarm has joined #senlin | 18:41 | |
*** lkarm has quit IRC | 18:46 | |
*** jruano has quit IRC | 18:54 | |
*** jruano has joined #senlin | 19:00 | |
*** lkarm has joined #senlin | 19:17 | |
*** jruano has quit IRC | 19:57 | |
*** jdandrea has quit IRC | 19:59 | |
*** jruano has joined #senlin | 20:37 | |
*** jdandrea has joined #senlin | 21:04 | |
*** jdandrea has quit IRC | 21:18 | |
*** jdandrea has joined #senlin | 21:19 | |
*** jdandrea has quit IRC | 21:24 | |
*** lkarm has quit IRC | 21:47 | |
*** jruano has quit IRC | 22:08 | |
*** lkarm has joined #senlin | 22:17 | |
*** lkarm has quit IRC | 22:21 | |
*** branw has quit IRC | 23:06 | |
*** jruano has joined #senlin | 23:09 | |
openstackgerrit | OpenStack Proposal Bot proposed stackforge/senlin-dashboard: Updated from global requirements https://review.openstack.org/217966 | 23:27 |
*** Qiming has joined #senlin | 23:38 | |
*** Qiming has quit IRC | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!