#11404 `beanbag.bbexcept.BeanBagException: Bad response code: 500` when creating new branch of rpms
Closed: Fixed with Explanation 2 years ago by kevin. Opened 2 years ago by topazus.

After using fedpkg request-branch f37 to create new branch of package repository, the corresponding issue showed the following error:

Traceback (most recent call last):
  File "/code/toddlers/plugins/scm_request_processor.py", line 200, in process
    self.process_ticket(issue)
  File "/code/toddlers/plugins/scm_request_processor.py", line 312, in process_ticket
    self.create_new_branch(issue, issue_body)
  File "/code/toddlers/plugins/scm_request_processor.py", line 784, in create_new_branch
    pdc.new_sla_to_branch(sla, eol, repo, branch_name, branch_type)
  File "/code/toddlers/utils/pdc.py", line 105, in new_sla_to_branch
    sla = get_sla_for_branch(
  File "/code/toddlers/utils/pdc.py", line 82, in get_sla_for_branch
    sla_query = pdc["component-branch-slas"]._(**query_args)
  File "/usr/lib/python3.10/site-packages/pdc_client/__init__.py", line 347, in __call__
    return self.client(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/beanbag/namespace.py", line 135, in fn
    return basefn(getattr(self, ".base"), getattr(self, ".path"),
  File "/usr/lib/python3.10/site-packages/beanbag/url_v1.py", line 102, in call
    return self.make_request(path, verb, kwargs, body)
  File "/usr/lib/python3.10/site-packages/beanbag/url_v1.py", line 154, in make_request
    raise BeanBagException(r,
beanbag.bbexcept.BeanBagException: Bad response code: 500

ref: https://pagure.io/releng/fedora-scm-requests/issue/54459


Metadata Update from @kevin:
- Issue assigned to kevin

2 years ago

This was one of our pdc web frontends throwing 500s

I retried that request and it should be done and restarted the pdc-web02 web server so it stops failing.

Let us know if there's still any problems with it.

Metadata Update from @kevin:
- Issue close_status updated to: Fixed with Explanation
- Issue status updated to: Closed (was: Open)

2 years ago

Log in to comment on this ticket.

Metadata