Monday, 2016-12-26

*** yuanying_ has quit IRC00:36
openstackgerritzhangyanxian proposed openstack/senlin: Correct the key in test_action_base.py  https://review.openstack.org/41477401:12
openstackgerritzhangyanxian proposed openstack/senlin: Correct the key in test_action_base.py  https://review.openstack.org/41477401:12
openstackgerritMerged openstack/senlin-dashboard: Following up patch of ddf8b00fe49c571994955eff25c1e2d6e7255c06  https://review.openstack.org/41443301:39
*** XueFeng has quit IRC01:42
*** XueFeng has joined #senlin01:43
*** Jeffrey4l_ has quit IRC02:02
*** Jeffrey4l_ has joined #senlin02:03
openstackgerritXueFeng Liu proposed openstack/senlin: Use cluster_* to replace cluster_*2  https://review.openstack.org/41477902:03
openstackgerritXueFeng Liu proposed openstack/senlin: Use cluster_* to replace cluster_*2  https://review.openstack.org/41477902:04
fabian4Hello, I have a question, Do you 'senlin profile-update' only update profile name or metadata ?02:04
*** elynn has joined #senlin02:05
ruijieyes fabian402:12
ruijieonly update the name and metadata02:12
*** elynn has quit IRC02:12
fabian4ruijie, if i want to update instance flavor , How can i do ?02:13
ruijieyou can update the cluster with a new profile02:14
ruijiee.g. openstack cluster update --profile02:16
fabian4ruijie, update cluster profile,  Maybe effect a exist cluster node ?02:17
ruijiehi fabian4, in fact, if you update the profile of the cluster, all the nodes will be updated with the new profile02:20
ruijieif you only want to update a specified node you can do : openstack cluster node update --profile profile_id node_id02:20
*** XueFeng has quit IRC02:21
*** XueFeng has joined #senlin02:23
fabian4ruijie, i want to known ,if i use old profile create node, use node update --profile apply new profile , the old profile create instance will be update ?02:24
fabian4ruijie, when old profile update to new profile02:25
ruijieif you do node_update with new profile, that will not influence the old ones02:30
ruijieonly the node you specified will be updated02:30
*** guoshan has joined #senlin02:37
openstackgerritMerged openstack/senlin: Trivial: fix the parameter description error in _validate_policy  https://review.openstack.org/41392202:43
openstackgerritMerged openstack/senlin: Modify the description of profile validate  https://review.openstack.org/41395102:43
openstackgerritMerged openstack/senlin: Removes unnecessary utf-8 encoding  https://review.openstack.org/41386502:43
openstackgerritShan Guo proposed openstack/senlin: Add parameter in CLUSTER_DEL_NODES action  https://review.openstack.org/41272902:44
openstackgerritXueFeng Liu proposed openstack/senlin: Use cluster_* to replace cluster_*2  https://review.openstack.org/41477902:55
openstackgerritmiaohb proposed openstack/senlin: Replace get-revision2 with get-revision  https://review.openstack.org/41478902:58
fabian4 ruijie ok.03:01
openstackgerritQiming Teng proposed openstack/senlin: User/developer doc for event dispatchers  https://review.openstack.org/41446103:05
openstackgerritMerged openstack/senlin: NODE_OPERATION action support  https://review.openstack.org/41470303:06
openstackgerritMerged openstack/senlin: add missing param about alarm create  https://review.openstack.org/41471103:06
openstackgerritmiaohb proposed openstack/senlin: Replace credential_xyz2 with credential_xyz  https://review.openstack.org/41479403:09
openstackgerritQiming Teng proposed openstack/senlin: API support for profile_type_ops  https://review.openstack.org/41469303:09
*** Drago has joined #senlin03:13
openstackgerritMerged openstack/senlin: Improve error message for Json field validation  https://review.openstack.org/41473503:25
openstackgerritmiaohb proposed openstack/senlin: Replace receiver_xyz2 with receiver_xyz  https://review.openstack.org/41480003:28
openstackgerritMerged openstack/senlin-dashboard: Display selected panel name on browser title bar  https://review.openstack.org/41474103:33
openstackgerritMerged openstack/senlin-dashboard: Add update profile action for angular profile panel  https://review.openstack.org/39133203:33
openstackgerritXueFeng Liu proposed openstack/senlin: Use node_* to replace node_*2  https://review.openstack.org/41480203:39
openstackgerritmiaohb proposed openstack/senlin: Replace webhook_trigger2 with webhook_trigger  https://review.openstack.org/41480303:47
openstackgerritMerged openstack/senlin: Use action_* to replace action_*2  https://review.openstack.org/41476203:49
openstackgerritMerged openstack/senlin: Correct the key in test_action_base.py  https://review.openstack.org/41477403:49
*** Drago has quit IRC03:51
openstackgerritQiming Teng proposed openstack/senlin: API-REF documentation for profile-type-ops API  https://review.openstack.org/41472904:00
*** guoshan has quit IRC04:11
openstackgerritXueFeng Liu proposed openstack/senlin: Use request_context to replace request_context2  https://review.openstack.org/41476004:17
openstackgerritMerged openstack/senlin: Improve the coverage of node updated_at  https://review.openstack.org/41473604:24
openstackgerritMerged openstack/senlin: Engine support to NODE_OPERATION  https://review.openstack.org/41470404:37
*** guoshan has joined #senlin04:37
openstackgerritMerged openstack/senlin: Trivial: fix pep8 error in rally job plugin  https://review.openstack.org/41473304:39
*** Jeffrey4l_ has quit IRC04:43
openstackgerritXueFeng Liu proposed openstack/senlin: Use request_context to replace request_context2  https://review.openstack.org/41476004:44
*** guoshan has quit IRC04:47
openstackgerritXueFeng Liu proposed openstack/senlin: Use cluster_* to replace cluster_*2  https://review.openstack.org/41477904:47
openstackgerritMerged openstack/senlin: Replace get-revision2 with get-revision  https://review.openstack.org/41478904:56
openstackgerritMerged openstack/senlin: Add parameter in CLUSTER_DEL_NODES action  https://review.openstack.org/41272904:56
openstackgerritmiaohb proposed openstack/senlin: Replace profile_xyz2 with profile_xyz  https://review.openstack.org/41481704:58
openstackgerritmiaohb proposed openstack/senlin: Replace profile_type_xyz2 with profile_type_xyz  https://review.openstack.org/41481805:10
openstackgerritMerged openstack/senlin: API support for profile_type_ops  https://review.openstack.org/41469305:17
openstackgerritMerged openstack/senlin: User/developer doc for event dispatchers  https://review.openstack.org/41446105:18
openstackgerritQiming Teng proposed openstack/senlin: API layer support for node-operation  https://review.openstack.org/41482105:24
openstackgerritQiming Teng proposed openstack/senlin: API-REF documentation for profile-type-ops API  https://review.openstack.org/41472905:41
*** guoshan has joined #senlin05:48
openstackgerritXueFeng Liu proposed openstack/senlin: Use request_context to replace request_context2  https://review.openstack.org/41476005:50
*** guoshan has quit IRC05:52
openstackgerritQiming Teng proposed openstack/senlin: API layer support for node-operation  https://review.openstack.org/41482105:56
openstackgerritQiming Teng proposed openstack/senlin: Documentation for node-operation API  https://review.openstack.org/41482805:56
*** Jeffrey4l has joined #senlin05:57
openstackgerritXueFeng Liu proposed openstack/senlin: Use policy_* to replace policy_*2  https://review.openstack.org/41483106:03
*** guoshan has joined #senlin06:03
openstackgerritXueFeng Liu proposed openstack/senlin: Use policy_* to replace policy_*2  https://review.openstack.org/41483106:11
*** XueFeng has quit IRC06:30
*** yuanying has joined #senlin06:32
openstackgerritMerged openstack/senlin: Replace credential_xyz2 with credential_xyz  https://review.openstack.org/41479406:47
*** XueFeng has joined #senlin06:53
*** XueFeng has quit IRC06:53
*** XueFeng has joined #senlin06:53
fabian4Hi, I have a question, how do you use profile config BLOCK_DEVICE_MAPPING_V2 ?08:41
fabian4Qiming, I have a question, how do you use profile config BLOCK_DEVICE_MAPPING_V2 ? I do not find about doc08:56
openstackgerritShu Muto proposed openstack/senlin-dashboard: Address receiver panel to recent Horizon framework  https://review.openstack.org/41490008:56
openstackgerritShan Guo proposed openstack/senlin: Bumping the version of ClusterDelNodeRequest  https://review.openstack.org/41490108:57
Qimingfabian4, read this: http://developer.openstack.org/api-ref/compute/?expanded=create-server-detail09:00
fabian4Qiming, I known cinder can be create boot volume, nova can be able to boot from --block-device , I want to known when senlin create node, the instance can you boot from block-device09:06
Qimingyes09:16
Qimingit is the same09:16
fabian4Qiming, but i don't known how do you write spec with BLOCK_DEVICE_MAPPING_V209:20
Qimingcurrently, you can only create a single node with volume attached09:20
Qimingcreate them one by onoe09:20
Qimingit doesn't make sense to have more than one node sharing the same block device09:21
fabian4Qiming, I want senlin profile write example heat "block_device_mapping:09:26
fabian4 - device_name: vda09:26
fabian4 volume_id: { get_resource: volume } volume: image: { get_param: image_id }", but i don't known senlin profile support it09:26
Qimingvolume is not part of server09:27
Qimingwe don't support it09:27
Qimingif you want to build a cluster of servers, we can do it09:27
Qimingif you want to build a cluster of volumes, we can do it09:27
Qimingif you want something like a cluster of server+volumes, you will have to use os.heat.stack profile09:28
Qimingwe don't have that support yet09:28
Qimingbut things may change09:28
Qimingit is not happening any soon09:28
fabian4Qiming, build a cluster of volumes, the volumes must use cinder create it ?09:29
Qimingyes09:29
Qimingwe don't have hands working on that either09:30
Qimingit makes a lot senses to manage a pool of volumes09:30
fabian4Qiming, ok, thanks09:31
Qimingthe best workaround today is to use senlin to build a group of heat stacks09:32
Qimingin each heat stack, you create whatever combinations of different resource types09:32
*** guoshan has quit IRC10:54
*** XueFeng has quit IRC11:05
*** XueFeng has joined #senlin11:06
*** guoshan has joined #senlin11:55
*** guoshan has quit IRC12:00
*** catintheroof has joined #senlin12:43
openstackgerritQiming Teng proposed openstack/senlin: Request object for cluster-operation  https://review.openstack.org/41495012:54
openstackgerritQiming Teng proposed openstack/senlin: Action support to CLUSTER_OPERATION  https://review.openstack.org/41495112:54
openstackgerritQiming Teng proposed openstack/senlin: Engine support to cluster-operation call  https://review.openstack.org/41495412:55
openstackgerritQiming Teng proposed openstack/senlin: API layer support to cluster-operation API  https://review.openstack.org/41495512:55
*** guoshan has joined #senlin12:56
*** guoshan has quit IRC13:00
openstackgerritXueFeng Liu proposed openstack/senlin: Use request_context to replace request_context2  https://review.openstack.org/41476013:01
openstackgerritXinhui Li proposed openstack/senlin: Extend Senlin to support mistral workflow service  https://review.openstack.org/41497913:28
openstackgerritXinhui Li proposed openstack/senlin: Extend Senlin to support mistral workflow service  https://review.openstack.org/41497913:31
openstackgerritXinhui Li proposed openstack/senlin: Extend Senlin to support mistral workflow service  https://review.openstack.org/41497913:32
openstackgerritXinhui Li proposed openstack/senlin: Extend Senlin to support mistral workflow service  https://review.openstack.org/41497913:33
ruijiehi, Qiming, for the notification plugin13:38
ruijiehttp://docs.openstack.org/developer/senlin/developer/event_dispatcher.html13:38
ruijieI saw the config in senlin.conf should be  event_dispatchers = message?13:39
Qimingevent_dispatchers = database13:56
Qimingor event_dispatchers = message13:56
Qimingor both13:56
*** guoshan has joined #senlin13:57
ruijieyes Qiming. In the doc, it is dispatchers = ..13:57
Qimingoh, let me check13:58
ruijieAnd another thing is about the number of notifications.13:58
Qimingright, it should be event_dispatchers13:58
ruijiee.g. CLUSTER_SCALE_OUT,there will be start scale_out --> create_node_start --> create_node_end --> scale_out_end13:59
ruijieif we scale out with a large number of nodes, there will be large number of notifications...13:59
Qimingyes14:00
Qimingneed to add an option14:01
*** guoshan has quit IRC14:01
Qimingthe original intention was to skip derived actions14:03
Qimingthe logic is still not there14:03
QimingI'm struggling whether we should mask them for both dispatchers14:03
ruijieyes Qiming, we record it in out db14:04
ruijieand only emit what we want14:04
Qimingshould we skip derived actions when writing to db?14:07
ruijiecan we treat the event as the regular db objects, create it when the action being triggered, update it if the action failed or succeeded and then update/emit the event14:08
ruijiethen we do not need to create such many event objs14:08
Qimingwhat events have you saved?14:18
Qimingif you do a grep, you will find that the only event type you saved is about action start14:20
ruijiestatus == PARSE_START -> create or status == PARSE_ERROR/END -> update14:26
openstackgerritMerged openstack/senlin: Use request_context to replace request_context2  https://review.openstack.org/41476014:26
ruijieI mean maybe it's doable14:26
Qimingit is doable, but it is not targeting any usage scenarios14:29
Qimingthe reason we log events is for 1) debugging, 2) auditing, 3) profiling14:30
Qimingcurrently, we only log action start and action end14:30
Qimingone of the optimizations as I see doable is to make the logging of derived events configurable14:31
Qimingthese derived actions should remain transparent to users14:31
Qimingalthough, when debugging, we still want to check them14:31
openstackgerritXueFeng Liu proposed openstack/senlin: Use cluster_* to replace cluster_*2  https://review.openstack.org/41477914:33
ruijieyes Qiming, I agree, use both message and db might be better.14:33
Qimingdb is not a problem14:33
Qimingmessage is different14:33
Qimingif there is no consumer pulling events out of message queue14:34
Qimingthey will get accumulated14:34
ruijieIn fact, I am trying to use "event as message" to decouple our service and senlin :)14:35
Qimingyes, you can do that14:35
Qimingthat was one of the goals we provide event notifications14:36
Qimingit is an easy way for integration with other downstream software/service14:36
ruijieyes Qiming, this feature is great14:37
Qimingit is like the receivers (webhook, messsage), where senlin plays the downsteam component14:37
openstackgerritXueFeng Liu proposed openstack/senlin: Use node_* to replace node_*2  https://review.openstack.org/41480214:38
ruijieyes Qiming. Will still think about it.14:39
ruijieThanks Qiming, thanks for your time.14:39
openstackgerritXueFeng Liu proposed openstack/senlin: Use event_* to replace event_*2  https://review.openstack.org/41476114:41
*** guoshan has joined #senlin14:57
*** guoshan has quit IRC15:02
openstackgerritXueFeng Liu proposed openstack/senlin: Request object for cluster-operation  https://review.openstack.org/41495015:06
openstackgerritXueFeng Liu proposed openstack/senlin: Action support to CLUSTER_OPERATION  https://review.openstack.org/41495115:06
openstackgerritXueFeng Liu proposed openstack/senlin: Engine support to cluster-operation call  https://review.openstack.org/41495415:06
openstackgerritXueFeng Liu proposed openstack/senlin: API layer support to cluster-operation API  https://review.openstack.org/41495515:11
openstackgerritXueFeng Liu proposed openstack/senlin: Replace profile_xyz2 with profile_xyz  https://review.openstack.org/41481715:15
openstackgerritXueFeng Liu proposed openstack/senlin: Use policy_* to replace policy_*2  https://review.openstack.org/41483115:32
openstackgerritXueFeng Liu proposed openstack/senlin: Replace profile_type_xyz2 with profile_type_xyz  https://review.openstack.org/41481815:36
*** guoshan has joined #senlin15:58
openstackgerritXueFeng Liu proposed openstack/senlin: Replace profile_xyz2 with profile_xyz  https://review.openstack.org/41481716:03
*** guoshan has quit IRC16:03
openstackgerritXueFeng Liu proposed openstack/senlin: Replace receiver_xyz2 with receiver_xyz  https://review.openstack.org/41480016:08
openstackgerritXueFeng Liu proposed openstack/senlin: Replace webhook_trigger2 with webhook_trigger  https://review.openstack.org/41480316:10
openstackgerritXueFeng Liu proposed openstack/senlin: Use policy_* to replace policy_*2  https://review.openstack.org/41483116:25
openstackgerritXueFeng Liu proposed openstack/senlin: Replace profile_xyz2 with profile_xyz  https://review.openstack.org/41481716:44
*** guoshan has joined #senlin16:59
*** guoshan has quit IRC17:03
openstackgerritXueFeng Liu proposed openstack/senlin: Replace webhook_trigger2 with webhook_trigger  https://review.openstack.org/41480317:03
*** edisonxiang has quit IRC17:30
*** edisonxiang has joined #senlin17:30
*** guoshan has joined #senlin18:00
*** guoshan has quit IRC18:04
*** guoshan has joined #senlin19:00
*** guoshan has quit IRC19:05
*** edisonxiang has quit IRC19:21
*** edisonxiang has joined #senlin19:21
*** x00350071_ has joined #senlin19:25
*** edisonxiang has quit IRC19:28
*** x00350071_ has quit IRC19:31
*** x00350071_ has joined #senlin19:32
*** guoshan has joined #senlin20:01
*** guoshan has quit IRC20:06
*** guoshan has joined #senlin21:02
*** guoshan has quit IRC21:06
*** Jeffrey4l has quit IRC21:35
*** Jeffrey4l has joined #senlin21:47
*** guoshan has joined #senlin22:03
*** guoshan has quit IRC22:07
*** XueFeng has quit IRC22:21
*** XueFeng has joined #senlin22:21
*** XueFeng has quit IRC22:31
*** XueFeng has joined #senlin22:31
*** XueFeng has quit IRC22:39
*** XueFeng has joined #senlin22:39
*** XueFeng has quit IRC22:49
*** XueFeng has joined #senlin22:50
*** XueFeng has quit IRC22:51
*** XueFeng has joined #senlin22:51
*** guoshan has joined #senlin23:03
*** guoshan has quit IRC23:08

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