No aggregator service running when the toolchain is deployed without controller

Bug #1574609 reported by Simon Pasquier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StackLight
Confirmed
Medium
guillaume thouvenin

Bug Description

In a so-called dedicated StackLight environment (where you deploy only the StackLight backends), there's no aggregator service because there's no controller. As a consequence, there's no GSE metric for the StackLight backends.

tags: added: dedicated-env
Revision history for this message
guillaume thouvenin (guillaume-thouvenin) wrote :

I proposed to fix this issue in two steps.

1) We quickly fix it without deploying the aggregator client. So this dedicated environment won't be monitored. It answers to the use case in which we want to deploy only backends and those backends will be used by other environments.

2) It is a better solution to also monitor the monitoring environment so in this step we will deploy the aggregator server. We will do this in a second step because it requires more work and currently the deployment in dedicated env is broken. So that's why I propose to fix it and then improve it.

Changed in lma-toolchain:
assignee: LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → guillaume thouvenin (guillaume-thouvenin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-lma-collector (master)

Fix proposed to branch: master
Review: https://review.openstack.org/312050

Changed in lma-toolchain:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-lma-collector (master)

Reviewed: https://review.openstack.org/312050
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-lma-collector/commit/?id=bdd104eb04233d98d8e0138a8c18fb602904a0d5
Submitter: Jenkins
Branch: master

commit bdd104eb04233d98d8e0138a8c18fb602904a0d5
Author: Guillaume Thouvenin <email address hidden>
Date: Tue May 3 15:02:22 2016 +0200

    Don't deploy aggregator on dedicated environment

    On a dedicated environment, without controllers, there are no
    servers to aggregate metrics. So this patch prevents the deployment
    of aggregator clients.

    Change-Id: Ib4d49a8f4d255b1a65c2e7f3b7f18a7b7e420108
    Partial-bug: #1574609

Changed in lma-toolchain:
status: In Progress → Confirmed
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

A few ideas on how to fix this:
- Hiera-ify the aggregator configuration so it can be decided upfront where the aggregator servers will be running, what is the aggregator VIP, etc.
- Decouple the aggregator" election from Pacemaker. Right now the information is hardcoded in the GSE filter (gse_cluster_filter.lua). Ideally there should be another filter that consumes the Pacemaker metric and spits out well-known messages that define whether or not the instance is the current aggregator.
- Decouple collectd from Pacemaker too.

Swann Croiset (swann-w)
Changed in lma-toolchain:
milestone: none → 0.10.1
milestone: 0.10.1 → 1.0.0
Changed in lma-toolchain:
milestone: 1.0.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.