*** threetee has quit IRC | 00:13 | |
*** dixiaoli has joined #senlin | 00:35 | |
*** liyi has joined #senlin | 00:44 | |
*** dixiaoli has quit IRC | 00:54 | |
*** dixiaoli has joined #senlin | 01:04 | |
*** catintheroof has quit IRC | 01:14 | |
Qiming | threetee, you can develop a policy for this purpose. Most (if not all) cluster actions can be pre-processed and/or post-processed using a policy | 01:16 |
---|---|---|
Qiming | in 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 again | 01:18 |
Qiming | as of today, your policy will have to check if the operation was original or the defered one | 01:19 |
chenyb4 | Qiming, Is the senlin configuration topics=notifications currently supported? | 02:13 |
Qiming | yes | 02:13 |
Qiming | or, I should say, senlin supports notifications, not as a customizable option | 02:15 |
chenyb4 | Qiming, use ceilometer , i see event-type has exist "scheduler.run_instance scheduler.select_destinations.end" the message is senlin event message ? | 02:18 |
Qiming | no, those are nova events | 02:20 |
chenyb4 | How to configure senlin inform ceilometer receive? | 02:21 |
Qiming | it is ceilometer's job to collect, not senlin's job to notify | 02:22 |
Qiming | it really depends what you want | 02:22 |
Qiming | what is the REAL requirement | 02:22 |
Qiming | if 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 it | 02:23 |
Qiming | if you want some metrics to be collected and to be shown in ceilometer, we have to review the exact requirement | 02:23 |
chenyb4 | I want to senlin creates a cluster, or scaling, the outside can receive such notification information | 02:24 |
Qiming | that is already done | 02:26 |
openstackgerrit | Merged openstack/senlin master: remove todo item https://review.openstack.org/502389 | 02:26 |
chenyb4 | Qiming, What's topic name in senlin? I want to subscribe to it | 02:36 |
*** liyi has quit IRC | 02:36 | |
chenyb4 | Qiming, in nova or cinder project, configure notifications_topic=notifications | 02:37 |
Qiming | ask ruijie | 02:37 |
chenyb4 | Hi, ruijie . What's topic name in senlin? I want to subscribe to it. in nova or cinder project, use configure notifications_topic=notifications | 02:38 |
Qiming | senlin is doing versioned notifications | 02:40 |
Qiming | notifications is ... too old | 02:40 |
Qiming | so you will try "versioned_notifications" | 02:40 |
*** liyi has joined #senlin | 02:48 | |
chenyb4 | Qiming, ok, thanks | 02:52 |
ruijie | hi Qiming, chenyb4, sorry just saw the message | 02:57 |
ruijie | we are using the routing key : "versioned_notifications.*" to consume the notifications | 02:58 |
ruijie | the topic name are also "versioned_notifications.*" which are info, debug, warning, error | 02:58 |
chenyb4 | ruijie, How do I configure it? | 03:00 |
ruijie | actually there are 2 options. 1. declare you own queue to subscribe to the exchange by setting routing key as "versioned_notifications.*" | 03:01 |
ruijie | 2. consume the notifications from the queue directly | 03:01 |
ruijie | http://paste.openstack.org/ | 03:04 |
ruijie | http://paste.openstack.org/show/620895/ | 03:04 |
chenyb4 | ruijie, I want to know if senlin has to do any configuration, what is the queue that the message is sending to? | 03:05 |
ruijie | yes chenyb4, you need to add conf to senlin.conf, let me see | 03:06 |
ruijie | http://paste.openstack.org/show/620896/ | 03:07 |
chenyb4 | ruijie, nothing configure topic ? | 03:09 |
ruijie | no, I didn't find a place that can customize the queue name | 03:10 |
ruijie | http://git.openstack.org/cgit/openstack/senlin/tree/senlin/common/messaging.py#n97 | 03:13 |
chenyb4 | ruijie, ok,thanks | 03:14 |
ruijie | nope:) | 03:15 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/senlin master: Updated from global requirements https://review.openstack.org/502757 | 04:28 |
*** jmlowe has quit IRC | 05:45 | |
*** jmlowe has joined #senlin | 05:48 | |
*** liyi has quit IRC | 07:04 | |
*** dixiaoli has quit IRC | 08:47 | |
*** jmlowe has quit IRC | 10:51 | |
*** jmlowe has joined #senlin | 10:51 | |
*** chenyb4_ has joined #senlin | 12:09 | |
openstackgerrit | liyi proposed openstack/senlin master: Deprecate 'senlin cluster-create' in doc https://review.openstack.org/502971 | 12:34 |
*** catintheroof has joined #senlin | 12:48 | |
*** ruijie_ has joined #senlin | 12:57 | |
*** XueFengLiu has joined #senlin | 13:30 | |
openstackgerrit | Qiming Teng proposed openstack/senlin master: Attempt to fix os-testr based unit tests https://review.openstack.org/502996 | 13:35 |
*** chenyb4_ has quit IRC | 14:35 | |
openstackgerrit | Qiming Teng proposed openstack/senlin master: Attempt to fix os-testr based unit tests https://review.openstack.org/502996 | 14:39 |
*** chenyb4_ has joined #senlin | 14:47 | |
*** chenyb4_ has quit IRC | 15:00 | |
*** ruijie_ has quit IRC | 15:02 | |
*** zhurong has joined #senlin | 15:21 | |
*** zhurong has quit IRC | 16:06 | |
*** zhurong has joined #senlin | 16:18 | |
*** threetee has joined #senlin | 17:41 | |
*** zhurong has quit IRC | 17:42 | |
threetee | qiming: thanks for the answer on the lifecycle hooks - I'll test it out | 18:01 |
*** threetee has quit IRC | 18:22 | |
*** zhurong has joined #senlin | 19:52 | |
*** zhurong has quit IRC | 21:35 | |
*** catintheroof has quit IRC | 21:50 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/senlin master: Updated from global requirements https://review.openstack.org/502757 | 22:01 |
*** catintheroof has joined #senlin | 22:38 | |
*** andreykurilin has quit IRC | 23:48 | |
*** andreykurilin has joined #senlin | 23:48 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!