Bug 754488 - Machine is not able to update package profile
Summary: Machine is not able to update package profile
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Jitendra Yejare
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-11-16 16:46 UTC by Lukas Zapletal
Modified: 2019-09-25 21:27 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

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.


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