Project

General

Profile

Actions

Bug #20023

closed

Internal server error when removing packages from a repository

Added by Samir Jha almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1459845

Description of problem:
Internal server error when removing packages from a repository

Version-Release number of selected component (if applicable):
  • candlepin-2.0.35-1.el7.noarch
  • candlepin-selinux-2.0.35-1.el7.noarch
  • foreman-1.15.0-1.el7sat.noarch
  • foreman-cli-1.15.0-1.el7sat.noarch
  • foreman-compute-1.15.0-1.el7sat.noarch
  • foreman-debug-1.15.0-1.el7sat.noarch
  • foreman-discovery-image-3.1.1-22.el7sat.noarch
  • foreman-ec2-1.15.0-1.el7sat.noarch
  • foreman-gce-1.15.0-1.el7sat.noarch
  • foreman-installer-1.15.0-1.el7sat.noarch
  • foreman-installer-katello-3.4.0.1-1.el7sat.noarch
  • foreman-libvirt-1.15.0-1.el7sat.noarch
  • foreman-openstack-1.15.0-1.el7sat.noarch
  • foreman-ovirt-1.15.0-1.el7sat.noarch
  • foreman-postgresql-1.15.0-1.el7sat.noarch
  • foreman-proxy-1.15.0-2.el7sat.noarch
  • foreman-rackspace-1.15.0-1.el7sat.noarch
  • foreman-selinux-1.15.0-1.el7sat.noarch
  • foreman-vmware-1.15.0-1.el7sat.noarch
  • katello-3.4.0-3.el7sat.noarch
  • katello-ca-consumer-sat-r220-02.lab.eng.rdu2.redhat.com-1.0-1.noarch
  • katello-certs-tools-2.4.0-1.el7sat.noarch
  • katello-client-bootstrap-1.3.0-1.el7sat.noarch
  • katello-common-3.4.0-3.el7sat.noarch
  • katello-debug-3.4.0-3.el7sat.noarch
  • katello-default-ca-1.0-1.noarch
  • katello-installer-base-3.4.0.1-1.el7sat.noarch
  • katello-selinux-3.0.2-1.el7sat.noarch
  • katello-server-ca-1.0-1.noarch
  • katello-service-3.4.0-3.el7sat.noarch
  • openldap-2.4.40-13.el7.x86_64
  • pulp-client-1.0-1.noarch
  • pulp-docker-plugins-2.3.0-1.el7sat.noarch
  • pulp-katello-1.0.2-1.el7sat.noarch
  • pulp-ostree-plugins-1.2.1-1.el7sat.noarch
  • pulp-puppet-plugins-2.12.2-1.el7sat.noarch
  • pulp-puppet-tools-2.12.2-1.el7sat.noarch
  • pulp-rpm-plugins-2.12.2-1.el7sat.noarch
  • pulp-selinux-2.12.2-1.el7sat.noarch
  • pulp-server-2.12.2-1.el7sat.noarch
  • python-ldap-2.4.15-2.el7.x86_64
  • tfm-rubygem-ldap_fluff-0.4.6-1.el7sat.noarch
  • tfm-rubygem-net-ldap-0.15.0-1.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. goto products create a product
2.select the created product
3.create a repository for example
4. synchronize the created reposity
5. select the created repository
6. select Content Type> Packages (click on the number of packages)
7. select some packages and click delete

Actual results:
no response, all the packages are disabled and the delete button also.
in the production log we can notice the server internal error

Expected results:
the packages deleted successfully response

Additional info:
Note when same procedure is done via API: the result is:
Received HTTP 500 response: {"displayMessage":"Task 6c8223c7-8734-4e82-9e31-7d958f3255fe: ActiveRecord::RecordNotFound: Couldn't find Katello::Repository with 'id'=","errors":["Task 6c8223c7-8734-4e82-9e31-7d958f3255fe: ActiveRecord::RecordNotFound: Couldn't find Katello::Repository with 'id'="]}

in any of the cases the packages are deleted, but no response in UI, HTTP 500 under API

Actions #1

Updated by Brad Buckingham almost 7 years ago

  • Target version set to 196
Actions #2

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6826 added
Actions #3

Updated by Samir Jha almost 7 years ago

  • Assignee set to Samir Jha
Actions #4

Updated by Anonymous almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Justin Sherrill almost 7 years ago

  • translation missing: en.field_release set to 258
Actions #6

Updated by Eric Helms almost 7 years ago

  • translation missing: en.field_release changed from 258 to 267
Actions #7

Updated by Eric Helms almost 7 years ago

  • translation missing: en.field_release changed from 267 to 258
Actions

Also available in: Atom PDF