[Openstack-operators] Glance stopped working
Alvise Dorigo
alvise.dorigo at pd.infn.it
Thu Nov 13 13:41:26 UTC 2014
Hi,
I'm installing Havan 9 Openstack on a SL 6.5 (without update to 6.6, and
yum-autoupdate disabled). Untill some month ago no problem. Today
glance-api, installed from scratch, is crashing with this error:
2014-11-13 13:25:21.443 7833 CRITICAL glance [-] Expecting , delimiter:
line 5 column 5 (char 103)
2014-11-13 13:25:21.443 7833 TRACE glance Traceback (most recent call last):
2014-11-13 13:25:21.443 7833 TRACE glance File "/usr/bin/glance-api",
line 10, in <module>
2014-11-13 13:25:21.443 7833 TRACE glance sys.exit(main())
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib/python2.6/site-packages/glance/cmd/api.py", line 60, in main
2014-11-13 13:25:21.443 7833 TRACE glance
glance.store.verify_default_store()
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib/python2.6/site-packages/glance/store/__init__.py", line 197,
in verify_default_store
2014-11-13 13:25:21.443 7833 TRACE glance context =
glance.context.RequestContext()
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib/python2.6/site-packages/glance/context.py", line 46, in __init__
2014-11-13 13:25:21.443 7833 TRACE glance
self.policy_enforcer.check_is_admin(self)
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib/python2.6/site-packages/glance/api/policy.py", line 155, in
check_is_admin
2014-11-13 13:25:21.443 7833 TRACE glance return self.check(context,
'context_is_admin', target)
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib/python2.6/site-packages/glance/api/policy.py", line 145, in check
2014-11-13 13:25:21.443 7833 TRACE glance return
self._check(context, action, target)
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib/python2.6/site-packages/glance/api/policy.py", line 115, in _check
2014-11-13 13:25:21.443 7833 TRACE glance self.load_rules()
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib/python2.6/site-packages/glance/api/policy.py", line 67, in
load_rules
2014-11-13 13:25:21.443 7833 TRACE glance rules =
self._read_policy_file()
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib/python2.6/site-packages/glance/api/policy.py", line 99, in
_read_policy_file
2014-11-13 13:25:21.443 7833 TRACE glance rules_dict =
json.loads(raw_contents)
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib64/python2.6/json/__init__.py", line 307, in loads
2014-11-13 13:25:21.443 7833 TRACE glance return
_default_decoder.decode(s)
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib64/python2.6/json/decoder.py", line 319, in decode
2014-11-13 13:25:21.443 7833 TRACE glance obj, end =
self.raw_decode(s, idx=_w(s, 0).end())
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib64/python2.6/json/decoder.py", line 336, in raw_decode
2014-11-13 13:25:21.443 7833 TRACE glance obj, end =
self._scanner.iterscan(s, **kw).next()
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib64/python2.6/json/scanner.py", line 55, in iterscan
2014-11-13 13:25:21.443 7833 TRACE glance rval, next_pos = action(m,
context)
2014-11-13 13:25:21.443 7833 TRACE glance File
"/usr/lib64/python2.6/json/decoder.py", line 193, in JSONObject
2014-11-13 13:25:21.443 7833 TRACE glance raise
ValueError(errmsg("Expecting , delimiter", s, end - 1))
2014-11-13 13:25:21.443 7833 TRACE glance ValueError: Expecting ,
delimiter: line 5 column 5 (char 103)
2014-11-13 13:25:21.443 7833 TRACE glance
Any idea ?
Alvise
More information about the OpenStack-operators
mailing list