Bug 644061

Summary: Server authentication errors w/ -u -p arguments
Product: [Retired] Pulp Reporter: dgao
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: tsanders
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 14:20:22 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: 647488    

Description dgao 2010-10-18 20:30:12 UTC
[root@pulp-nightly pulp]# pulp-admin -u admin -p admin auth login
User credentials successfully stored at [/root/.pulp]

pulp.log: 

2010-10-18 16:17:56,856 [ERROR][Dummy-3] check_admin_cert() @ role_check.py:151 - Admin certificate with CN [None] is signed by a foreign CA

Comment 1 Pradeep Kilambi 2010-10-27 19:00:49 UTC
I did the following:

$ sudo pulp-admin -u admin -p admin auth login
User credentials successfully stored at [/home/pkilambi/.pulp]

Pulp.log says:


2010-10-27 14:47:19,827 [ERROR][Dummy-4] check_admin_cert() @ role_check.py:151 - Admin certificate with CN [None] is signed by a foreign CA

now i can run rest of commands without user/pass.

Now I do the same without login and perform a package install with just -u/-p and no login:

$ ls ~/.pulp/
$

$ sudo pulp-admin -u admin -p admin package install --consumerid=test-consumer -n grinder
Created task id: edb1206e-e1fa-11df-bec4-0023ae793dbc
......................................
[[u'grinder-0.0.63-1.fc13.noarch']] installed on test-consumer

So based on what I see, that warning is not hindering the rest of pulp functionality. I can perform all the actions successfully that require a role_check.

Please reopen if you think this is still an issue. moving to qa for revalidate and closing this.

Comment 2 Preethi Thomas 2010-10-28 13:42:09 UTC
agreed that it doesn't affect the cli operations.  But I think it needs to be fixed. low priority, but still a bug



[root@preethi ~]# pulp-admin auth logout
User credentials removed from [/root/.pulp]

[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f13_test_relative
+------------------------------------------+
        Status for f13_test_relative
+------------------------------------------+
Repository: f13_test_relative
Number of Packages: 10
Last Sync: 2010-10-28 09:50:03.743000




2010-10-28 09:50:29,438 [ERROR][Dummy-4] check_admin_cert() @ role_check.py:151 - Admin certificate with CN [None] is signed by a foreign CA

Comment 3 Preethi Thomas 2011-01-04 18:15:15 UTC
Verified,

[root@preethi ~]# rpm -q pulp
pulp-0.0.119-1.fc14.noarch


I don't see the above error in the log anymore

Comment 4 Preethi Thomas 2011-08-16 14:20:22 UTC
Closing with Community Release 15

pulp-0.0.223-4.