When using shared storage and image cache cleanup I get the following error:
2013-06-26 09:28:39.483 28612 ERROR nova.manager [-] Error during ComputeManager._run_image_cache_manager_pass: Extra data: line 1 column 51 - line 1 column 52 (char 51 - 52)
2013-06-26 09:28:39.483 28612 TRACE nova.manager Traceback (most recent call last):
2013-06-26 09:28:39.483 28612 TRACE nova.manager File "/usr/lib/python2.7/dist-packages/nova/manager.py", line 241, in periodic_tasks
2013-06-26 09:28:39.483 28612 TRACE nova.manager task(self, context)
2013-06-26 09:28:39.483 28612 TRACE nova.manager File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4042, in _run_image_cache_manager_pass
2013-06-26 09:28:39.483 28612 TRACE nova.manager storage_users.register_storage_use(CONF.instances_path, CONF.host)
2013-06-26 09:28:39.483 28612 TRACE nova.manager File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 228, in inner
2013-06-26 09:28:39.483 28612 TRACE nova.manager retval = f(*args, **kwargs)
2013-06-26 09:28:39.483 28612 TRACE nova.manager File "/usr/lib/python2.7/dist-packages/nova/virt/storage_users.py", line 40, in register_storage_use
2013-06-26 09:28:39.483 28612 TRACE nova.manager d = json.loads(f.read())
2013-06-26 09:28:39.483 28612 TRACE nova.manager File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
2013-06-26 09:28:39.483 28612 TRACE nova.manager return _default_decoder.decode(s)
2013-06-26 09:28:39.483 28612 TRACE nova.manager File "/usr/lib/python2.7/json/decoder.py", line 369, in decode
2013-06-26 09:28:39.483 28612 TRACE nova.manager raise ValueError(errmsg("Extra data", s, end, len(s)))
The content of my compute_nodes file is:
{"cc1": 1372201741.468479, "cc2": 1372201743.64854}}
You'll see it has an extra }
Got:
{"cc1": 1372208115.092, "cc2": 1372208111. 789594} 87}
In that file this time, sometime it works and sometimes it doesn't