Logged out to make sure I didn't have an admin certificate: $ sudo pulp-admin auth logout User credentials removed from [/home/jdob/.pulp] I ran repo list without logging in or passing username/password. That error message is misleading, it should specify that the user is not logged in. $ sudo pulp-admin repo list error: operation failed: Invalid SSL Certificate
*** Bug 689554 has been marked as a duplicate of this bug. ***
commit 4cbeed60aa84fec995428274d7793a3c3888e47b Added checks to: - see if user cert/key exists; - if not; check if --username or --password is provided; - else throw a message $ sudo pulp-admin repo list Error: No valid credentials; Please run `pulp-admin auth login` or use `--username` and `--password`
Fixed in build 0.163.
Just note that with this fix, we exposed an issue in pulp-admin auth module: Here is the bug: https://bugzilla.redhat.com/show_bug.cgi?id=696676 auth module should be using the top level credentials like every other command. Instead of asking for -u/-p again. Util this bug is fixed, you'll need to run auth login as pulp-admin -u admin -p admin auth login --username admin --password admin
fails_qa [root@preethi ~]# rpm -q pulp pulp-0.0.163-1.fc14.noarch [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin auth logout User credentials removed from [/root/.pulp] [root@preethi ~]# pulp-admin repo list error: operation failed: Invalid SSL Certificate
hrm are you sure you have the right version: This is on my latest: $ sudo pulp-admin auth logout User credentials removed from [/root/.pulp] $ sudo pulp-admin auth login Error: No valid credentials; Please run `pulp-admin auth login` or use `--username` and `--password`
I have the correct version which is comment #3 [root@preethi ~]# rpm -qa pulp pulp-0.0.163-1.fc14.noarch
looks like this fix hasnt made it into 163 build. Moving to Modified
build: 0.168
verified in 168 [root@preethi ~]# pulp-admin repo sync --id =f14 Error: No valid credentials; Please run `pulp-admin auth login` or use `--username` and `--password`
Closing with Community Release 15 pulp-0.0.223-4.