keystone, swift-proxy, cinder glance charms use haproxy with a predictable stats username and password

Bug #1459420 reported by David Ames
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Charm Helpers
Fix Released
High
James Page
cinder (Juju Charms Collection)
Fix Released
High
Unassigned
glance (Juju Charms Collection)
Fix Released
High
Unassigned
keystone (Juju Charms Collection)
Fix Released
High
Unassigned
swift-proxy (Juju Charms Collection)
Fix Released
High
Unassigned

Bug Description

The charms setup haproxy with a stats monitor on port 8888
The username and password are predictable
At the very least the password should be randomized or configurable

Tags: openstack

Related branches

Revision history for this message
James Troup (elmo) wrote :

Some other things:

 /etc/haproxy/haproxy.cfg (which contains the password) is world readable
 It's listening on port 8888 on all interfaces (as opposed to e.g. just localhost)

affects: charms → swift-proxy (Juju Charms Collection)
James Page (james-page)
Changed in swift-proxy (Juju Charms Collection):
status: New → Triaged
Changed in keystone (Juju Charms Collection):
status: New → Triaged
Changed in glance (Juju Charms Collection):
status: New → Triaged
Changed in cinder (Juju Charms Collection):
status: New → Triaged
importance: Undecided → High
Changed in glance (Juju Charms Collection):
importance: Undecided → High
Changed in keystone (Juju Charms Collection):
importance: Undecided → High
Changed in swift-proxy (Juju Charms Collection):
importance: Undecided → High
Changed in cinder (Juju Charms Collection):
milestone: none → 15.10
Changed in glance (Juju Charms Collection):
milestone: none → 15.10
Changed in keystone (Juju Charms Collection):
milestone: none → 15.10
Changed in swift-proxy (Juju Charms Collection):
milestone: none → 15.10
Changed in cinder (Juju Charms Collection):
milestone: 15.10 → 16.01
Changed in glance (Juju Charms Collection):
milestone: 15.10 → 16.01
Changed in keystone (Juju Charms Collection):
milestone: 15.10 → 16.01
Changed in swift-proxy (Juju Charms Collection):
milestone: 15.10 → 16.01
James Page (james-page)
tags: added: openstack
Revision history for this message
James Page (james-page) wrote :

Proposed change will expose stats on localhost only, and set a persistent password for access for each unit.

Changed in charm-helpers:
status: New → In Progress
assignee: nobody → James Page (james-page)
importance: Undecided → High
James Page (james-page)
Changed in charm-helpers:
status: In Progress → Fix Released
James Page (james-page)
Changed in swift-proxy (Juju Charms Collection):
milestone: 16.01 → 16.04
Changed in keystone (Juju Charms Collection):
milestone: 16.01 → 16.04
Changed in cinder (Juju Charms Collection):
milestone: 16.01 → 16.04
Changed in glance (Juju Charms Collection):
milestone: 16.01 → 16.04
James Page (james-page)
Changed in cinder (Juju Charms Collection):
status: Triaged → Fix Released
Changed in glance (Juju Charms Collection):
status: Triaged → Fix Released
Changed in keystone (Juju Charms Collection):
status: Triaged → Fix Released
Changed in swift-proxy (Juju Charms Collection):
status: Triaged → Fix Released
Changed in cinder (Juju Charms Collection):
milestone: 16.04 → 16.01
Changed in glance (Juju Charms Collection):
milestone: 16.04 → 16.01
Changed in keystone (Juju Charms Collection):
milestone: 16.04 → 16.01
Changed in swift-proxy (Juju Charms Collection):
milestone: 16.04 → 16.01
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.