Hide Forgot
Description of problem: ----------------------- During upgrade from RHOS-9 to RHOS-10 the api-paste.ini file is not updated for gnocchi. There were fixes in bz 1371625 which ain't reflected. diff -u /etc/gnocchi/api-paste.ini /etc/gnocchi/api-paste.ini.rpmnew --- /etc/gnocchi/api-paste.ini 2016-11-16 10:42:58.196264000 +0000 +++ /etc/gnocchi/api-paste.ini.rpmnew 2016-10-19 13:51:20.000000000 +0000 @@ -1,19 +1,25 @@ # Use gnocchi+auth in the pipeline if you want to use keystone authentication [pipeline:main] -pipeline = gnocchi+auth +pipeline = gnocchi+noauth [composite:gnocchi+noauth] use = egg:Paste#urlmap -/ = gnocchiversions -/v1 = gnocchiv1 +/ = gnocchiversions_pipeline +/v1 = gnocchiv1+noauth [composite:gnocchi+auth] use = egg:Paste#urlmap -/ = gnocchiversions +/ = gnocchiversions_pipeline /v1 = gnocchiv1+auth +[pipeline:gnocchiv1+noauth] +pipeline = http_proxy_to_wsgi gnocchiv1 + [pipeline:gnocchiv1+auth] -pipeline = keystone_authtoken gnocchiv1 +pipeline = http_proxy_to_wsgi keystone_authtoken gnocchiv1 + +[pipeline:gnocchiversions_pipeline] +pipeline = http_proxy_to_wsgi gnocchiversions [app:gnocchiversions] paste.app_factory = gnocchi.rest.app:app_factory @@ -27,6 +33,6 @@ paste.filter_factory = keystonemiddleware.auth_token:filter_factory oslo_config_project = gnocchi -[filter:cors] -paste.filter_factory = oslo_middleware.cors:filter_factory +[filter:http_proxy_to_wsgi] +paste.filter_factory = oslo_middleware.http_proxy_to_wsgi:HTTPProxyToWSGI.factory oslo_config_project = gnocchi Version-Release number of selected component (if applicable): ------------------------------------------------------------- python-gnocchi-3.0.1-1.3.el7ost.noarch openstack-gnocchi-api-3.0.1-1.3.el7ost.noarch openstack-gnocchi-indexer-sqlalchemy-3.0.1-1.3.el7ost.noarch openstack-gnocchi-metricd-3.0.1-1.3.el7ost.noarch openstack-gnocchi-carbonara-3.0.1-1.3.el7ost.noarch openstack-gnocchi-statsd-3.0.1-1.3.el7ost.noarch python-gnocchiclient-2.6.0-1.el7ost.noarch puppet-gnocchi-9.4.1-1.el7ost.noarch openstack-gnocchi-common-3.0.1-1.3.el7ost.noarch Steps to Reproduce: ------------------- 1. Upgrade from RHOS-9 to RHOS-10. 2. After controllers upgrade check /etc/gnocchi/api-paste.ini
changing back to prior version 3.0.2-1
Hi Pradeep, Going through my backlog and saw this BZ. At the end of the upgrade procedure there's the following note: "Review the resulting configuration files. The upgraded packages might have installed .rpmnew files appropriate to the Red Hat OpenStack Platform 10 version of the service." Link: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html/upgrading_red_hat_openstack_platform/chap-upgrading_the_environment#sect-Major-Upgrading_the_Overcloud-PostNotes This is pretty much a catch-all for all services and their rpmnew files. Was there anything else required for this BZ?
Closing thsi BZ as it appears to be resolved.