puppet-gnocchi doesn't manage the pipeline in api-paste.ini

Bug #1543730 reported by Tristan Cacqueray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-gnocchi
Fix Released
Medium
Trevor McCasland

Bug Description

Turns out puppet-gnocchi isn't able to run keystoneless setup since it doesn't manage api-paste.ini and rdo packages of gnocchi enable keystone_auth by default.

Revision history for this message
David Moreau Simard (dmsimard) wrote :

For example in RDO we package gnocchi from stable/1.3 upstream branch and bundle their api-paste.ini as-is:
https://github.com/openstack/gnocchi/blob/stable/1.3/etc/gnocchi/api-paste.ini

Since puppet-gnocchi doesn't manage the pipeline configuration parameter, it defaults to using keystone by default.
This is the same thing in trunk, however the parameter was reworked: https://github.com/openstack/gnocchi/blob/master/etc/gnocchi/api-paste.ini

puppet-gnocchi should be able to manage the pipeline parameter to remove the keystone authentication if necessary.

Additionally, perhaps the keystone_authtoken block configuration parameters should be moved inside the "if" where we check if there is a keystone_identity_uri.

summary: - puppet-gnocchi doesn't manage api-paste.ini
+ puppet-gnocchi doesn't manage the pipeline in api-paste.ini
Changed in puppet-gnocchi:
status: New → Confirmed
importance: Undecided → Medium
Changed in puppet-gnocchi:
assignee: nobody → Trevor McCasland (twm2016)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-gnocchi (master)

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

Changed in puppet-gnocchi:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-gnocchi (master)

Reviewed: https://review.openstack.org/304200
Committed: https://git.openstack.org/cgit/openstack/puppet-gnocchi/commit/?id=2a24355e9039daa14eae81e3da2712c7fded94e3
Submitter: Jenkins
Branch: master

commit 2a24355e9039daa14eae81e3da2712c7fded94e3
Author: Trevor McCasland <email address hidden>
Date: Mon Apr 11 10:49:42 2016 -0500

    Manage the pipeline to remove keystone auth

    puppet-gnocchi cannot run keystoneless setup since it doesn't manage
    the pipeline configuration parameter.

    These modifications removes the keystone authentication if it is
    necessary.

    Change-Id: I90b655298f80f03e5067b1fc4c564b2fef44670f
    Closes-Bug: #1543730

Changed in puppet-gnocchi:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/puppet-gnocchi 9.0.0

This issue was fixed in the openstack/puppet-gnocchi 9.0.0 release.

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.