Bug 694974

Summary: [abrt] fedora-easy-karma-0-0.11.20101123gitf70e9b6d.fc15: proxyclient.py:292:send_request:ServerError: ServerError(https://admin.fedoraproject.org/updates/list, 500, Internal Server Error)
Product: [Fedora] Fedora Reporter: Andre Robatino <robatino>
Component: fedora-easy-karmaAssignee: Till Maas <opensource>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: bruno, lmacken, opensource
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a6eff97e
Fixed In Version: fedora-easy-karma-0-0.19.20130707git121694f6.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-12 02:56:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Andre Robatino 2011-04-09 10:19:57 UTC
abrt version: 1.1.17
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/fedora-easy-karma
component: fedora-easy-karma
executable: /usr/bin/fedora-easy-karma
kernel: 2.6.39-0.rc2.git0.0.fc16.x86_64
package: fedora-easy-karma-0-0.11.20101123gitf70e9b6d.fc15
reason: proxyclient.py:292:send_request:ServerError: ServerError(https://admin.fedoraproject.org/updates/list, 500, Internal Server Error)
release: Fedora release 16 (Rawhide)
time: 1302344100
uid: 500

backtrace
-----
proxyclient.py:292:send_request:ServerError: ServerError(https://admin.fedoraproject.org/updates/list, 500, Internal Server Error)

Traceback (most recent call last):
  File "/usr/bin/fedora-easy-karma", line 452, in <module>
    FedoraEasyKarma()
  File "/usr/bin/fedora-easy-karma", line 288, in __init__
    testing_updates = bc.query(release=release, status="testing", limit=1000)["updates"]
  File "/usr/lib/python2.7/site-packages/fedora/client/bodhi.py", line 147, in query
    return self.send_request('list', req_params=params, auth=auth)
  File "/usr/lib/python2.7/site-packages/fedora/client/baseclient.py", line 316, in send_request
    req_params = req_params, auth_params = auth_params)
  File "/usr/lib/python2.7/site-packages/fedora/client/proxyclient.py", line 292, in send_request
    raise ServerError(url, http_status, msg)
ServerError: ServerError(https://admin.fedoraproject.org/updates/list, 500, Internal Server Error)

Local variables in innermost frame:
username: None
req_params: {'status': 'testing', 'tg_paginate_limit': 1000, 'release': 'F16'}
url: 'https://admin.fedoraproject.org/updates/list'
self: <fedora.client.bodhi.BodhiClient object at 0x2896790>
request: <pycurl.Curl object at 0x746a560>
session_id: None
req_data: 'status=testing&tg_paginate_limit=1000&release=F16'
auth_params: {}
headers: ['User-agent: Fedora Easy Karma/0-0.11.20101123gitf70e9b6d.fc15', 'Accept: application/json']
complete_params: {'status': 'testing', 'tg_paginate_limit': 1000, 'release': 'F16'}
http_status: 500
msg: 'Internal Server Error'
method: 'list'
password: None
data: None
response: <fedora.client.proxyclient._PyCurlData object at 0x7434e50>

How to reproduce
-----
1. Attempt to run fedora-easy-karma on Rawhide (where it is expected to fail somehow, but not with a crash).

Comment 1 Andre Robatino 2011-04-09 10:19:59 UTC
Created attachment 490943 [details]
File: backtrace

Comment 2 Luke Macken 2011-06-07 15:21:37 UTC
It looks like this issue is due to an intermittent outage in our account system. Please re-open this bug if you still experience this problem.

Comment 3 Andre Robatino 2011-06-07 19:05:51 UTC
Here's the output when I run it now:

[andre@localhost ~]$ fedora-easy-karma
Getting list of installed packages...
Getting list of packages in updates-testing...
Traceback (most recent call last):
  File "/usr/bin/fedora-easy-karma", line 452, in <module>
    FedoraEasyKarma()
  File "/usr/bin/fedora-easy-karma", line 288, in __init__
    testing_updates = bc.query(release=release, status="testing", limit=1000)["updates"]
  File "/usr/lib/python2.7/site-packages/fedora/client/bodhi.py", line 147, in query
    return self.send_request('list', req_params=params, auth=auth)
  File "/usr/lib/python2.7/site-packages/fedora/client/baseclient.py", line 344, in send_request
    auth_params=auth_params, retries=retries)
  File "/usr/lib/python2.7/site-packages/fedora/client/proxyclient.py", line 404, in send_request
    raise ServerError(url, http_status, msg)
fedora.client.ServerError: ServerError(https://admin.fedoraproject.org/updates/list, 500, Internal Server Error)
[andre@localhost ~]$

Comment 4 Luke Macken 2011-06-07 19:47:09 UTC
Andre, are you running this from a rawhide install?  I'm seeing a traceback in bodhi when fedora-easy-karma is querying for F16 updates (which don't exist yet).

Comment 5 Andre Robatino 2011-06-07 19:54:01 UTC
(In reply to comment #4)
> Andre, are you running this from a rawhide install?  I'm seeing a traceback in
> bodhi when fedora-easy-karma is querying for F16 updates (which don't exist
> yet).

Yes - that was the point of this bug (see "How to reproduce" in comment 0 ). It works fine in F15 and below.

Comment 6 Fedora End Of Life 2013-04-03 19:35:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 7 Fedora Update System 2013-07-07 21:56:41 UTC
fedora-easy-karma-0-0.19.20130707git121694f6.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.19.20130707git121694f6.fc19

Comment 8 Fedora Update System 2013-07-07 21:57:14 UTC
fedora-easy-karma-0-0.19.20130707git121694f6.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/fedora-easy-karma-0-0.19.20130707git121694f6.fc18

Comment 9 Fedora Update System 2013-07-09 01:30:43 UTC
Package fedora-easy-karma-0-0.19.20130707git121694f6.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fedora-easy-karma-0-0.19.20130707git121694f6.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-12590/fedora-easy-karma-0-0.19.20130707git121694f6.fc18
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2013-07-12 02:56:49 UTC
fedora-easy-karma-0-0.19.20130707git121694f6.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2013-07-25 00:46:30 UTC
fedora-easy-karma-0-0.19.20130707git121694f6.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.