Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Fix for this particular problem is in commit a003471ad4f4607.
There is a bug in orchestration with CP as well:
RestClient::InternalServerError: Candlepin::Product: 500 Internal Server Error {"displayMessage":"Runtime Error Error while commiting the transaction at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError:2,598"} (DELETE /candlepin/products/37067)
error: operation failed: RestClient::InternalServerError: Candlepin::Product: 500 Internal Server Error {"displayMessage":"Runtime Error Error while commiting the transaction at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError:2,598"} (DELETE /candlepin/products/37067)
The problem is subscriptions for products are not deleted properly - problem with providedProducts.
Orchestration issues fixed in
commit b90cc5f0eee06a704560c26e45be2cbac213880d
Author: Tomas Strachota <tstrachota>
Date: Wed Oct 26 14:02:24 2011 +0200
prod orch - fix for deleting subscriptions of provided products
NOTE: We can no longer delete RedHat providers directly. They can be removed only when it's organization is deleted.
# VERIFIED
Doing org remove when it already has manifest imported - is fine now.
issue is fixed:
---
katello-0.1.238-1.git.1.99abb2d.el6.noarch
package katello-cli is not installed
pulp-0.0.264-1.el6.noarch
candlepin-0.5.17-1.el6.noarch
subscription-manager-0.99.6-1.el6.x86_64
katello-configure-0.1.64-1.git.0.219edef.el6.noarch
How reproducible: Steps to Reproduce: 1.import manifest 2.delete provider Actual results: error: operation failed: RestClient::InternalServerError: Pulp::Repository: 500 Internal Server Error "Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py", line 48, in report_error return method(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py", line 127, in _auth_decorator value = method(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/repositories.py", line 347, in DELETE api.delete(id=id) File "/usr/lib/python2.7/site-packages/pulp/server/api/repo.py", line 470, in delete repo = self._get_existing_repo(id) File "/usr/lib/python2.7/site-packages/pulp/server/api/repo.py", line 116, in _get_existing_repo raise PulpException("No Repo with id: %s found" % id) PulpException: u'No Repo with id: 37067-never-enabled-content-Import_Org_12e624 found' " (DELETE /pulp/api/repositories/37067-never-enabled-content-Import_Org_12e624/) RestClient::InternalServerError: Pulp::Repository: 500 Internal Server Error "Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py", line 48, in report_error return method(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py", line 127, in _auth_decorator value = method(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/repositories.py", line 347, in DELETE api.delete(id=id) File "/usr/lib/python2.7/site-packages/pulp/server/api/repo.py", line 470, in delete repo = self._get_existing_repo(id) File "/usr/lib/python2.7/site-packages/pulp/server/api/repo.py", line 116, in _get_existing_repo raise PulpException("No Repo with id: %s found" % id) PulpException: u'No Repo with id: 37067-never-enabled-content-Import_Org_12e624 found' " (DELETE /pulp/api/repositories/37067-never-enabled-content-Import_Org_12e624/) Expected results: Provider deleted successfully Additional info: Probably repo-id generating issue while import_manifest. Should be product_id-repo_name-org, is product_id-content_id-org.