Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1573603 - Collectd on computes cannot connect to gnocchi.
Collectd on computes cannot connect to gnocchi.
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
high Severity high
: beta
: 13.0 (Queens)
Assigned To: Martin Magr
Leonid Natapov
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-01 14:44 EDT by Leonid Natapov
Modified: 2018-06-27 09:55 EDT (History)
3 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-8.0.2-11.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 09:54:52 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 566090 None master: NEW tripleo-heat-templates: Delay collectd start (Ifce5d3a7395d9ddf99e2d9097f71a222e8c64487) 2018-05-03 12:38 EDT
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:55 EDT

  None (edit)
Description Leonid Natapov 2018-05-01 14:44:57 EDT
Description of problem:

Collectd on computes cannot connect to gnocchi.

collectd.log files:
-----------------------------
[2018-05-01 04:41:36] Unable to establish connection to http://172.17.1.17:8041/v1/batch/resources/metrics/measures: ('Connection aborted.', error(32, 'Broken pipe'))
[2018-05-01 04:41:36] Unable to establish connection to http://172.17.1.17:8041/v1/batch/resources/metrics/measures: ('Connection aborted.', error(32, 'Broken pipe'))
[2018-05-01 04:41:36] Unable to establish connection to http://172.17.1.17:8041/v1/batch/resources/metrics/measures: ('Connection aborted.', error(32, 'Broken pipe'))
[2018-05-01 04:41:36] Unable to establish connection to http://172.17.1.17:8041/v1/batch/resources/metrics/measures: ('Connection aborted.', error(32, 'Broken pipe'))
[2018-05-01 04:41:36] Unable to establish connection to http://172.17.1.17:8041/v1/batch/resources/metrics/measures: ('Connection aborted.', error(32, 'Broken pipe'))
[2018-05-01 04:41:36] Unable to establish connection to http://172.17.1.17:8041/v1/batch/resources/metrics/measures: ('Connection aborted.', error(32, 'Broken pipe'))
[2018-05-01 04:41:36] Unable to establish connection to http://172.17.1.17:8041/v1/batch/resources/metrics/measures: ('Connection aborted.', error(32, 'Broken pipe'))
[2018-05-01 04:41:36] Unable to establish connection to http://172.17.1.17:8041/v1/batch/resources/metrics/measures: ('Connection aborted.', error(32, 'Broken pipe'))
[2018-05-01 04:41:36] Unable to establish connection to http://172.17.1.17:8041/v1/batch/resources/metrics/measures: ('Connection aborted.', error(32, 'Broken pipe'))
[2018-05-01 04:41:37] Unable to establish connection to http://172.17.1.17:8041/v1/batch/resources/metrics/measures: ('Connection aborted.', error(32, 'Broken pipe'))



[2018-05-01 04:41:35] Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-ca20a341-818a-495f-ab9a-18c335ad9f12)
[2018-05-01 04:41:36] Unable to establish connection to http://172.17.1.17:8041/v1/batch/resources/metrics/measures: ('Connection aborted.', error(32, 'Broken pipe'))
[2018-05-01 04:41:36] Traceback (most recent call last):
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/collectd_gnocchi/__init__.py", line 79, in inner_func
    return func(*args, **kwargs)
[2018-05-01 04:41:36] Traceback (most recent call last):
[2018-05-01 04:41:36] Traceback (most recent call last):
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/collectd_gnocchi/__init__.py", line 227, in flush
    self._batch(host, values)
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/collectd_gnocchi/__init__.py", line 79, in inner_func
    return func(*args, **kwargs)
[2018-05-01 04:41:36] Unable to establish connection to http://172.17.1.17:8041/v1/batch/resources/metrics/measures: ('Connection aborted.', error(32, 'Broken pipe'))
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/collectd_gnocchi/__init__.py", line 79, in inner_func
    return func(*args, **kwargs)
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/collectd_gnocchi/__init__.py", line 244, in _batch
    measures, create_metrics=True)
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/metric.py", line 236, in batch_resources_metrics_measures
    params=dict(create_metrics=create_metrics))
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/collectd_gnocchi/__init__.py", line 227, in flush
    self._batch(host, values)
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/base.py", line 41, in _post
    return self.client.api.post(*args, **kwargs)
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/collectd_gnocchi/__init__.py", line 227, in flush
    self._batch(host, values)
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/collectd_gnocchi/__init__.py", line 244, in _batch
    measures, create_metrics=True)
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/metric.py", line 236, in batch_resources_metrics_measures
    params=dict(create_metrics=create_metrics))
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/base.py", line 41, in _post
    return self.client.api.post(*args, **kwargs)
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 310, in post
    return self.request(url, 'POST', **kwargs)
[2018-05-01 04:41:36] File "/usr/lib/python2.7/site-packages/gnocchiclient/client.py", line 52, in request
    raise exceptions.from_response(resp, method)
[2018-05-01 04:41:36] ClientException: <html><body><h1>503 Service Unavailable</h1>
No server is available to handle this request.
</body></html>
Comment 2 Martin Magr 2018-05-03 10:46:48 EDT
The connection issues are caused by deploying collectd two steps ahead of working Keystone and Gnocchi.
Comment 10 Leonid Natapov 2018-05-08 08:29:20 EDT
connection from compute to gnocchi is ok. metrics are coming.
Comment 12 errata-xmlrpc 2018-06-27 09:54:52 EDT
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-2018:2086

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