Bug 1283755 - gnocchi/api-paste.ini is missing
Summary: gnocchi/api-paste.ini is missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-gnocchi
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 8.0 (Liberty)
Assignee: Pradeep Kilambi
QA Contact: Yurii Prokulevych
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-19 18:06 UTC by Yurii Prokulevych
Modified: 2016-04-07 21:13 UTC (History)
6 users (show)

Fixed In Version: openstack-gnocchi-1.3.0-5.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-07 21:13:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:0603 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 Enhancement Advisory 2016-04-08 00:53:53 UTC

Description Yurii Prokulevych 2015-11-19 18:06:56 UTC
Description of problem:
File /etc/gnocchi/api-paste.ini is missing.
This leads to error:
2015-11-19 12:55:35.159 27205 INFO werkzeug [-] 192.0.2.9 - - [19/Nov/2015 12:55:35] "GET /v1/metrics HTTP/1.1" 500 -
2015-11-19 12:55:35.165 27205 ERROR werkzeug [-] Error on request:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 177, in run_wsgi
    execute(self.server.app)
  File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 165, in execute
    application_iter = app(environ, start_response)
  File "/usr/lib/python2.7/site-packages/gnocchi/rest/app.py", line 160, in __call__
    self.app = load_app(self.conf)
  File "/usr/lib/python2.7/site-packages/gnocchi/rest/app.py", line 91, in load_app
    raise cfg.ConfigFilesNotFoundError([conf.api.paste_config])
ConfigFilesNotFoundError: Failed to find some config files: api-paste.ini

rpm -qf /etc/gnocchi/api-paste.ini 
file /etc/gnocchi/api-paste.ini is not owned by any package


Version-Release number of selected component (if applicable):

openstack-gnocchi-common-1.3.0-1.el7ost.noarch
openstack-gnocchi-api-1.3.0-1.el7ost.noarch
openstack-gnocchi-carbonara-1.3.0-1.el7ost.noarch
openstack-gnocchi-indexer-sqlalchemy-1.3.0-1.el7ost.noarch
openstack-gnocchi-statsd-1.3.0-1.el7ost.noarch
openstack-gnocchi-metricd-1.3.0-1.el7ost.noarch
python-gnocchi-1.3.0-1.el7ost.noarch

Expected results:
File is part of gnocchi*

Additional info:
HA virtual setup

Regards,
Yurii

Comment 4 Alexander Chuzhoy 2015-11-19 20:29:15 UTC
the file should be there after the package is installed.

Comment 6 Alan Pevec 2015-11-20 01:07:02 UTC
Cherry picked to rdo-liberty distgit branch:
https://github.com/openstack-packages/gnocchi/commit/47bfd15368f9a367376722464976dad52fba6f0f

openstack-gnocchi-1.3.0-5.el7 built in CBS and pushed to RDO Liberty testing repo.

Comment 7 Yurii Prokulevych 2015-11-20 15:17:54 UTC
rpm -qf /etc/gnocchi/api-paste.ini 
openstack-gnocchi-common-1.3.0-5.el7ost.noarch

Comment 8 errata-xmlrpc 2016-04-07 21:13:07 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-0603.html


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