#5628 500 Server Error from bodhi.stg.fedoraproject.org
Closed: Fixed Opened by cqi.

I use bodhi to create a new update in bodhi.stg

bodhi updates new --staging --notes-file bodhi.template --user cqi rpkg-1.47-5.fc25

get 500 Server Error

...
<div class="row">
  <div class="col-md-offset-3 col-md-6">
    <div class="panel error-page-panel">
      <h1>500 <small>Server Error</small></h1>
      <p class="lead">(-1765328189, 'No credentials cache found')</p>
    </div>
  </div>
</div>
...

Then, this causes bodhi client fails to parse it as a JSON data.

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/bodhi/client/__init__.py", line 79, in new
    resp = client.save(**update)
  File "/usr/lib/python2.7/site-packages/fedora/client/bodhi.py", line 82, in wrapper
    result = method(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/fedora/client/bodhi.py", line 162, in save
    data=kwargs)
  File "/usr/lib/python2.7/site-packages/fedora/client/openidbaseclient.py", line 254, in send_request
    'output': to_bytes(output.text),
ServerError: ServerError(https://bodhi.stg.fedoraproject.org/updates/, 500, Error returned from json module while processing https://bodhi.stg.fedo
raproject.org/updates/: No JSON object could be decoded

I'm using bodhi-client-2.3.3-1.fc26.noarch.


@puiterwijk can you take a look? looks like a missing keytab or somehow it's using /tmp for credentials cache...

This is now fixed. The staging server was using an entirely different config file, and as such was never configured to use kerberos at all.

@puiterwijk changed the status to Closed

Metadata