Created attachment 566320 [details] traceback Description of problem: As I performed a series of continuous sync and promote cycles for RHEL 6.1, 6.2 repositories (from manifest) and custom provider content, when I attempted to promote both types of content for the first time, the process failed to complete with the error that can be seen in the subject Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Created SaoPaulo organization with Library > Dev1 > QA1 > GA1 environments 2. Uploaded manifest and selected RPMs repositories for both RHEL 6.1 and 6.2 Servers, x86_64 3. Synchronized content 4. Promoted RHEL content (all of it) to Dev1 environment 5. Synchronized content again 6. Added new custom content pointing to internal BREW repository for SE 7. Synchronized all available repositories 8. Promoted both RHEL and custom repository content to Dev1 Actual results: The web ui showed a message stating that the promotion failed. Expected results: Additional info: (traceback attached) 2012-02-28T08:50:56-0500: [Worker(delayed_job host:qetello02.usersys.redhat.com pid:19369)] Changeset#promote_content failed with NoMethodError: undefined method `[]' for nil:NilClass - 0 failed attempts 2012-02-28T08:50:56-0500: [Worker(delayed_job host:qetello02.usersys.redhat.com pid:19369)] PERMANENTLY removing Changeset#promote_content because of 1 consecutive failures. undefined method `[]' for nil:NilClass
Notes: There was probably change in pulp error reporting API - Katello needs to reflect this changes: moving error from "result" to "exception" and "traceback"
Created attachment 566577 [details] Script for reproduction sync error due to conflict in sha checksums Attaching a script that reproduces the error
Fixed in commit 5fb97dc158bcdc642eb2a37cf152338ab91faa67 After short investigation it was only using string instead of symbol for accessing pulp errors.
Notice: this is a fix for correct handling of pulp error messages, the problem with the error in Pulp is handled in https://bugzilla.redhat.com/show_bug.cgi?id=798301
mass move ON_QA after brewing
Verified: * candlepin-0.5.24-1.el6.noarch * candlepin-tomcat6-0.5.24-1.el6.noarch * katello-0.1.303-1.el6.noarch * katello-all-0.1.303-1.el6.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.0.4-1.el6.noarch * katello-cli-0.1.102-1.el6.noarch * katello-cli-common-0.1.102-1.el6.noarch * katello-common-0.1.303-1.el6.noarch * katello-configure-0.1.104-1.el6.noarch * katello-glue-candlepin-0.1.303-1.el6.noarch * katello-glue-foreman-0.1.303-1.el6.noarch * katello-glue-pulp-0.1.303-1.el6.noarch * katello-qpid-broker-key-pair-1.0-1.noarch * katello-qpid-client-key-pair-1.0-1.noarch * katello-selinux-0.1.8-1.el6.noarch * pulp-1.0.0-4.el6.noarch * pulp-common-1.0.0-4.el6.noarch * pulp-selinux-server-1.0.0-4.el6.noarch
getting rid of 6.0.0 version since that doesn't exist