Thursday, 2015-08-27

*** Qiming has quit IRC00:28
openstackgerritxu-haiwei proposed stackforge/senlin: Fail webhook creation if url is not correctly created  https://review.openstack.org/21650801:02
*** zhenguo has joined #senlin01:05
*** Qiming has joined #senlin01:17
openstackgerritMerged stackforge/senlin: Ensure policy enforcement level is less equal than 100  https://review.openstack.org/21550101:38
openstackgerritMerged stackforge/senlin: Fail webhook creation if url is not correctly created  https://review.openstack.org/21650801:38
*** mathspanda has joined #senlin01:42
*** jdandrea has quit IRC01:43
*** lawrance_ has joined #senlin01:45
*** Yanyanhu has joined #senlin01:59
*** lawrance_ has quit IRC02:01
*** elynn has joined #senlin02:11
openstackgerritYanyan Hu proposed stackforge/senlin: Add functional test for listing policy_types  https://review.openstack.org/21362602:44
*** lawrance_ has joined #senlin02:59
QimingYanyanhu, seems the functional test needs a rebase03:01
Yanyanhuyes, I guess so03:01
Qimingfrom the error code 500 log, I saw an error that 'identity' is not an attribute03:01
Yanyanhuwill wait for the result of this patch to see whether it can pass https://review.openstack.org/21362603:02
Qimingyou didn't rebase it in you local env, so it might have passed before sent to gate03:02
Yanyanhuyes, just the patch work correctly in my local env03:02
Yanyanhuok, let me make a check03:03
Yanyanhuoh, BTW, Qiming, will try to add network support for os.nova.server profile today03:05
Yanyanhulooks like this work has not been completed yet03:06
Qimingokay03:18
QimingYanyanhu, http://logs.openstack.org/45/217045/3/experimental/gate-senlin-dsvm-functional/869e1c6/console.html03:19
Qiminghttp://logs.openstack.org/45/217045/3/experimental/gate-senlin-dsvm-functional/869e1c6/console.html#_2015-08-27_02_49_22_33003:19
Qimingself.identity = backend.identity\n\nAttributeError: 'module' object has no attribute 'identity'\n",03:19
Qimingit is a rebase problem03:19
Yanyanhuok, so we just don't need to handle it?03:20
Qimingor you forgot to add identity here: senlin/tests/functional/drivers/openstack/__init__.py03:21
Yanyanhuit is there in the patch. So I guess it is rebase problem03:22
Qimingin which patch?03:22
Yanyanhuthis one https://review.openstack.org/#/c/217045/3/senlin/drivers/openstack/__init__.py03:22
Yanyanhuthe keystone driver plugin patch03:23
Qimingidentity is not here: http://git.openstack.org/cgit/stackforge/senlin/tree/senlin/tests/functional/drivers/openstack/__init__.py03:23
Yanyanhuah03:23
Yanyanhuhow this happened...03:24
Qimingyou only added identity for real, not for functional test03:24
Yanyanhuoh03:24
Yanyanhufaint03:24
Yanyanhuwill fix it03:24
Yanyanhuthanks03:24
openstackgerritxu-haiwei proposed stackforge/senlin: Handle exception in neutron_v2 module  https://review.openstack.org/21505104:09
openstackgerritxu-haiwei proposed stackforge/senlin: Handle exception in neutron_v2 module  https://review.openstack.org/21505104:53
openstackgerritYanyan Hu proposed stackforge/senlin: Add keystone driver plugin for functional test  https://review.openstack.org/21751905:15
*** openstackgerrit has quit IRC05:16
*** openstackgerrit has joined #senlin05:17
openstackgerritYanyan Hu proposed stackforge/senlin: Add functional test for listing policy_types  https://review.openstack.org/21362605:18
openstackgerritMerged stackforge/senlin: Updated from global requirements  https://review.openstack.org/21750805:21
Qiminghi, I'm merging trigger api for testing now05:29
Qimingcannot wait05:29
Yanyanhusure05:29
*** mathspanda has quit IRC05:33
*** xuhaiwei_ has joined #senlin05:34
*** xuhaiwei has quit IRC05:34
openstackgerritMerged stackforge/senlin: API layer support for triggers  https://review.openstack.org/21655605:34
*** mathspanda has joined #senlin05:39
openstackgerritQiming Teng proposed stackforge/senlin: Fix errors in sample trigger spec and db model  https://review.openstack.org/21752605:51
xuhaiwei_Qiming, does senlinclient/common/utils.py need to be tested?05:52
Qimingxuhaiwei_, ideally, all code should be tested05:52
Qimingwell, those util functions are difficult to write test case05:53
xuhaiwei_got it05:53
Qimingmaybe we should start from testing the critical components05:55
xuhaiwei_yes, but most the modules are assigned to someone05:56
xuhaiwei_can I reassign it?05:56
Qimingsure05:56
Qimingomg, I wasn't monitoring the senlinclient bug report ... :(05:57
Qimingit would be better to comment on a bug you want to take over05:58
Qimingsee if the current owner is still working on it05:58
xuhaiwei_Julio Ruano has reported some bugs05:59
Qimingyep05:59
xuhaiwei_he said he assigned to his students, but not sure whether they have started05:59
Qimingright, seems ten days have passed05:59
xuhaiwei_I assigned v1/models.py to myself06:01
*** mathspanda has quit IRC06:23
openstackgerritYanyan Hu proposed stackforge/senlin: Add network support for os.nova.server profile  https://review.openstack.org/21754606:46
*** LiuWei has joined #senlin06:57
openstackgerritQiming Teng proposed stackforge/senlin: Enable triggers for stevedore  https://review.openstack.org/21755007:01
openstackgerritQiming Teng proposed stackforge/senlin: Fix ceilometer alarm time constraints  https://review.openstack.org/21755207:02
openstackgerritQiming Teng proposed stackforge/senlin: Fix policy json file for project checking  https://review.openstack.org/21755307:02
Qiming$ senlin trigger-list07:07
QimingWARNING: Both project/tenant name and project/tenant ID are specified, Senin will use project ID for authentication07: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
Yanyanhucool07:07
Yanyanhuit works07:07
Qimingsenlin trigger-show 3f41100207:08
QimingWARNING: Both project/tenant name and project/tenant ID are specified, Senin will use project ID for authentication07: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
openstackgerritQiming Teng proposed stackforge/python-senlinclient: Initial support to triggers  https://review.openstack.org/21755607:12
xuhaiwei_great07:20
openstackgerritQiming Teng proposed stackforge/senlin: Enable triggers for stevedore  https://review.openstack.org/21755007:27
openstackgerritQiming Teng proposed stackforge/python-senlinclient: Initial support to triggers  https://review.openstack.org/21755607:47
xuhaiwei_Qiming07:52
xuhaiwei_about the placement policy, have a question about it07:52
openstackgerritQiming Teng proposed stackforge/senlin: Remove a TODO item  https://review.openstack.org/21757107:53
Qimingyes?07:53
xuhaiwei_senlin can do autoscaling from zone1 to zone2, what does this 'zone' mean? availability_zone?07:53
Qimingyes07:53
Qimingaz07:54
xuhaiwei_is there any plan to do autoscaling from cloud to cloud?07:54
Qimingthat is called multi-region or multi-cloud07:55
xuhaiwei_https://blueprints.launchpad.net/senlin/+spec/scope-scaling-across-datacenter07:55
Qimingwe have context field in the CONTEXT property of a profile07:55
xuhaiwei_this bp is about multi-cloud?07:55
Qimingwith that CONTEXT field, in theory, we can easily do cross-cloud scaling, using different auth_url properties, for example07:56
xuhaiwei_got it07:57
Qiminganother scenario is a hybrid-cloud setting07:57
Qimingwe can tackle that with a more general profile-type, say 'cloud.compute'07:57
Qimingand have the profile talk to different kinds of clouds (aws, sl, ... whatever)07:58
Qimingthe precondition would be some drivers to talk to those clouds for resource operations, just like what we have done for OpenStack today07:58
openstackgerritYanyan Hu proposed stackforge/senlin: Add network support for os.nova.server profile  https://review.openstack.org/21754607:59
QimingYanyan has just completed a great step of this -- making cloud_backend an option to be configured07:59
Qimingnot that this is just a design at the moment, it won't be difficult to achieve it as we believe08:00
Qimings/not/note08:00
xuhaiwei_ok08:00
Qimingwe haven't seriously tested cross-az, cross-region, cross-clouds things08:00
Qimingseveral months ago, someone from IBM has tried to make cross-region work using senlin, I believe he succeeded ...08:01
Qimingthen he disappeared, :)08:01
openstackgerritYanyan Hu proposed stackforge/senlin: Add network support for os.nova.server profile  https://review.openstack.org/21754608:02
xuhaiwei_I is disappointed?08:03
xuhaiwei_he is disappointed?08:03
Qiminghe was satisfactory08:10
Qiminghe left because the job assigned to him was done08:11
xuhaiwei_sounds cool, will take some jobs of that mission if there is any08:16
Qimingxuhaiwei_, I think our top priority today is to remove 'TODO' items from the existing code08:30
Qimingmake the service stable and do a release08:30
Qimingthen we add new features later08:30
xuhaiwei_agree08:30
xuhaiwei_Just got this question from my manager08:32
openstackgerritYanyan Hu proposed stackforge/senlin: Add network support for os.nova.server profile  https://review.openstack.org/21754608:32
openstackgerritMerged stackforge/senlin: Remove a TODO item  https://review.openstack.org/21757108:39
openstackgerritYanyan Hu proposed stackforge/senlin: Add network support for os.nova.server profile  https://review.openstack.org/21754608:47
*** Yanyanhu has quit IRC09:15
openstackgerritQiming Teng proposed stackforge/senlin: Refactor action constructor  https://review.openstack.org/21759309:25
*** lawrance_ has quit IRC09:28
openstackgerritMerged stackforge/senlin: Add keystone driver plugin for functional test  https://review.openstack.org/21751909:50
openstackgerritMerged stackforge/senlin: Add functional test for listing policy_types  https://review.openstack.org/21362609:50
*** Qiming has quit IRC10:01
*** LiuWei has quit IRC10:09
*** zhenguo has quit IRC10:10
*** lawrance_ has joined #senlin10:30
*** elynn has quit IRC10:40
*** elynn has joined #senlin10:55
*** Qiming has joined #senlin11:00
*** elynn has quit IRC11:24
*** lkarm has joined #senlin12:10
*** openstackgerrit has quit IRC12:31
*** openstackgerrit has joined #senlin12:32
openstackgerritQiming Teng proposed stackforge/senlin: Tweak runtime data of clusters  https://review.openstack.org/21769112:48
*** zhenguo has joined #senlin13:25
*** jdandrea has joined #senlin13:26
openstackgerritZhenguo Niu proposed stackforge/senlin-dashboard: Wrap senlin client object  https://review.openstack.org/21729113:30
openstackgerritQiming Teng proposed stackforge/senlin: Forbid deletion of actions in use  https://review.openstack.org/21772013:50
zhenguoQiming: there?14:03
Qiminghi14:30
zhenguoQiming: hi, want to discuss your comments on the wrap senlin client patch:https://review.openstack.org/#/c/217291/2/senlin_dashboard/api/senlin.py14:38
Qimingyes14:39
zhenguoyou mentioned username, but I don't pass the arg14:39
Qimingyes14:40
zhenguoQiming: there are only auth_url, token, and project_id14:40
Qimingthere are two ways to pass in user identity, either username, or user_id14:40
zhenguoif use token authentication, username is not needed.14:41
QimingI don't think token id itself can be used for authentication14:41
Qiminglet me check14:41
zhenguook14:41
zhenguosenlin --os-auth-url http://172.28.1.133:5000/v2.0 --os-token aeed9ba654f74bddbd0075290d68fdc5 --os-tenant-name admin cluster-list14:42
zhenguobut in V3, we need to specify the project-domain-id or name, because is may not unique14:44
Qimingproject_id is enough14:44
zhenguoyou checked?14:44
Qimingif you are passing project_name, you will need either project_domain_id or project_domain_name14:45
Qimingyes this was the protocol14:45
Qimingabout token based authentication, you are right14:45
Qimingwe don't need to provide user identity14:45
zhenguoso pass auth_url, token, and project_id is enough14:46
Qiminge.g. to refresh a token: http://git.openstack.org/cgit/openstack/keystone/tree/doc/source/api_curl_examples.rst#n19214:46
Qimingokay, I'm removing my -114:46
zhenguothanks :)14:46
zhenguoQiming: I would like to add a cluster table by today, then you can try the senlin dashboard.14:47
Qimingnp14:47
Qimingoh really?!14:48
zhenguoyeah,14:48
* Qiming dancing14:49
openstackgerritMerged stackforge/senlin: Refactor action constructor  https://review.openstack.org/21759314:50
lawrance_cool, zhengguo15:05
openstackgerritMerged stackforge/senlin-dashboard: Wrap senlin client object  https://review.openstack.org/21729115:10
*** Qiming has quit IRC15:31
openstackgerritlawrancejing proposed stackforge/senlin-dashboard: Add python-senlinclient in requirements.txt  https://review.openstack.org/21776715:34
zhenguolawrance_: s/zhenguo/zhengguo :P, just can't get notification as the misspelling15:38
lawrance_sorry :(  zhengguo15:38
zhenguos/zhengguo/zhenguo, my mistake.15:41
zhenguo:)15:41
lawrance_:(15:41
lawrance_zhenguo15:41
zhenguolawrance_: heh15:41
lawrance_are you working for the cluster table,15:41
lawrance_haha15:42
zhenguoyes15:42
*** jruano has joined #senlin15: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 cluster15:46
zhenguolawrance: yes please, first should create a profile before creating cluster.15:47
lawrance_yep15: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
zhenguolawrance_: currently there's no any release of python-senlincleint16:23
zhenguoso cant just add python-senlinclient to test-requirement16:23
lawrance_yep16: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 zzzzz16:29
zhenguolawrance_: wait for a minite16:29
lawrance_OK16:29
lawrance_smoke for a while:)16:30
zhenguolawrance_:  https://usercontent.irccloud-cdn.com/file/FdDfj7nb/Screen%20Shot%202015-08-28%20at%2012.28.53%20AM.png16:30
zhenguolawrance_: you always smoke a lot16:30
lawrance_cool16:30
lawrance_so you have finished it ?16:31
zhenguolawrance_: heh, will upload the patch.16:31
lawrance_ok16:32
openstackgerritZhenguo Niu proposed stackforge/senlin-dashboard: Add clusters table  https://review.openstack.org/21779316:39
zhenguolawrance_: it's too late...16:40
zhenguolawrance_: heading bed,  happy Friday!16:41
*** zhenguo has quit IRC16:41
lawrance_8816:41
*** lawrance_ has quit IRC17:02
*** lkarm has quit IRC17:40
*** lkarm has joined #senlin18:41
*** lkarm has quit IRC18:46
*** jruano has quit IRC18:54
*** jruano has joined #senlin19:00
*** lkarm has joined #senlin19:17
*** jruano has quit IRC19:57
*** jdandrea has quit IRC19:59
*** jruano has joined #senlin20:37
*** jdandrea has joined #senlin21:04
*** jdandrea has quit IRC21:18
*** jdandrea has joined #senlin21:19
*** jdandrea has quit IRC21:24
*** lkarm has quit IRC21:47
*** jruano has quit IRC22:08
*** lkarm has joined #senlin22:17
*** lkarm has quit IRC22:21
*** branw has quit IRC23:06
*** jruano has joined #senlin23:09
openstackgerritOpenStack Proposal Bot proposed stackforge/senlin-dashboard: Updated from global requirements  https://review.openstack.org/21796623:27
*** Qiming has joined #senlin23:38
*** Qiming has quit IRC23:57

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