Bug 1382624

Summary: Mitaka to Newton needs migration for ceilometer-api under apache wsgi
Product: Red Hat OpenStack Reporter: Marios Andreou <mandreou>
Component: openstack-tripleo-heat-templatesAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED ERRATA QA Contact: Yurii Prokulevych <yprokule>
Severity: unspecified Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: ddomingo, jcoufal, jschluet, mburns, rhel-osp-director-maint, sathlang, yprokule
Target Milestone: rcKeywords: Triaged
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-5.0.0-0.20161008015357.0d3e3e3.1.el7ost Doc Type: Enhancement
Doc Text:
The Telemetry API (ceilometer-api) now uses apache-wsgi instead of eventlet. When upgrading to this release, ceilometer-api will be migrated accordingly.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 16:12:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1337794    

Description Marios Andreou 2016-10-07 08:58:54 UTC
Description of problem:
In Newton the ceiometer-api moves from eventlet to apache wsgi. We need to provide a suitable migration for this change during the OSP9 to OSP10 upgrade.

Comment 1 Sofer Athlan-Guyot 2016-10-11 15:41:10 UTC
Remove master commit (was pointing to opendaylight gerrit by the way) to point to stable/newton commit.

Comment 2 Marios Andreou 2016-10-12 09:17:08 UTC
thanks Sofer also moving to POST since it merged too

Comment 5 Yurii Prokulevych 2016-11-08 09:57:04 UTC
Verified with openstack-tripleo-heat-templates-5.0.0-1.2.el7ost.noarch

After passing '-e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-ceilometer-wsgi-mitaka-newton.yaml' to the upgrade command stack was successfully updated.

PCS resource 'openstack-ceilometer-api-clone' is removed.

Config file for ceilometer-wsgi present :
    /etc/httpd/conf.d/10-ceilometer_wsgi.conf

Apache listens on port 8777:

ss -anp | grep 8777
tcp    LISTEN     0      128    172.17.1.15:8777                  *:*                   users:(("httpd",pid=24501,fd=8),("httpd",pid=14455,fd=8),("httpd",pid=14349,fd=8),("httpd",pid=14145,fd=8),("httpd",pid=14074,fd=8),("httpd",pid=14037,fd=8),("httpd",pid=13862,fd=8),("httpd",pid=13847,fd=8),("httpd",pid=13725,fd=8),("httpd",pid=13708,fd=8),("httpd",pid=12779,fd=8),("httpd",pid=12778,fd=8),("httpd",pid=12777,fd=8),("httpd",pid=12776,fd=8),("httpd",pid=12775,fd=8),("httpd",pid=12774,fd=8),("httpd",pid=12773,fd=8),("httpd",pid=12772,fd=8))

Comment 8 errata-xmlrpc 2016-12-14 16:12: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://rhn.redhat.com/errata/RHEA-2016-2948.html