Fail to deploy the LMA toolchain in an environment with virt nodes

Bug #1570386 reported by Simon Pasquier
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Fuel Python (Deprecated)
StackLight
Fix Released
Medium
Swann Croiset

Bug Description

Steps to reproduce
------------------

- install the LMA plugins on the Fuel node
- Follow the instructions [1] to deploy an environment with virt nodes and enable the LMA plugins with their default configuration (eg Elasticsearch, InfluxDB and Nagios deployed locally).

[1] https://docs.mirantis.com/openstack/fuel/fuel-8.0/operations.html#using-the-reduced-footprint-feature

Actual result
-------------

The deployment fails because there's no node with the Elasticsearch/Kibana role.

Expected result
---------------

The deployment should be successful.

Workaround
----------

- Enable only the LMA collector plugin in the first environment and configure it to send data to remote servers using fake names (eg elasticsearch-node, influxdb-node, alerting-node).
- Deploy the first environment with only the virt node(s).
- Provision the virtual machines as usual.
- Create a second environment using the virtual machines and enable all the LMA plugins.
- Once the second environment is deployed, edit /etc/hosts on the virt node(s) and add the proper IP addresses for elasticsearch-node, influxdb-node and alerting-node
- Restart the collectors on the virt node(s).

description: updated
Revision history for this message
Marcin Iwinski (iwi) wrote :

The deployment failed during VM provisioning because the plugins were also executed in post-deployment during VM creation.

tags: added: customer-found
Dmitry Klenov (dklenov)
tags: added: area-python
Changed in fuel:
milestone: none → 9.0
assignee: nobody → Fuel Python Team (fuel-python)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Please explain how does it relate to Fuel engine.

Changed in fuel:
status: Confirmed → Incomplete
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

I'm not sure why Dmitry K. added Fuel project. For now it's only an issue related to the StackLight plugins I've marked the bug as invalid for Fuel.

Changed in fuel:
status: Incomplete → Invalid
Swann Croiset (swann-w)
Changed in lma-toolchain:
milestone: none → 0.10.0
Changed in lma-toolchain:
importance: Undecided → Medium
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/318190

Changed in lma-toolchain:
assignee: LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → Swann Croiset (swann-w)
status: Confirmed → In Progress
summary: - Failt to deploy the LMA toolchain in an environment with virt nodes
+ Fail to deploy the LMA toolchain in an environment with virt nodes
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-lma-collector (master)

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

commit debe1883d702b528cdf618d65b31f97a0f59556f
Author: Swann Croiset <email address hidden>
Date: Wed May 18 17:31:07 2016 +0200

    Allow deployment without InfluxDB and Elasticsearch

    This allows to support several deployment scenarii where backends are not
    deployed initialy, for instance when using the 'virt' nodes to deploy
    LMA backends.

    The patch factorizes manifests by moving all the configuration data of
    InfluxDB and Elasticsearch into hiera.

    DocImpact

    Fixes-bug: #1570386
    Change-Id: I8688bbd10d88bc8ef68b5d31e9edd62a764dc23d

Changed in lma-toolchain:
status: In Progress → Fix Committed
Revision history for this message
Ksenia Svechnikova (kdemina) wrote :

There is a duplicate customer-found bug for 7.0: https://bugs.launchpad.net/lma-toolchain/+bug/1602939, please backport the fix

Revision history for this message
Dmitry Klenov (dklenov) wrote :

Removing Fuel per Simon Pasquier's comment.

no longer affects: fuel/7.0.x
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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