asterisk in 'group DN mapping' blows up hiera

Bug #1631544 reported by Vasiliy Pleshakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StackLight
Fix Released
Medium
Simon Pasquier

Bug Description

Detailed bug description:
As a deployment engineer I want to map all groups to Kibana's Viewer role. If I provide * (astersk) as a wildcard that asterisk goes unprotected into hiera's yaml files and deployment fails.

Steps to reproduce:
I did next config of (LMA) Stacklight Elasticsearch-kibana plugin:
checked 'Use LDAP for Kibana authentication'
choose LDAPS
typed * (asterisk) into field 'Group DN mapping to the Viewer role'

Expected results:
Successful deploy of Stacklight nodes.
Actual result:
Syntax errors in hiera yaml files what lead to inability to gain any info from hiera.
Reproducibility:
always
Workaround:
type asterisk protected with double quotes, e.g. "*"
Impact:
Deployment fails
Description of the environment:
 Operation system: fuel 8 with Centos 7
 Versions of components: fuel 8 with plugins (LDAP, contrail, whole LMA stack version 0.10.1)
 Reference architecture: N/A
 Network model: N/A
 Related projects installed: N/A
Additional information:
This bug was found in elasticsearch-Kibana plugin but I do believe we must check it is not in other Stacklight plugins.

Tags: ldap
description: updated
Swann Croiset (swann-w)
Changed in lma-toolchain:
status: New → Confirmed
importance: Undecided → Medium
Swann Croiset (swann-w)
Changed in lma-toolchain:
milestone: none → 1.0.0
Swann Croiset (swann-w)
tags: added: ldap
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/418257

Changed in lma-toolchain:
assignee: nobody → Simon Pasquier (simon-pasquier)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-plugin-lma-infrastructure-alerting (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/418269

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

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

commit 08dbf4bd38fc52ec7e4b3f41f1f96379815873a4
Author: Simon Pasquier <email address hidden>
Date: Tue Jan 10 09:52:01 2017 +0100

    Enforce literal strings in Hiera YAML file

    Change-Id: I4eb32dee32f7a140c31d46691fc032e92556516e
    Related-Bug: #1631544

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

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

commit 8c8606cf4f87eba9fe9016afad4a0f867b657f0b
Author: Simon Pasquier <email address hidden>
Date: Tue Jan 10 09:44:44 2017 +0100

    Enforce literal strings in Hiera YAML file

    Change-Id: I2c0729364fc131329dbc7479c30af41c8490e82c
    Closes-Bug: #1631544

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugin-elasticsearch-kibana (stable/1.0)

Fix proposed to branch: stable/1.0
Review: https://review.openstack.org/419939

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

Reviewed: https://review.openstack.org/419939
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-elasticsearch-kibana/commit/?id=16b8364f539eb1c19910d09537823d5c1c87b813
Submitter: Jenkins
Branch: stable/1.0

commit 16b8364f539eb1c19910d09537823d5c1c87b813
Author: Simon Pasquier <email address hidden>
Date: Tue Jan 10 09:44:44 2017 +0100

    Enforce literal strings in Hiera YAML file

    Change-Id: I2c0729364fc131329dbc7479c30af41c8490e82c
    Closes-Bug: #1631544
    (cherry picked from commit 8c8606cf4f87eba9fe9016afad4a0f867b657f0b)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-plugin-lma-infrastructure-alerting (stable/1.0)

Related fix proposed to branch: stable/1.0
Review: https://review.openstack.org/420041

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-plugin-lma-infrastructure-alerting (stable/1.0)

Reviewed: https://review.openstack.org/420041
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-lma-infrastructure-alerting/commit/?id=6a04c4ffb8c3c66ce361bf1fee9326c00a8a91f8
Submitter: Jenkins
Branch: stable/1.0

commit 6a04c4ffb8c3c66ce361bf1fee9326c00a8a91f8
Author: Simon Pasquier <email address hidden>
Date: Tue Jan 10 09:52:01 2017 +0100

    Enforce literal strings in Hiera YAML file

    Change-Id: I4eb32dee32f7a140c31d46691fc032e92556516e
    Related-Bug: #1631544
    (cherry picked from commit 08dbf4bd38fc52ec7e4b3f41f1f96379815873a4)

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.