Backend servers aren't deployed correctly when using network templates

Bug #1577358 reported by Simon Pasquier
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
StackLight
Fix Released
High
Simon Pasquier

Bug Description

Tested with MOS 8 and StackLight master branch.

How to reproduce
----------------

1. Create an environment where all StackLight plugins are configured.
2. Upload a network template to use the public network for the StackLight backends (instead of the management network).
3. Deploy the environment

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

The dashboards are functional.

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

The dashboards display errors showing that they can't connect to the backend servers (Elasticsearch, InfluxDB).

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-elasticsearch-kibana (master)

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

Changed in lma-toolchain:
assignee: LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → Simon Pasquier (simon-pasquier)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-influxdb-grafana (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-lma-infrastructure-alerting (master)

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

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/312097

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

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

commit acb2096423ed3b8e761c8bd644d0257269b2bfa2
Author: Simon Pasquier <email address hidden>
Date: Tue May 3 16:04:01 2016 +0200

    Fix deployment when using network templates

    InfluxDB can be deployed on any network thanks to network templates.
    This change removes all the hard-coded dependencies on the management
    network. All port numbers for InfluxDB and Elasticsearch are also pulled
    from Hiera instead of being hardcoded.

    Change-Id: Ib853db3dfce524d89b4f43ba49da508d9a8c9475
    Related-Bug: #1514365
    Closes-Bug: #1577358

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

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

commit 8528e5ae47b75dd5fc54d0ed076e074b94c384a3
Author: Simon Pasquier <email address hidden>
Date: Mon May 2 14:54:31 2016 +0200

    Fix deployment when using network templates

    InfluxDB and Grafana can be deployed on any network thanks to network
    templates. This change removes all the hard-coded dependencies on the
    management network. All port numbers for InfluxDB and Grafana are also
    moved to Hiera to make it easier to customize if needed.

    Closes-Bug: #1577358
    Related-Bug: #1514365
    Change-Id: I9b8f692151dec28963f1acbc93bc7d92925cbeae

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

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

commit 0baef19e01499a578f85a7a2ace6847ffa42eb1e
Author: Simon Pasquier <email address hidden>
Date: Mon May 2 12:02:26 2016 +0200

    Fix deployment when using network templates

    Elasticsearch and Nginx can be deployed on any network thanks to network
    templates. This change removes all the hard-coded dependencies on the
    management network. All port numbers for Nginx and Elasticsearch are
    also moved to Hiera to make it easier to customize if needed.

    Related-Bug: #1514365
    Closes-Bug: #1577358
    Change-Id: If3656be46d93418a2f481e740c59ec9df5ce8523

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

Reviewed: https://review.openstack.org/312037
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-lma-infrastructure-alerting/commit/?id=3c3d9d5b2ac87370c22726a25c52b3bbf9dfc4b1
Submitter: Jenkins
Branch: master

commit 3c3d9d5b2ac87370c22726a25c52b3bbf9dfc4b1
Author: Simon Pasquier <email address hidden>
Date: Tue May 3 14:29:49 2016 +0200

    Fix deployment when using network templates

    Apache can be deployed on any network thanks to network templates. This
    change removes all the hard-coded dependencies on the management
    network. All port numbers for Apache, Kibana, Elasticsearch, InfluxDB
    and Grafana are also moved to Hiera to make it easier to customize if
    needed.

    It also removes the call to hiera('nodes') since this entry is
    deprecated as well as SSH checks because they're not reliable when
    network templates are used.

    Change-Id: I8f51bda7fee614ac814f0413f8c655b1356b4036
    Closes-Bug: #1577358
    Closes-Bug: #1550253
    Related-Bug: #1514365

Revision history for this message
Sheena Conant (sheena-conant) wrote :

@Simon: can these changes be backported to a new MOS 8.0 compatible plugin version of the toolchain?

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

@Sheena, the fixes will be available in the next 0.10 release of the toolchain that is targeted for MOS 8 and 9.

Changed in lma-toolchain:
milestone: none → 0.10.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-lma-infrastructure-alerting (stable/0.9)

Fix proposed to branch: stable/0.9
Review: https://review.openstack.org/341540

Changed in lma-toolchain:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-plugin-lma-infrastructure-alerting (stable/0.9)

Change abandoned by Swann Croiset (<email address hidden>) on branch: stable/0.9
Review: https://review.openstack.org/341540
Reason: for history !

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.