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.

Bug 1221134

Summary: [upgrade] Error: Request Timeout on syncing a sat6.0 capsule with upgrades sat6.1 server
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: UpgradesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: stbenjam
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-13 11:34:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
foreman-debug from upgraded sat6 server none

Description Sachin Ghai 2015-05-13 11:08:59 UTC
Description of problem:
I was trying upgrade with snap4 on rhel66. I configured a Sat6.0.8 with some prepoopulated contents/data along with external capsule.

Satelitte6 server is upgraded successfully without any new issue. Now server is at level 6.1. And capsule is still at 6.0

I started a capsule sync from server and it was throwing error Request Timeout.

[root@sat6-qe-rhel66 yum.repos.d]# hammer -u admin -p changeme capsule content synchronize --id=2
[.........................................................................................................                                    ] [75%]
Could not synchronize capsule content:
  Error: Request Timeout

I started the goferd on capsule. and it was showing below logs:


May 13 06:33:24 sat6-capsule-rhel66 goferd: [INFO][MainThread] rhsm.connection:670 - Connection Built: host: sat6-qe-rhel66.usersys.redhat.com, port: 443, handler: /rhsm
May 13 06:33:24 sat6-capsule-rhel66 goferd: [INFO][MainThread] katelloplugin:281 - reporting: {'enabled_repos': {'repos': [{'baseurl': ['https://sat6-qe-rhel66.usersys.redhat.com/pulp/repos/Default_Organization/Library/cv_rhel66/custom/rhel6_custom/rhel66'], 'repositoryid': 'Default_Organization_rhel6_custom_rhel66'}, {'baseurl': ['https://sat6-qe-rhel66.usersys.redhat.com/pulp/repos/Default_Organization/Library/cv_rhel66/content/dist/rhel/server/6/6Server/x86_64/rh-common/os'], 'repositoryid': 'rhel-6-server-rh-common-rpms'}, {'baseurl': ['https://sat6-qe-rhel66.usersys.redhat.com/pulp/repos/Default_Organization/Library/cv_rhel66/content/dist/rhel/server/6/6Server/x86_64/sat-capsule/6.0/os'], 'repositoryid': 'rhel-6-server-satellite-capsule-6.0-rpms'}]}}

==> /var/log/foreman-proxy/proxy.log <==

==> /var/log/messages <==
May 13 06:33:27 sat6-capsule-rhel66 goferd: [INFO][Actions] builtin:38 - Hello:  [main] enabled=1  [messaging] url= uuid=admin.redhat.com
May 13 06:33:27 sat6-capsule-rhel66 goferd: [INFO][MainThread] gofer.transport.qpid.broker:69 - connecting: {sat6-qe-rhel66.usersys.redhat.com:5671}:|transport=SSL|host=sat6-qe-rhel66.usersys.redhat.com|port=5671|cacert=/etc/rhsm/ca/candlepin-local.pem|clientcert=/etc/pki/consumer/bundle.pem|userid=None|password=None|vhost=None
May 13 06:33:27 sat6-capsule-rhel66 goferd: [INFO][MainThread] gofer.transport.qpid.broker:83 - {sat6-qe-rhel66.usersys.redhat.com:5671} connected to AMQP



Version-Release number of selected component (if applicable):
upgrade sat6.0.8 to sat6.1 snap4 and capsule is at sat6.0 level (not upgraded)

How reproducible:


Steps to Reproduce:
1. hammer -u admin -p changeme capsule content synchronize --id=2
2.
3.

Actual results:
Could not synchronize capsule content:
  Error: Request Timeout


Expected results:


Additional info:

Comment 1 Sachin Ghai 2015-05-13 11:13:34 UTC
Created attachment 1025002 [details]
foreman-debug from upgraded sat6 server

Comment 3 Stephen Benjamin 2015-05-13 11:34:55 UTC
Capsule needs to be upgraded to 6.1, this is also essentially a duplicate of 1220696, as both capsule sync and package installation rely on katello-agent.

*** This bug has been marked as a duplicate of bug 1220696 ***