HTTP 500 Internal server error when calling scheduler.pending_jobs_by_device_type over XML-RPC to v.l.o
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Scheduler (deprecated) |
Fix Released
|
Medium
|
Neil Williams |
Bug Description
This chunk of code produces an HTTP 500 from v.l.o:
import xmlrpclib
server = xmlrpclib.
print server.
xmlrpclib.
However change the url to staging or playground and you get the expected result.
Log file from control:
ERROR:django.
Traceback (most recent call last):
File "/srv/lava/
response = callback(request, *callback_args, **callback_kwargs)
File "/srv/lava/
return view_func(*args, **kwargs)
File "/srv/lava/
result = dispatcher.
File "/srv/lava/
response, methodresponse=1, allow_none=
File "/usr/lib/
data = m.dumps(params)
File "/usr/lib/
dump(v, write)
File "/usr/lib/
f(self, value, write)
File "/usr/lib/
raise TypeError, "dictionary key must be string"
TypeError: dictionary key must be string
Related branches
- Matthew Hart: Approve
-
Diff: 21 lines (+7/-2)1 file modifiedlava_scheduler_app/api.py (+7/-2)
Changed in lava-scheduler: | |
assignee: | nobody → Neil Williams (codehelp) |
status: | New → Confirmed |
Changed in lava-scheduler: | |
status: | In Progress → Fix Committed |
Changed in lava-scheduler: | |
status: | Fix Committed → Fix Released |
This temporarily went away this morning, so I put my script into salt and the munin graphs were working.
Now they've just stopped and it's the same problem ProtocolError: <ProtocolError for validation. linaro. org/RPC2: 500 INTERNAL SERVER ERROR>
xmlrpclib.