Bug 1588302 - We should add CORS configuration in gnocchi.conf via tripleo installer.
Summary: We should add CORS configuration in gnocchi.conf via tripleo installer.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-tripleo
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z11
: 13.0 (Queens)
Assignee: Martin Magr
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-07 04:59 UTC by Leonid Natapov
Modified: 2022-08-09 10:33 UTC (History)
15 users (show)

Fixed In Version: puppet-gnocchi-12.4.0-4.el7ost puppet-tripleo-8.5.1-6.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-10 11:18:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 575835 0 'None' MERGED Add CORS config support 2020-05-21 15:01:14 UTC
OpenStack gerrit 575845 0 'None' MERGED Include cors to gnocchi profile 2020-05-21 15:01:14 UTC
OpenStack gerrit 687075 0 'None' MERGED Add support to set cors config in gnocchi templates 2020-05-21 15:01:14 UTC
OpenStack gerrit 687076 0 'None' MERGED Add CORS config support 2020-05-21 15:01:14 UTC
OpenStack gerrit 687078 0 'None' MERGED Include cors to gnocchi profile 2020-05-21 15:01:14 UTC
Red Hat Issue Tracker OSP-9123 0 None None None 2022-08-09 10:33:19 UTC

Description Leonid Natapov 2018-06-07 04:59:30 UTC
Description of problem:

Currently we don't have a way to configure cors in gnocchi.conf via
tripleo installer. We should expose these in puppet-gnocchi and set
them from tripleo to make it persistent. Otherwise if you manually
change these config, they will get wiped after the container reboots.

Comment 5 Martin Magr 2018-11-22 21:07:33 UTC
Changing back as we don't have tripleo support yet.

Comment 29 Martin Magr 2019-12-11 16:31:07 UTC
Fixed in puppet-gnocchi-12.4.0-4.el7ost and puppet-tripleo-8.5.1-6.el7ost

Comment 35 Leonid Natapov 2020-02-11 12:00:36 UTC
Hu,Martin. Please,provide instructions for QE regarding what and how should be tested.

Comment 36 Martin Magr 2020-02-11 13:31:40 UTC
Test instructions:

  1. Use GnocchiCorsAllowedOrigin configuration parameter during overcloud deploy. (Example value: "foobar") and enable Gnocchi deploy
  2. After deploy, Gnocchi configuration file should contain following configuration in [cors] namespace:
    allowed_origin=foobar
    expose_headers=Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma
    max_age=3600
    allow_methods=GET,POST,PUT,DELETE,OPTIONS,PATCH
    allow_headers=Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma,X-Auth-Token

Comment 38 errata-xmlrpc 2020-03-10 11:18:29 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://access.redhat.com/errata/RHBA-2020:0760


Note You need to log in before you can comment on or make changes to this bug.