yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05443
[Bug 1194696] Re: register_storage_use JSON error
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-rc1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1194696
Title:
register_storage_use JSON error
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
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 }
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1194696/+subscriptions