Friday, 2016-12-23

*** catintheroof has joined #senlin00:05
*** XueFeng has quit IRC00:38
*** XueFeng has joined #senlin00:50
*** XueFeng has quit IRC00:56
*** XueFeng has joined #senlin00:56
*** Drago1 has quit IRC00:57
*** XueFeng has quit IRC01:30
*** XueFeng has joined #senlin01:31
*** guoshan has joined #senlin01:32
*** XueFeng has quit IRC01:35
*** XueFeng has joined #senlin01:37
*** catintheroof has quit IRC01:40
openstackgerritMerged openstack/senlin: Add http_proxy_to_wsgi to api-paste  https://review.openstack.org/38448201:42
*** chohoor has joined #senlin01:43
openstackgerritMerged openstack/senlin: Reorg the documentation structure  https://review.openstack.org/41340901:55
*** elynn has joined #senlin01:56
*** yanyanhu has joined #senlin01:59
openstackgerritMerged openstack/senlin: rework profile-get2/list2  https://review.openstack.org/41272502:09
openstackgerritMerged openstack/senlin: revise action api  https://review.openstack.org/41233102:17
*** XueFeng has quit IRC02:21
*** XueFeng has joined #senlin02:23
*** XueFeng has quit IRC02:46
*** XueFeng has joined #senlin02:46
openstackgerritHongbin Li proposed openstack/senlin: fix typo in doc  https://review.openstack.org/41390502:47
openstackgerritTony Breeds proposed openstack/python-senlinclient: Revert "Fix `openstack  cluster profile validate` bug"  https://review.openstack.org/41438803:01
openstackgerritTony Breeds proposed openstack/python-senlinclient: Add Constraints support  https://review.openstack.org/41334503:02
yanyanhuhi, Qiming03:10
yanyanhutony just proposed the patch to revert the change which breaks the senlinclient test job03:11
yanyanhuhttps://review.openstack.org/#/c/414388/03:11
yanyanhubefore sdk's upper constraint is updated, maybe we should merge it as workaround?03:12
Qimingwhat?03:13
Qimingwhich revert?03:13
Qiminghis patch is working now03:14
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/41430303:20
openstackgerritMerged openstack/python-senlinclient: Revert "Fix `openstack  cluster profile validate` bug"  https://review.openstack.org/41438803:25
openstackgerritMerged openstack/senlin: revise node api (1)  https://review.openstack.org/41235903:42
*** elynn has quit IRC03:52
openstackgerritMerged openstack/senlin: revise node api (2)  https://review.openstack.org/41238503:57
openstackgerritMerged openstack/senlin: use policy_obj to load policy objects  https://review.openstack.org/41344704:12
openstackgerritOpenStack Proposal Bot proposed openstack/senlin: Updated from global requirements  https://review.openstack.org/41430304:17
*** guoshan has quit IRC04:25
openstackgerritMerged openstack/senlin: use action_obj to load action objects  https://review.openstack.org/41347604:44
openstackgerritMerged openstack/senlin: Support to more nova server operations  https://review.openstack.org/41237004:44
openstackgerritMerged openstack/senlin: revise profile api  https://review.openstack.org/41226604:45
*** Drago1 has joined #senlin05:09
*** guoshan has joined #senlin05:26
*** Drago1 has quit IRC05:30
*** guoshan has quit IRC05:31
*** elynn has joined #senlin05:40
*** guoshan has joined #senlin06:06
openstackgerritMerged openstack/python-senlinclient: Add Constraints support  https://review.openstack.org/41334506:11
openstackgerritMerged openstack/senlin: Updated from global requirements  https://review.openstack.org/41430306:17
openstackgerritZhenguo Niu proposed openstack/senlin-dashboard: Following up patch of ddf8b00fe49c571994955eff25c1e2d6e7255c06  https://review.openstack.org/41443306:24
openstackgerritQiming Teng proposed openstack/senlin: Disable message notification by default  https://review.openstack.org/41443406:29
openstackgerritmiaohb proposed openstack/senlin: Remove deadcode about get_revision  https://review.openstack.org/41444306:53
openstackgerritMerged openstack/senlin: Versioned object and engine support for credential_get  https://review.openstack.org/41342706:56
openstackgerritmiaohb proposed openstack/senlin: Trivial: fix the error description in receiver_get2  https://review.openstack.org/41445107:08
openstackgerritMerged openstack/senlin: API support for credential_get2  https://review.openstack.org/41345707:09
openstackgerritMerged openstack/senlin: Remove dead code about credential_get  https://review.openstack.org/41346307:09
openstackgerritMerged openstack/senlin: fix typo in doc  https://review.openstack.org/41390507:09
openstackgerritMerged openstack/senlin: Make soft link _50_senlin.py from enabled folder  https://review.openstack.org/41352307:09
openstackgerritmiaohb proposed openstack/senlin: Trivial: fix the error description in receiver_list2  https://review.openstack.org/41445307:13
openstackgerritmiaohb proposed openstack/senlin: Versioned request and engine support for credential_update  https://review.openstack.org/41305007:29
openstackgerritQiming Teng proposed openstack/senlin: Disable message notification by default  https://review.openstack.org/41443407:32
openstackgerritQiming Teng proposed openstack/senlin: User/developer doc for event dispatchers  https://review.openstack.org/41446107:32
openstackgerritmiaohb proposed openstack/senlin: Versioned request and engine support for credential_update  https://review.openstack.org/41305007:35
*** dinghh1 has joined #senlin07:40
*** dinghh has quit IRC07:42
openstackgerritMerged openstack/senlin: Fix typo in examples  https://review.openstack.org/41269908:11
openstackgerritMerged openstack/senlin: Trivial:  Arrange the imported objects in alphabetical order  https://review.openstack.org/41284308:57
openstackgerritMerged openstack/senlin: use receiver_obj to load receiver objects  https://review.openstack.org/41349608:57
Qimingjust tried swagger for api definitions ...09:10
Qiminginterestingly, if we model the action urls with parameters, it can work09:10
Qimingfor example: /v1/clusters/actions?action=add_nodes and /v1/clusters/actions?action=del_nodes can be treated correctly as different endpoints09:11
*** XueFeng has quit IRC09:12
openstackgerritQiming Teng proposed openstack/python-senlinclient: Revert "Revert "Get project_id and user_id when show profile""  https://review.openstack.org/41450109:13
Qiming^ is a revert to a revert :D09:13
Qiminglet's see if gerrit can handle it correctly09:13
*** XueFeng has joined #senlin09:13
ruijieQiming, I didn't get the point :(09:15
Qimingthe patch?09:15
ruijiethe API09:16
Qimingokay, I was playing with swagger, aka Open-API09:16
Qimingrumors said it is powerful and brilliant09:16
ruijiethe API-gateway?09:16
Qimingyou will write your API definitionsl in YAML or JSON, for once09:17
Qimingthen you can generate docs, client, server implementation automatically in different lanaguages09:17
Qimingseveral months ago, the OpenStack community considered migrating from WSDL to swagger, but that didn't lead to anything09:18
Qimingone obstacle is that swagger requires each URL represent a unique resource09:18
Qiminga URL plus a verb (POST, GET, DELETE, etc) defines a single operation09:19
Qiminghowever, in Nova, /servers/<server_id>/actions have been overloaded by many operations, such reboot, restart, pause, resume09:19
Qimingit cannot be modeled using swagger (open-api)09:19
ruijielike /v1/clusters/action/add_nodes09:19
Qimingone proposal is to do POST /v1/clusters/<ID>/actions/add_nodes for add nodes09:20
Qiminghowever, 'add_nodes' is not a resource for you to do a POST09:20
Qimingit is against ReSt definition09:20
ruijiethanks Qiming, that makes sense :)09:22
openstackgerritQiming Teng proposed openstack/python-senlinclient: Revert "Revert "Fix `openstack  cluster profile validate` bug""  https://review.openstack.org/41450609:22
Qimingpost something to a verb is not ideal09:23
Qimingbut ... with swagger, we don't have a choice09:23
Qimingso an alternative is to do this: POST /v1/clusters/<ID>/actions?action=attach_policy09:23
Qimingsince the path is now unique to swagger, swagger is happy with it09:24
ruijieis that a compulsive requirement that all projects should use swagger ?09:24
openstackgerritMerged openstack/senlin: Add get-revision requests in object and service  https://review.openstack.org/41341209:24
Qimingand we are avoiding posting to a verb09:24
openstackgerritMerged openstack/senlin: Api support for get-revision2  https://review.openstack.org/41346009:24
Qimingno09:24
Qimingjust experimentations09:24
Qimingwe have already migrated from WSDL to os-api-ref lib09:24
QimingAPIs are documented in RST today09:25
Qimingwon't change it in forseeable future09:25
Qimingem, the revert to revert was a success, :D09:25
*** XueFeng has quit IRC09:26
*** XueFeng has joined #senlin09:27
ruijiegreat, reworking ALL api would be heavy work ...09:28
openstackgerritmiaohb proposed openstack/senlin: Remove deadcode about get_revision  https://review.openstack.org/41444309:31
Qimingruijie, yes, no need to do that09:32
openstackgerritQiming Teng proposed openstack/senlin: Add request object for node operations  https://review.openstack.org/41451309:32
Qimingunless we are reimplementing the api layer completely09:33
openstackgerritmiaohb proposed openstack/senlin: Remove deadcode about request_context  https://review.openstack.org/41451609:39
openstackgerritQiming Teng proposed openstack/senlin: Add ProfileTypeOpListRequest  https://review.openstack.org/41452009:45
*** elynn has quit IRC09:47
*** XueFeng has quit IRC09:50
*** XueFeng has joined #senlin09:51
*** guoshan has quit IRC10:07
openstackgerritQiming Teng proposed openstack/senlin: Add profile_type_ops RPC call  https://review.openstack.org/41453510:12
*** dinghh1 has left #senlin10:12
*** yanyanhu has quit IRC10:48
*** chohoor has quit IRC10:51
openstackgerritMerged openstack/senlin: Versioned request and engine support for credential_update  https://review.openstack.org/41305011:43
openstackgerritMerged openstack/senlin: Trivial: fix the error description in receiver_get2  https://review.openstack.org/41445112:08
openstackgerritMerged openstack/senlin: Trivial: fix the error description in receiver_list2  https://review.openstack.org/41445312:08
openstackgerritXueFeng Liu proposed openstack/python-senlinclient: Fix `openstack  cluster policy show` bug  https://review.openstack.org/41112213:10
openstackgerritXueFeng Liu proposed openstack/python-senlinclient: Fix `openstack  cluster policy vaildate` bug  https://review.openstack.org/41113513:11
openstackgerritXueFeng Liu proposed openstack/python-senlinclient: Fix `openstack  cluster policy vaildate` bug  https://review.openstack.org/41113513:26
openstackgerritXueFeng Liu proposed openstack/python-senlinclient: Fix `openstack  cluster policy show` bug  https://review.openstack.org/41112213:27
openstackgerritMerged openstack/python-senlinclient: Revert "Revert "Fix `openstack  cluster profile validate` bug""  https://review.openstack.org/41450613:59
*** Qiming has quit IRC18:53
*** Drago has joined #senlin20:22
*** edisonxiang has quit IRC20:59
*** edisonxiang has joined #senlin21:00
*** Jeffrey4l has quit IRC21:35
*** Jeffrey4l has joined #senlin21:48

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