Hi,
Telemetry composable role doesn't work if not installed on Controller nodes, because Gnocchi can't access to Swift:
/var/log/containers/gnocchi/gnocchi-metricd.log
2018-04-22 11:05:46,519 [25] ERROR gnocchi.storage: Error processing new measures
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/gnocchi/storage/__init__.py", line 505, in process_new_measures
self._compute_and_store_timeseries(metric, measures)
File "/usr/lib/python2.7/site-packages/gnocchi/storage/__init__.py", line 532, in _compute_and_store_timeseries
metric, block_size=block_size, back_window=back_window)
File "/usr/lib/python2.7/site-packages/gnocchi/storage/__init__.py", line 154, in _get_unaggregated_timeserie_and_unserialize
metric)
File "/usr/lib/python2.7/site-packages/gnocchi/storage/swift.py", line 193, in _get_unaggregated_timeserie
self._build_unaggregated_timeserie_path(version))
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1799, in get_object
headers=headers)
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1691, in _retry
service_token=self.service_token, **kwargs)
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 1167, in get_object
conn.request(method, path, '', headers)
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 439, in request
files=files, **self.requests_args)
File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 422, in _request
return self.request_session.request(*arg, **kwarg)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 518, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 639, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 502, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='172.17.3.11', port=8080): Max retries exceeded with url: /v1/AUTH_2e5439d447fb4f008396fd56d7d5bd7a/gnocchi.2845f016-a151-46b2-a552-51b37ad6a60c/none_v3 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f2c9e550e50>: Failed to establish a new connection: [Errno 113] No route to host',))
Cheers,
fix for master: https:/ /review. openstack. org/#/c/ 563504/