Error when deploying gnocchi in TripleO from master

Bug #1735118 reported by Alfredo Moralejo
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
puppet-gnocchi
Fix Released
High
Alfredo Moralejo
tripleo
Invalid
Critical
Unassigned

Bug Description

When deploying overcloud with gnocchi enabled following error appears in overcloud [1]:

"Error: /Stage[main]/Gnocchi::Wsgi::Apache/Openstacklib::Wsgi::Apache[gnocchi_wsgi]/File[gnocchi_wsgi]: Could not evaluate: Could not retrieve information from environment production source(s) file:/usr/lib/python2.7/site-packages/gnocchi/rest/app.wsgi",

Note that gnocchi has been recently updated to version 4.1 in RDO, so it may be related.

[1] https://logs.rdoproject.org/openstack-periodic/periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset016-master/fede84b/undercloud/home/jenkins/failed_deployment_list.log.txt.gz

Changed in tripleo:
status: New → Triaged
importance: Undecided → Critical
tags: added: ci promotion-blocker
Revision history for this message
Alfredo Moralejo (amoralej) wrote :
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/523818

Changed in puppet-gnocchi:
assignee: nobody → Alfredo Moralejo (amoralej)
status: New → In Progress
Changed in puppet-gnocchi:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-gnocchi (master)

Reviewed: https://review.openstack.org/523818
Committed: https://git.openstack.org/cgit/openstack/puppet-gnocchi/commit/?id=274b8f39acb23c5aa8b49684f405d8ae385de111
Submitter: Zuul
Branch: master

commit 274b8f39acb23c5aa8b49684f405d8ae385de111
Author: Alfredo Moralejo <email address hidden>
Date: Wed Nov 29 10:29:27 2017 +0100

    Use gnocchi-api binary for wsgi script

    WSGI script gnocchi/rest/app.wsgi has been removed in [1] which has
    been included in release 4.1.0 and gnocchi-api must be used instead [2].

    Note that new version has been bumped in RDO but not ubuntu yet, so
    this patch is switching the wsgi script only for Red Hat deployments.

    [1] https://github.com/gnocchixyz/gnocchi/commit/cef3396908947b6a8437476c899e6d5cec48a6d5#diff-f6608875dec4d7646c38d649181fd350
    [2] https://github.com/gnocchixyz/gnocchi/blob/176c1332f6279dfa3a8238c9e017769553e59f02/releasenotes/notes/wsgi-script-deprecation-c6753a844ca0b411.yaml

    Change-Id: Ibf901844e8319eec9c60f7c5c27770c89aae6427
    Closes-Bug: #1735118

Changed in puppet-gnocchi:
status: In Progress → Fix Released
Changed in tripleo:
status: Triaged → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-gnocchi 12.1.0

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.