Tuesday, 2017-09-12

*** threetee has quit IRC00:13
*** dixiaoli has joined #senlin00:35
*** liyi has joined #senlin00:44
*** dixiaoli has quit IRC00:54
*** dixiaoli has joined #senlin01:04
*** catintheroof has quit IRC01:14
Qimingthreetee, you can develop a policy for this purpose. Most (if not all) cluster actions can be pre-processed and/or post-processed using a policy01:16
Qimingin your case, you can develop a policy that intercepts cluster scale-in operation and do whatever operations you want, then you can tell senlin to scale-in the cluster again01:18
Qimingas of today, your policy will have to check if the operation was original or the defered one01:19
chenyb4Qiming, Is the senlin configuration topics=notifications currently supported?02:13
Qimingyes02:13
Qimingor, I should say, senlin supports notifications, not as a customizable option02:15
chenyb4Qiming, use ceilometer , i see event-type has exist "scheduler.run_instance scheduler.select_destinations.end" the message is senlin event message ?02:18
Qimingno, those are nova events02:20
chenyb4How to configure senlin inform ceilometer receive?02:21
Qimingit is ceilometer's job to collect, not senlin's job to notify02:22
Qimingit really depends what you want02:22
Qimingwhat is the REAL requirement02:22
Qimingif you want to get event notifications, using ceilometer or panko, senlin is already sending versioned objects to message queue so that anyone can subscribe to it02:23
Qimingif you want some metrics to be collected and to be shown in ceilometer, we have to review the exact requirement02:23
chenyb4I want to  senlin creates a cluster, or scaling, the outside can receive such notification information02:24
Qimingthat is already done02:26
openstackgerritMerged openstack/senlin master: remove todo item  https://review.openstack.org/50238902:26
chenyb4Qiming, What's topic name in senlin? I want to subscribe to it02:36
*** liyi has quit IRC02:36
chenyb4Qiming, in nova or cinder project, configure notifications_topic=notifications02:37
Qimingask ruijie02:37
chenyb4Hi, ruijie . What's topic name in senlin? I want to subscribe to it. in nova or cinder project, use configure notifications_topic=notifications02:38
Qimingsenlin is doing versioned notifications02:40
Qimingnotifications is ... too old02:40
Qimingso you will try "versioned_notifications"02:40
*** liyi has joined #senlin02:48
chenyb4Qiming, ok, thanks02:52
ruijiehi Qiming, chenyb4, sorry just saw the message02:57
ruijiewe are using the routing key : "versioned_notifications.*" to consume the notifications02:58
ruijiethe topic name are also "versioned_notifications.*" which are info, debug, warning, error02:58
chenyb4ruijie, How do I configure it?03:00
ruijieactually there are 2 options. 1. declare you own queue to subscribe to the exchange by setting routing key as "versioned_notifications.*"03:01
ruijie2. consume the notifications from the queue directly03:01
ruijiehttp://paste.openstack.org/03:04
ruijiehttp://paste.openstack.org/show/620895/03:04
chenyb4ruijie, I want to know if senlin has to do any configuration, what is the queue that the message is sending to?03:05
ruijieyes chenyb4, you need to add conf to senlin.conf, let me see03:06
ruijiehttp://paste.openstack.org/show/620896/03:07
chenyb4ruijie, nothing configure topic ?03:09
ruijieno, I didn't find a place that can customize the queue name03:10
ruijiehttp://git.openstack.org/cgit/openstack/senlin/tree/senlin/common/messaging.py#n9703:13
chenyb4ruijie, ok,thanks03:14
ruijienope:)03:15
openstackgerritOpenStack Proposal Bot proposed openstack/senlin master: Updated from global requirements  https://review.openstack.org/50275704:28
*** jmlowe has quit IRC05:45
*** jmlowe has joined #senlin05:48
*** liyi has quit IRC07:04
*** dixiaoli has quit IRC08:47
*** jmlowe has quit IRC10:51
*** jmlowe has joined #senlin10:51
*** chenyb4_ has joined #senlin12:09
openstackgerritliyi proposed openstack/senlin master: Deprecate 'senlin cluster-create' in doc  https://review.openstack.org/50297112:34
*** catintheroof has joined #senlin12:48
*** ruijie_ has joined #senlin12:57
*** XueFengLiu has joined #senlin13:30
openstackgerritQiming Teng proposed openstack/senlin master: Attempt to fix os-testr based unit tests  https://review.openstack.org/50299613:35
*** chenyb4_ has quit IRC14:35
openstackgerritQiming Teng proposed openstack/senlin master: Attempt to fix os-testr based unit tests  https://review.openstack.org/50299614:39
*** chenyb4_ has joined #senlin14:47
*** chenyb4_ has quit IRC15:00
*** ruijie_ has quit IRC15:02
*** zhurong has joined #senlin15:21
*** zhurong has quit IRC16:06
*** zhurong has joined #senlin16:18
*** threetee has joined #senlin17:41
*** zhurong has quit IRC17:42
threeteeqiming: thanks for the answer on the lifecycle hooks - I'll test it out18:01
*** threetee has quit IRC18:22
*** zhurong has joined #senlin19:52
*** zhurong has quit IRC21:35
*** catintheroof has quit IRC21:50
openstackgerritOpenStack Proposal Bot proposed openstack/senlin master: Updated from global requirements  https://review.openstack.org/50275722:01
*** catintheroof has joined #senlin22:38
*** andreykurilin has quit IRC23:48
*** andreykurilin has joined #senlin23:48

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