Bug 736243

Summary: Registering system with non-admin user fails in pulp
Product: [Retired] Katello Reporter: Ivan Necas <inecas>
Component: Webservice APIAssignee: Bryan Kearney <bkearney>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0CC: dmitri, lzap
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-07 14:47:01 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:

Description Ivan Necas 2011-09-07 06:52:00 UTC
Description of problem:
Systme registratin fails in PULP with non-admin user.

Version-Release number of selected component (if applicable):
katello-0.1.76-1
pulp-0.0.223-4.fc15
candlepin-0.4.10-1.fc15

How reproducible:


Steps to Reproduce:
1. Create a user with read org and register system permissions
2. register a system with this user's credentials
  
Actual results:
Response:
<h1>Unknown action</h1>
<p>The action 'unauthenticated' could not be found for FailedAuthenticationController</p>


Pulp log:
pulp.server.auth.authentication:ERROR: authentication: User [devel] specified in certificate was not found in the system


Expected results:
Successfully registered system.

Additional info:

Comment 1 Dmitri Dolguikh 2011-09-12 13:12:20 UTC
This is an issue with how pulp performs oauth authentication. Filed a BZ with pulp project: https://bugzilla.redhat.com/show_bug.cgi?id=737533

Comment 2 Lukas Zapletal 2011-12-07 14:47:01 UTC
Reference closed.