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 754488

Summary: Machine is not able to update package profile
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: APIAssignee: Lukas Zapletal <lzap>
Status: CLOSED CURRENTRELEASE QA Contact: Jitendra Yejare <jyejare>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: kbidarka, tstrachota
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: 2012-08-22 18:06:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354    

Description Lukas Zapletal 2011-11-16 16:46:05 UTC
Fedora 15, latest RPM, create an environment, activation key, then:

subscription-manager register --org=org_rhsm_47a5826 --activationkey=ak1_47a5826 --force

Log:

Request is unauthenticated_api for 127.0.0.1
Completed 401 Unauthorized in 0ms

Comment 1 Lukas Zapletal 2011-11-16 17:30:32 UTC
It is failing in the warden.rb on the line:

return fail('No ssl client certificate, skipping ssl-certificate authentication') if ssl_client_cert.blank?

We obviously DO NOT log anything to the log. This was HARD to track. Lot some time on it. Okay, fix is coming on Monday.

Comment 2 Lukas Zapletal 2011-11-16 17:37:43 UTC
Oh my ... Tomas already fixed that and provided patch for RHSM. Good work then.

Comment 3 Lukas Zapletal 2011-11-16 17:38:41 UTC
http://git.fedorahosted.org/git/?p=subscription-manager.git;a=commitdiff;h=ccf246a94db5aa2c45ff06e6dbc0066dff6a2cb5

I will change logging so warden will log this in a better way to save time.

Comment 4 Kedar Bidarkar 2011-11-23 09:36:41 UTC
[root@xxx ca]# subscription-manager register --activationkey
140_activation_keys --org ACME_Corporation
The system has been registered with id: 8f8c163a-e2e7-4040-8fdb-8dc24c6bf5f7 

There was no need to pass auth info while registering.

root@xxx ~]# rpm -qav | grep -i subscription-manager
subscription-manager-0.98.3-1.fc15.x86_64


Successfully registers the client machine using the activation keys.