Bug 1392473

Summary: OPS Tools | Openstack password can be seen as clear text in Uchiwa because we override default password redaction with empty list in /etc/sensu/conf.d/client.json
Product: Red Hat OpenStack Reporter: Leonid Natapov <lnatapov>
Component: openstack-tripleo-heat-templatesAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: jjoyce, jschluet, mbracho, mburns, mmagr, oblaut, rhel-osp-director-maint
Target Milestone: rcKeywords: Triaged
Target Release: 10.0 (Newton)Flags: mbracho: needinfo+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-5.1.0-7.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 16:30:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Leonid Natapov 2016-11-07 15:12:32 UTC
OPS Tools | Openstack passord can be seen as clear text in Uchiwa because we override default password redaction with empty list in /etc/sensu/conf.d/client.json

    "redact": [
 
    ],
    "socket": {
      "bind": "127.0.0.1",
      "port": 3030
    },
    "safe_mode": false,
    "openstack": {
      "region_name": "regionOne",
      "auth_url": "http://10.35.173.13:5000/v2.0",
      "password": "qR8PPmpvXPYVyHN3j4XvTH4v8",
      "project_name": "admin",
      "username": "admin"
    },
    "keepalive": {
    }
  }
}

as you can see redact list is epmty. Should contain word "password"

Comment 1 Jon Schlueter 2016-11-18 18:28:04 UTC
moving to POST as patch was merged on master and has been proposed to stable/newton branch

Comment 4 Leonid Natapov 2016-11-28 13:21:10 UTC
Tested with openstack-tripleo-heat-templates-5.1.0-5.el7ost. 

Failed QA. 
----
Overcloud deployment fails because sensu-base.yaml file includes unsupported parameter type "array".

Comment 7 Martin Magr 2016-11-29 12:34:31 UTC
Backport of the fix merged to stable/newton: https://review.openstack.org/#/c/403849/

Comment 10 Leonid Natapov 2016-12-01 12:23:39 UTC
tested with openstack-tripleo-heat-templates-5.1.0-7.el7ost

fixed.

Comment 12 errata-xmlrpc 2016-12-14 16:30:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2948.html