Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention failed url on http error #14

Open
larstiq opened this issue Jun 30, 2017 · 0 comments
Open

Mention failed url on http error #14

larstiq opened this issue Jun 30, 2017 · 0 comments

Comments

@larstiq
Copy link
Contributor

larstiq commented Jun 30, 2017

Got the following backtrace, which by itself does not have enough information:

2017-06-30 11:23:41,451 RuoteAMQP.participant ERROR: Exception in participant change_request_state
while handling instance 20170630-1113-herarage-puyudene of process BOSS_handle_SR
Note: for information only. Participant remains functional.
Error is being signalled to the workflow (unless this workitem is 'forgotten').

2017-06-30 11:23:41,452 RuoteAMQP.participant ERROR:
------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/RuoteAMQP/participant.py", line 84, in run
    self.__participant.consume()
  File "/usr/lib/python2.7/site-packages/SkyNET/Exo.py", line 80, in consume
    self.exo.handler.handle_wi(self.workitem)
  File "/usr/share/boss-skynet/change_request_state.py", line 170, in handle_wi
    self.handle_request(wid)
  File "/usr/share/boss-skynet/change_request_state.py", line 141, in handle_request
    res = self.obs.setRequestState(str(rid), str(newstate), str(msgstring))
  File "/usr/lib/python2.7/site-packages/buildservice/api.py", line 1153, in setRequestState
    ret = core.change_request_state(self.apiurl, rid, new_state, message=msg)
  File "/usr/lib/python2.7/site-packages/osc/core.py", line 3643, in change_request_state
    f = http_POST(u, data=message)
  File "/usr/lib/python2.7/site-packages/osc/core.py", line 2922, in http_POST
    def http_POST(*args, **kwargs):   return http_request('POST', *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/osc/core.py", line 2909, in http_request
    fd = urllib2.urlopen(req, data=data)
  File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 400, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 513, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 432, in error
    result = self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 372, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 872, in http_error_401
    url, req, headers)
  File "/usr/lib64/python2.7/urllib2.py", line 850, in http_error_auth_reqed
    return self.retry_http_basic_auth(host, req, realm)
  File "/usr/lib64/python2.7/urllib2.py", line 860, in retry_http_basic_auth
    return self.parent.open(req, timeout=req.timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 400, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 513, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 438, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 372, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 521, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant