{"action":"created","issue":{"url":"https://api.github.com/repos/fedora-infra/packagedb-cli/issues/91","repository_url":"https://api.github.com/repos/fedora-infra/packagedb-cli","labels_url":"https://api.github.com/repos/fedora-infra/packagedb-cli/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/fedora-infra/packagedb-cli/issues/91/comments","events_url":"https://api.github.com/repos/fedora-infra/packagedb-cli/issues/91/events","html_url":"https://github.com/fedora-infra/packagedb-cli/issues/91","id":147779062,"number":91,"title":"500 error when trying to approve new test package in staging","user":{"login":"ralphbean","id":331338,"avatar_url":"https://avatars.githubusercontent.com/u/331338?v=3","gravatar_id":"","url":"https://api.github.com/users/ralphbean","html_url":"https://github.com/ralphbean","followers_url":"https://api.github.com/users/ralphbean/followers","following_url":"https://api.github.com/users/ralphbean/following{/other_user}","gists_url":"https://api.github.com/users/ralphbean/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphbean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphbean/subscriptions","organizations_url":"https://api.github.com/users/ralphbean/orgs","repos_url":"https://api.github.com/users/ralphbean/repos","events_url":"https://api.github.com/users/ralphbean/events{/privacy}","received_events_url":"https://api.github.com/users/ralphbean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-12T15:00:03Z","updated_at":"2016-04-12T17:17:34Z","closed_at":null,"body":"```bash\r\n❯ pkgdb-admin --user ralph --pkgdburl https://admin.stg.fedoraproject.org/pkgdb --bzurl https://partner-bugzilla.redhat.com process 1457\r\nTo keep going, we need to authenticate against bugzilla at https://partner-bugzilla.redhat.com/xmlrpc.cgi\r\nBugzilla user: rbean@redhat.com\r\nBugzilla password: \r\n#1457 (Awaiting Review) - ralph requested the new package \"modules/testmodule\" on \"master\"\r\n       review: https://bugzilla.redhat.com/12345\r\n[+] Requester ralph is a packager\r\n[-] The bug title does not fit the expected one\r\n   exp: \"Review Request: testmodule - A test module for modularity in stg\" vs obs: \"ps-to-printer.fpi\"\r\n[-] Wrong bug component \r\n   exp: \"Package Review\" vs obs: \"rhs-printfilters\"\r\n[-] Wrong bug product \r\n   exp: \"Fedora\" vs obs: \"Red Hat Linux\"\r\n[-] Non-packager shishz@alum.rpi.edu commented on review bug\r\n[-] Non-packager notting@redhat.com commented on review bug\r\n[-] Non-packager hotfix-tracker-xmlrpc@redhat.com commented on review bug\r\n[-] Review bug created by `email shishz@alum.rpi.edu unknown to FAS` but request by ralph\r\n[-] fedora-review flag has not been touched\r\n\r\nWhat should we do about this requests?\r\napprove, deny, pass: approve\r\nFAS password for user ralph: \r\nFAS password for user ralph: \r\nError: HTTPSConnectionPool(host='admin.stg.fedoraproject.org', port=443): Max retries exceeded with url: /pkgdb/api/admin/action/status (Caused by ResponseError('too many 500 error responses',))\r\nERROR:root:Generic error catched:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/pkgdb2client/admin.py\", line 519, in main\r\n    arg.func(arg)\r\n  File \"/usr/lib/python2.7/site-packages/pkgdb2client/admin.py\", line 461, in do_process\r\n    data = __handle_request_package(actionid, action)\r\n  File \"/usr/lib/python2.7/site-packages/pkgdb2client/admin.py\", line 325, in __handle_request_package\r\n    'status': 'Approved'\r\n  File \"/usr/lib/python2.7/site-packages/pkgdb2client/__init__.py\", line 211, in handle_api_call\r\n    output = self.call_api(path, params, data)\r\n  File \"/usr/lib/python2.7/site-packages/pkgdb2client/__init__.py\", line 192, in call_api\r\n    data = self.send_request(url, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/fedora/client/openidbaseclient.py\", line 240, in send_request\r\n    output = func(method, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 511, in post\r\n    return self.request('POST', url, data=data, json=json, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 468, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 576, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/requests/adapters.py\", line 435, in send\r\n    raise RetryError(e, request=request)\r\nRetryError: HTTPSConnectionPool(host='admin.stg.fedoraproject.org', port=443): Max retries exceeded with url: /pkgdb/api/admin/action/status (Caused by ResponseError('too many 500 error responses',))\r\n```\r\n\r\nI'll go look for logs on the server side next.."},"comment":{"url":"https://api.github.com/repos/fedora-infra/packagedb-cli/issues/comments/209013468","html_url":"https://github.com/fedora-infra/packagedb-cli/issues/91#issuecomment-209013468","issue_url":"https://api.github.com/repos/fedora-infra/packagedb-cli/issues/91","id":209013468,"user":{"login":"ralphbean","id":331338,"avatar_url":"https://avatars.githubusercontent.com/u/331338?v=3","gravatar_id":"","url":"https://api.github.com/users/ralphbean","html_url":"https://github.com/ralphbean","followers_url":"https://api.github.com/users/ralphbean/followers","following_url":"https://api.github.com/users/ralphbean/following{/other_user}","gists_url":"https://api.github.com/users/ralphbean/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphbean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphbean/subscriptions","organizations_url":"https://api.github.com/users/ralphbean/orgs","repos_url":"https://api.github.com/users/ralphbean/repos","events_url":"https://api.github.com/users/ralphbean/events{/privacy}","received_events_url":"https://api.github.com/users/ralphbean/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T17:17:34Z","updated_at":"2016-04-12T17:17:34Z","body":"I noticed that if I change ``retries=None`` in pkgdbclient's call to ``super().__init_(...)``, then it prints out the message nicely."}}