Failed to deploy the LMA collector with remote backends

Bug #1573087 reported by Simon Pasquier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StackLight
Fix Released
High
Simon Pasquier

Bug Description

Environmnet:

MOS 9 with LMA master.

Steps to reproduce:

1. Create an environment with 1 controller (node-1) & 1 compute (node-2)
3. install the LMA collector plugin.
4. Enable and configure the plugin to use remote Elasticsearch and InfluxDB (use fake addresses).
6. Deploy the environment and wait for completion.

Expected result:

The environment is ready.

Actual result:

The deployment fails with an error:

Tasks 'elasticsearch-kibana-configuration, influxdb-configuration' can't be in requires|required_for|groups|tasks for [lma-backends] because they don't exist in the graph

Workaround:

Install and enable the ES and InfluxDB plugins in the environment without assigning any role.

Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

According to a previous discussion [1] with the Fuel team, this shouldn't happen so the bug may be reassigned to Fuel.

[1] http://lists.openstack.org/pipermail/openstack-dev/2016-January/085351.html

description: updated
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/314138

Changed in lma-toolchain:
assignee: LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → Simon Pasquier (simon-pasquier)
status: Confirmed → In Progress
Changed in lma-toolchain:
milestone: none → 0.10.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-elasticsearch-kibana (master)

Reviewed: https://review.openstack.org/309469
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-elasticsearch-kibana/commit/?id=220046aa127af0e69e7611faa5d42e62ba120267
Submitter: Jenkins
Branch: master

commit 220046aa127af0e69e7611faa5d42e62ba120267
Author: Simon Pasquier <email address hidden>
Date: Fri Apr 22 16:15:20 2016 +0200

    Fix tasks dependency when using remote backends

    Previously the LMA collector had an explicit dependency on the last
    Elasticsearch task but this doesn't work when the Elasticsearch/Kibana
    plugin isn't deployed in the same environment as the collector plugin.

    This change makes sure that the LMA collector plugin's tasks will only
    be executed once the Elasticsearch cluster is fully functional by
    pinning both plugins to a well-known task (update_hosts in that case).

    Partial-Bug: #1573087
    Change-Id: I5bbc444eb51da4787b5be5cbe3aa0284ce6e1753

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-influxdb-grafana (master)

Reviewed: https://review.openstack.org/309428
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-influxdb-grafana/commit/?id=9bf2b3e35af76115eae53beac52b320164247f86
Submitter: Jenkins
Branch: master

commit 9bf2b3e35af76115eae53beac52b320164247f86
Author: Simon Pasquier <email address hidden>
Date: Fri Apr 22 16:13:29 2016 +0200

    Fix tasks dependency when using remote backends

    Previously the LMA collector had an explicit dependency on the last
    InfluxDB task but this doesn't work when the InfluxDB/Grafana
    plugin isn't deployed in the same environment as the collector plugin.

    This change makes sure that the LMA collector plugin's tasks will
    only be executed once the InfluxDB cluster is fully functional by
    pinning both plugins to a well-known task (update_hosts in that case).

    Partial-Bug: #1573087
    Closes-Bug: #1578194
    Change-Id: I830f024e0d1629ae10a8a504c4acbddf23d5c47e

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

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

commit d1694ba4e7678e8f62933a5d2ed8ee04633d9a0b
Author: Simon Pasquier <email address hidden>
Date: Mon May 9 16:42:51 2016 +0200

    Fix tasks dependency when using remote backends

    Previously the LMA collector had an explicit dependency on the last
    Elasticsearch and InfluxDB tasks but this doesn't work when the
    Elasticsearch/Kibana and InfluxDB-Grafana plugins aren't deployed in the same
    environment as the collector plugin.

    This change makes sure that the LMA collector plugin's tasks will only be
    executed once the backends are fully functional by pinning all plugins to a
    well-known task (update_hosts in that case).

    Change-Id: I87a9067c5ace7acf3d676c7ad72d0b6632bf1869
    Closes-Bug: #1573087
    Depends-On: I830f024e0d1629ae10a8a504c4acbddf23d5c47e
    Depends-On: I5bbc444eb51da4787b5be5cbe3aa0284ce6e1753

Changed in lma-toolchain:
status: Fix Committed → Fix Released
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.