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 1188852 - Pulp authorization error when syncing from Satellite
Summary: Pulp authorization error when syncing from Satellite
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Proxy
Version: 6.0.7
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: GSS_Sat6Beta_Tracker, GSS_Sat6_Tracker
TreeView+ depends on / blocked
 
Reported: 2015-02-03 20:49 UTC by Shannon Hughes
Modified: 2015-12-03 16:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-04 16:16:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
contents of production.log (22.92 KB, text/plain)
2015-02-03 20:55 UTC, Shannon Hughes
no flags Details

Description Shannon Hughes 2015-02-03 20:49:34 UTC
Description of problem:

Capsule is installed on its own subnet with access to Satellite 6 network. Confirmed network is successfull between the two subnets. Using hammer to sync to the capsule, 

hammer> capsule content synchronize --id 2
[..........................................................................................................................................] [100%]
Task b2c2c851-ba08-4a38-bf5f-31bc9f5001c4: warning

the following traceback is from production log (abbrevated and attached for full log): 

.
.
opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.3/lib/dynflow/micro_actor.rb:99:in `run'
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.3/lib/dynflow/micro_actor.rb:13:in `block in initialize'
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `call'
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
Processing by ForemanTasks::Api::TasksController#show as application/json;version=2

following traceback from capsule: 

Feb  3 19:31:02 cap puppet-agent[26910]: (/File[/var/lib/puppet/lib]) Could not evaluate: Could not retrieve information from environment production source(s) puppet://cap.capsule.lan/plugins
Feb  3 19:31:03 cap puppet-master[1967]: Compiled catalog for cap.capsule.lan in environment production in 0.01 seconds
Feb  3 19:31:03 cap puppet-agent[26910]: Finished catalog run in 0.09 seconds
Feb  3 19:31:05 cap goferd: [INFO][worker-0] gofer.rmi.dispatcher:612 - call: Content.update() sn=a2583c00-d899-4774-b0fb-9509e46e5869 info={'task_id': 'fee814b3-ce02-497c-8dd5-2943f7c82bd6', 'consumer_id': '9828e98c-62df-45dd-b990-300f24ebf037'}
Feb  3 19:31:05 cap goferd: [ERROR][worker-0] pulp.agent.lib.dispatcher:112 - handler failed
Feb  3 19:31:05 cap goferd: [ERROR][worker-0] pulp.agent.lib.dispatcher:112 - Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/agent/lib/dispatcher.py", line 108, in update report = handler.update(conduit, units, dict(options)) File "/usr/lib/python2.6/site-packages/pulp_node/handlers/handler.py", line 92, in update bindings = RepositoryBinding.fetch_all(pulp_bindings, conduit.consumer_id) File "/usr/lib/python2.6/site-packages/pulp_node/handlers/model.py", line 513, in fetch_all http = bindings.bind.find_by_id(node_id) File "/usr/lib/python2.6/site-packages/pulp/bindings/consumer.py", line 158, in find_by_id return self.server.GET(path) File "/usr/lib/python2.6/site-packages/pulp/bindings/server.py", line 93, in GET return self._request('GET', path, queries) File "/usr/lib/python2.6/site-packages/pulp/bindings/server.py", line 151, in _request self._handle_exceptions(response_code, response_body) File "/usr/lib/python2.6/site-packages/pulp/bindings/server.py", line 192, in _handle_exceptions raise code_class_mappings[response_code](response_body) PermissionsException: RequestException: GET request on /pulp/api/v2/consumers/9828e98c-62df-45dd-b990-300f24ebf037/bindings/ failed with 401 - Pulp exception occurred: AuthenticationFailed
Feb  3 19:31:05 cap goferd: [INFO][worker-0] gofer.agent.rmi:149 - sn=a2583c00-d899-4774-b0fb-9509e46e5869 processed in: 77 (ms)
^C

Comment 1 Shannon Hughes 2015-02-03 20:55:23 UTC
Created attachment 987809 [details]
contents of production.log

Comment 3 RHEL Program Management 2015-02-03 21:03:15 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 6 Brad Buckingham 2015-09-04 16:16:08 UTC
We have been unable to reproduce this issue on the latest Satellite 6.1.1 GA bits; therefore, we are going to close this BZ.  If the issue is re-observed, please do reopen.


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