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.
Created attachment 565005[details]
Web UI displaying error
Description of problem:
Katello's task lookup request during a repository promotion times out if a task takes too long to run. I'm not sure what the limit is in katello, but when promoting 3 RHEL repositories, this process will take more than 1-2 hours. The web ui tells me that my promotion has failed, but eventually pulp.log shows that the promotion succeeded.
Version-Release number of selected component (if applicable):
* candlepin-0.5.20-1.el6.noarch
* candlepin-tomcat6-0.5.20-1.el6.noarch
* katello-0.1.238-4.el6.noarch
* katello-all-0.1.238-4.el6.noarch
* katello-certs-tools-1.0.2-2.el6.noarch
* katello-cli-0.1.54-2.el6.noarch
* katello-cli-common-0.1.54-2.el6.noarch
* katello-common-0.1.238-4.el6.noarch
* katello-configure-0.1.64-5.el6.noarch
* katello-glue-candlepin-0.1.238-4.el6.noarch
* katello-glue-foreman-0.1.238-4.el6.noarch
* katello-glue-pulp-0.1.238-4.el6.noarch
* katello-httpd-ssl-key-pair-1.0-1.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-repos-0.1.5-1.el6.noarch
* katello-selinux-0.1.5-2.el6.noarch
* katello-trusted-ssl-cert-1.0-1.noarch
* pulp-0.0.265-1.el6.noarch
* pulp-admin-0.0.265-1.el6.noarch
* pulp-client-lib-0.0.265-1.el6.noarch
* pulp-common-0.0.265-1.el6.noarch
* pulp-selinux-server-0.0.265-1.el6.noarch
How reproducible:
Steps to Reproduce:
1. Created Seattle organization with Dev1, QA1 and GA1 environments
2. Added custom provider with a single product and 2 repositories pointing to el6-se and el6-tools content from latest puddle
3. Promoted all of the product to all environments, one at a time
4. Added a manifest and selected:
* Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server
* Red Hat Enterprise Linux 6 Server RPMs x86_64 6.2
* Red Hat Enterprise Linux 6 Server RPMs x86_64 6.1
5. Synchronized all of the selected RHEL repositories
6. Added new filter and added httpd against all available RHEL repositories
7. Added new promotion and promoted only the RHEL content
Actual results:
After a long time the web ui showed (see attached screenshot) the following error message:
Failed to promote changeset 'promo-1-1'. Check notices for more details
Expected results:
Additional info:
When this problem happened, the following message was displayed in pulp.log:
pulp.server.api.synchronizers:INFO: synchronizers:829 Running createrepo, this may take a few minutes to complete.
katello/production.log had the following (full traceback attached) error:
Pulp::Task: Request Timeout
Trying something here:
17578c00fc216f8c84dc0c2ce1f4461fa468876b
Now if we get a timeout during a status check in promotion, we wait an extra 50 seconds to give the pulp server some breathing room.
If after 10 consecutive timeouts we still fail. Most likely if pulp is throwing timeouts after 10 minutes, something bad is going on.
Let me know if this improves anything.
Created attachment 565005 [details] Web UI displaying error Description of problem: Katello's task lookup request during a repository promotion times out if a task takes too long to run. I'm not sure what the limit is in katello, but when promoting 3 RHEL repositories, this process will take more than 1-2 hours. The web ui tells me that my promotion has failed, but eventually pulp.log shows that the promotion succeeded. Version-Release number of selected component (if applicable): * candlepin-0.5.20-1.el6.noarch * candlepin-tomcat6-0.5.20-1.el6.noarch * katello-0.1.238-4.el6.noarch * katello-all-0.1.238-4.el6.noarch * katello-certs-tools-1.0.2-2.el6.noarch * katello-cli-0.1.54-2.el6.noarch * katello-cli-common-0.1.54-2.el6.noarch * katello-common-0.1.238-4.el6.noarch * katello-configure-0.1.64-5.el6.noarch * katello-glue-candlepin-0.1.238-4.el6.noarch * katello-glue-foreman-0.1.238-4.el6.noarch * katello-glue-pulp-0.1.238-4.el6.noarch * katello-httpd-ssl-key-pair-1.0-1.noarch * katello-qpid-broker-key-pair-1.0-1.noarch * katello-repos-0.1.5-1.el6.noarch * katello-selinux-0.1.5-2.el6.noarch * katello-trusted-ssl-cert-1.0-1.noarch * pulp-0.0.265-1.el6.noarch * pulp-admin-0.0.265-1.el6.noarch * pulp-client-lib-0.0.265-1.el6.noarch * pulp-common-0.0.265-1.el6.noarch * pulp-selinux-server-0.0.265-1.el6.noarch How reproducible: Steps to Reproduce: 1. Created Seattle organization with Dev1, QA1 and GA1 environments 2. Added custom provider with a single product and 2 repositories pointing to el6-se and el6-tools content from latest puddle 3. Promoted all of the product to all environments, one at a time 4. Added a manifest and selected: * Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server * Red Hat Enterprise Linux 6 Server RPMs x86_64 6.2 * Red Hat Enterprise Linux 6 Server RPMs x86_64 6.1 5. Synchronized all of the selected RHEL repositories 6. Added new filter and added httpd against all available RHEL repositories 7. Added new promotion and promoted only the RHEL content Actual results: After a long time the web ui showed (see attached screenshot) the following error message: Failed to promote changeset 'promo-1-1'. Check notices for more details Expected results: Additional info: When this problem happened, the following message was displayed in pulp.log: pulp.server.api.synchronizers:INFO: synchronizers:829 Running createrepo, this may take a few minutes to complete. katello/production.log had the following (full traceback attached) error: Pulp::Task: Request Timeout