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.
Bug 755107 - Promoting errata fails with connection timed out to pulp
Summary: Promoting errata fails with connection timed out to pulp
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Mike McCune
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-11-18 21:07 UTC by Justin Sherrill
Modified: 2019-09-25 21:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:07:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Justin Sherrill 2011-11-18 21:07:22 UTC
Description of problem:
Promoting an errata gives the following error as part of the delayed job:


2011-11-18T15:10:35-0500: [Worker(delayed_job host:dhcp77-170.rhndev.redhat.com pid:1933)] Changeset#promote_content failed with RestClient::RequestTimeout: Pulp::Repository: Request Timeout  (GET /pulp/api/repositories/ACME_Corporation-Devel-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_61_x86_64/packages/) - 0 failed attempts
2011-11-18T15:10:36-0500: [Worker(delayed_job host:dhcp77-170.rhndev.redhat.com pid:1933)] PERMANENTLY removing Changeset#promote_content because of 1 consecutive failures.


Version-Release number of selected component (if applicable):
katello-0.1.108-2.el6.x86_64
pulp-0.0.248-3.el6.noarch


How reproducible:
always for me

Steps to Reproduce:
1.  Add an errata to a changeset
2.  Promote said changeset

  
Actual results:
Changeset fails to promote


Additional info:
I'm not sure if this is specific to my environment.  Listing packages for that repo seems to work fine from within the console (and viewing the packages of the product in the UI), so i'm not sure why it would timeout during promotion

Comment 1 Mike McCune 2011-11-30 21:26:14 UTC
A workaround that can be attempted in the short term is increasing the timeout value in our configuration file:

common:
 ...
  rest_client_timeout: 30

change that to 120 and restart katello and katello-jobs services.

Comment 2 Mike McCune 2011-11-30 21:27:00 UTC
forgot to mention the config file is located : /etc/katello/katello.yml

Comment 3 Mike McCune 2011-11-30 23:42:55 UTC
we will be testing with an updated version of pulp that greatly speeds up promotion.  This should help or remove these timeout issues.

Comment 4 Mike McCune 2011-12-02 22:59:57 UTC
Updated version of pulp :

pulp-0.0.253-1.el6.noarch

or greater fixes this issue.  moving to MODIFIED

Comment 5 Mike McCune 2012-01-26 19:07:40 UTC
mass ON_QA move

Comment 8 Garik Khachikyan 2012-02-01 11:42:27 UTC
# VERIFIED

doing promotion of the changeset (having erratas) goes now considerably fast and there is not timeout on pulp side.

done through CLI.

checked against:
---
katello-0.1.208-1.git.0.93b84c2.el6.noarch
pulp-0.0.263-1.el6.noarch
katello-cli-0.1.49-1.git.0.6962a71.el6.noarch


Note You need to log in before you can comment on or make changes to this bug.