[Spacewalk-list] SpaceWalk/Cobblerd: ValueError: No JSON object could be decoded

Bruce McAlister bruce.mcalister at blueface.com
Tue Jun 16 22:01:51 UTC 2015


Hi All,

For future reference, in-case anyone comes accross the same issue, I had 
to remove all zero byte files located in the /var/lib/cobbler/config 
directory structure.

Thanks
Bruce

On 16/06/2015 15:44, Bruce McAlister wrote:
> Hi All,
>
> NOTE: I posted this message to the cobbler mailing list too, however, I
> wonder if it would be more appropriate here.
>
>
> I am facing a strange issue after upgrading spacewalk from v2.2 to v2.3,
> I am having issues starting cobblerd which fails with the error message
> at the bottom of the mail:
>
> I came accross the following reference at RHN, but since I am not a
> subscriber, I cannot view the solution:
>
> https://access.redhat.com/solutions/184053
>
> Has anyone come accross this, or can you offer any suggestions on where
> to look to debug this issue:
>
>
> Starting cobbler daemon: Traceback (most recent call last):
>    File "/usr/bin/cobblerd", line 76, in main
>      api = cobbler_api.BootAPI(is_cobblerd=True)
>    File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 128, in
> __init__
>      self.deserialize()
>    File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 690, in
> deserialize
>      return self._config.deserialize()
>    File "/usr/lib/python2.6/site-packages/cobbler/config.py", line 208,
> in deserialize
>      serializer.deserialize(self._profiles)
>    File "/usr/lib/python2.6/site-packages/cobbler/serializer.py", line
> 122, in deserialize
>      rc = storage_module.deserialize(obj,topological)
>    File
> "/usr/lib/python2.6/site-packages/cobbler/modules/serializer_catalog.py", line
> 186, in deserialize
>      datastruct = deserialize_raw(obj.collection_type())
>    File
> "/usr/lib/python2.6/site-packages/cobbler/modules/serializer_catalog.py", line
> 156, in deserialize_raw
>      datastruct = simplejson.loads(ydata, encoding='utf-8')
>    File "/usr/lib64/python2.6/site-packages/simplejson/__init__.py",
> line 318, in loads
>      return cls(encoding=encoding, **kw).decode(s)
>    File "/usr/lib64/python2.6/site-packages/simplejson/decoder.py", line
> 335, in decode
>      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
>    File "/usr/lib64/python2.6/site-packages/simplejson/decoder.py", line
> 353, in raw_decode
>      raise ValueError("No JSON object could be decoded")
> ValueError: No JSON object could be decoded
>
> Thanks
> Bruce





More information about the Spacewalk-list mailing list