os-collect-config fails to start

Solution In Progress - Updated -

Issue

  • os-collect-config fails to start on controllers
  • From journalctl -u os-collect-config
os-collect-config[7384]: ValueError: No JSON object could be decoded
Jun 19 19:21:01 -2 systemd[1]: os-collect-config.service: main process exited, code=exited, status=1/FAILURE
Jun 19 19:21:01 -2 systemd[1]: Unit os-collect-config.service entered failed state.
Jun 19 19:21:01 -2 systemd[1]: os-collect-config.service failed.
Jun 19 19:21:01 -2 systemd[1]: os-collect-config.service holdoff time over, scheduling restart.
Jun 19 19:21:01 -2 systemd[1]: Started Collect metadata and run hook commands..
Jun 19 19:21:01 -2 systemd[1]: Starting Collect metadata and run hook commands....
Jun 19 19:21:02 -2 os-collect-config[8574]: Traceback (most recent call last):
Jun 19 19:21:02 -2 os-collect-config[8574]: File "/usr/bin/os-collect-config", line 10, in <module>
Jun 19 19:21:02 -2 os-collect-config[8574]: sys.exit(__main__())
Jun 19 19:21:02 -2 os-collect-config[8574]: File "/usr/lib/python2.7/site-packages/os_collect_config/collect.py", line 262, in
 __main__
Jun 19 19:21:02 -2 os-collect-config[8574]: collector_kwargs_map=collector_kwargs_map)
Jun 19 19:21:02 -2 os-collect-config[8574]: File "/usr/lib/python2.7/site-packages/os_collect_config/collect.py", line 177, in
 collect_all
Jun 19 19:21:02 -2 os-collect-config[8574]: (changed, path) = cache.store(output_key, output_content)
Jun 19 19:21:02 -2 os-collect-config[8574]: File "/usr/lib/python2.7/site-packages/os_collect_config/cache.py", line 62, in st
ore
Jun 19 19:21:02 -2 os-collect-config[8574]: then_value = json.load(then)
Jun 19 19:21:02 -2 os-collect-config[8574]: File "/usr/lib64/python2.7/json/__init__.py", line 290, in load
Jun 19 19:21:02 -2 os-collect-config[8574]: **kw)
Jun 19 19:21:02 -2 os-collect-config[8574]: File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
Jun 19 19:21:02 -2 os-collect-config[8574]: return _default_decoder.decode(s)
Jun 19 19:21:02 -2 os-collect-config[8574]: File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
Jun 19 19:21:02 -2 os-collect-config[8574]: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Jun 19 19:21:02 -2 os-collect-config[8574]: File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
Jun 19 19:21:02 -2 os-collect-config[8574]: raise ValueError("No JSON object could be decoded")
Jun 19 19:21:02 -2 os-collect-config[8574]: ValueError: No JSON object could be decoded

Environment

  • Red Hat OpenStack Platform 10.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content