Bug 679443
Summary: | Missing credentials shows misleading error message | |||
---|---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Jay Dobies <jason.dobies> | |
Component: | user-experience | Assignee: | Pradeep Kilambi <pkilambi> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> | |
Severity: | low | Docs Contact: | ||
Priority: | low | |||
Version: | unspecified | CC: | pkilambi, skarmark | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 700898 (view as bug list) | Environment: | ||
Last Closed: | 2011-08-16 12:08:28 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
Jay Dobies
2011-02-22 15:33:38 UTC
*** 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. Closing with Community Release 15 pulp-0.0.223-4. |