Bug 1780913

Summary: OSP16 | Legacy Telemetry | enable-legacy-telemetry relies on ceph deployed
Product: Red Hat OpenStack Reporter: Leonid Natapov <lnatapov>
Component: openstack-tripleo-heat-templatesAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact:
Priority: high    
Version: 16.0 (Train)CC: apannu, apevec, jjoyce, jschluet, lhh, mburns, mmagr, mrunge, pkilambi, rmccabe, shrjoshi
Target Milestone: z1Keywords: Triaged, ZStream
Target Release: 16.0 (Train on RHEL 8.1)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.1-0.20191218120125.2ddebc7.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-06 14:43:45 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:

Description Leonid Natapov 2019-12-08 13:09:34 UTC
Description of problem:

OSP16 | Legacy Telemetry | Overcloud deployment with the legacy telemetry fails on timeout. Some of gnocchi containers are missing.

When enabling legacy telemetry template in order to deploy overcloud with legacy telemetry ,the deployment fails and some of gnocchi containers are missing.

List of missing containers:
gnocchi-statsd
gnocchi-metricd


I see gnocchi-dbsync container that uses gnocchi-api image. Is db-sync a new name for gnocchi-api container ?

Comment 3 Matthias Runge 2019-12-10 10:59:55 UTC
Looking at the env the enable-traditional-telemetry.yaml file will require ceph as storage backend.

That results in issues like these during deployment:
cradox.ObjectNotFound: [errno 2] error calling conf_read_file
2019-12-10 09:00:55,892 [25] INFO     gnocchi.common.ceph: Ceph storage backend use 'cradox' python library
2019-12-10 09:00:55,896 [25] ERROR    gnocchi.utils: Unable to initialize storage driver
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 361, in call
    result = fn(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/gnocchi/storage/__init__.py", line 102, in get_driver
    conf.storage)
  File "/usr/lib/python3.6/site-packages/gnocchi/storage/ceph.py", line 52, in __init__
    self.rados, self.ioctx = ceph.create_rados_connection(conf)
  File "/usr/lib/python3.6/site-packages/gnocchi/common/ceph.py", line 67, in create_rados_connection
    conf=options)
  File "cradox.pyx", line 608, in cradox.Rados.__init__
  File "cradox.pyx", line 499, in cradox.requires.wrapper.validate_func
  File "cradox.pyx", line 659, in cradox.Rados.__setup
  File "cradox.pyx", line 499, in cradox.requires.wrapper.validate_func
  File "cradox.pyx", line 722, in cradox.Rados.conf_read_file
cradox.ObjectNotFound: [errno 2] error calling conf_read_file
2019-12-10 09:01:55,956 [25] INFO     gnocchi.common.ceph: Ceph storage backend use 'cradox' python library
2019-12-10 09:01:55,960 [25] ERROR    gnocchi.utils: Unable to initialize storage driver
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tenacity/__init__.py", line 361, in call

Proposed https://review.opendev.org/698213 as fix

Comment 7 Matthias Runge 2019-12-13 06:50:49 UTC
The fix was merged to master

Backports to train
https://review.opendev.org/697665
https://review.opendev.org/698836

Comment 16 errata-xmlrpc 2020-02-06 14:43:45 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/RHEA-2020:0283