Bug 1780913 - OSP16 | Legacy Telemetry | enable-legacy-telemetry relies on ceph deployed
Summary: OSP16 | Legacy Telemetry | enable-legacy-telemetry relies on ceph deployed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z1
: 16.0 (Train on RHEL 8.1)
Assignee: Matthias Runge
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-08 13:09 UTC by Leonid Natapov
Modified: 2020-02-20 14:31 UTC (History)
11 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.1-0.20191218120125.2ddebc7.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-06 14:43:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 697665 0 None MERGED Move the legacy telemetry environment template to correct location 2020-12-07 10:36:15 UTC
OpenStack gerrit 698213 0 None MERGED Remove ceph backend by default for gnocchi 2020-12-07 10:36:15 UTC
OpenStack gerrit 698836 0 None MERGED Remove ceph backend by default for gnocchi 2020-12-07 10:36:42 UTC
Red Hat Product Errata RHEA-2020:0283 0 None None None 2020-02-06 14:44:05 UTC

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


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