graylog hook failed: "beats-relation-changed": 'NoneType' object is not iterable

Bug #1871664 reported by Ashley Lai
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Graylog Charm
Won't Fix
Medium
Unassigned

Bug Description

graylog/0* error idle 3 10.246.64.202 9000/tcp hook failed: "beats-relation-changed"

2020-04-08 14:22:24 INFO juju-log beats:190: Error calling graylog api: HTTPConnectionPool(host='127.0.0.1', port=9000): Read timed out. (read timeout=3)
2020-04-08 14:22:24 INFO juju-log beats:190: API error code: 401
2020-04-08 14:22:27 INFO juju-log beats:190: Error calling graylog api: HTTPConnectionPool(host='127.0.0.1', port=9000): Read timed out. (read timeout=3)
2020-04-08 14:22:31 INFO juju-log beats:190: Error calling graylog api: HTTPConnectionPool(host='127.0.0.1', port=9000): Read timed out. (read timeout=3)
2020-04-08 14:22:31 ERROR juju-log beats:190: Hook error:
Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-graylog-0/.venv/lib/python3.6/site-packages/charms/reactive/__init__.py", line 74, in main
    bus.dispatch(restricted=restricted_mode)
  File "/var/lib/juju/agents/unit-graylog-0/.venv/lib/python3.6/site-packages/charms/reactive/bus.py", line 390, in dispatch
    _invoke(other_handlers)
  File "/var/lib/juju/agents/unit-graylog-0/.venv/lib/python3.6/site-packages/charms/reactive/bus.py", line 359, in _invoke
    handler.invoke()
  File "/var/lib/juju/agents/unit-graylog-0/.venv/lib/python3.6/site-packages/charms/reactive/bus.py", line 181, in invoke
    self._action(*args)
  File "/var/lib/juju/agents/unit-graylog-0/charm/reactive/graylog.py", line 476, in setup_beats_input
    (changed, input_id) = _check_input_exists(inputs, d)
  File "/var/lib/juju/agents/unit-graylog-0/charm/reactive/graylog.py", line 361, in _check_input_exists
    for input in current_inputs:
TypeError: 'NoneType' object is not iterable

Revision history for this message
Ashley Lai (alai) wrote :
Changed in charm-graylog:
status: New → Confirmed
importance: Undecided → High
importance: High → Medium
Revision history for this message
Eric Chen (eric-chen) wrote :

This issue was pending long time. Is it still valid?
Furthermore, soon or later, the monitoring system will migrate to COS. Telegraf will be replaced by grafana-agent. Therefore, we won't follow up this issue.
(https://charmhub.io/topics/canonical-observability-stack)

Changed in charm-graylog:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.