Bug 644061 - Server authentication errors w/ -u -p arguments
Summary: Server authentication errors w/ -u -p arguments
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2010-10-18 20:30 UTC by dgao
Modified: 2011-08-16 14:20 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 14:20:22 UTC
Embargoed:


Attachments (Terms of Use)

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.


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