Skip to content

Mention failed url on http error #14

@larstiq

Description

@larstiq

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions