Bug 645790
Summary: | cannot read cert file: /root/.pulp/admin-cert.pem error instead of authorization required | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | ||
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-02-17 16:51:43 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
Preethi Thomas
2010-10-22 13:34:17 UTC
[root@preethi ~]# pulp-client consumer create Traceback (most recent call last): File "/usr/bin/pulp-client", line 51, in <module> client.main() File "/usr/lib/python2.6/site-packages/pulp/client/cli/base.py", line 98, in main command.main(args[1:]) File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 105, in main action.main(args[1:]) File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 188, in main self.setup_connections() File "/usr/lib/python2.6/site-packages/pulp/client/core/consumer.py", line 48, in setup_connections self.cconn = setup_connection(ConsumerConnection) File "/usr/lib/python2.6/site-packages/pulp/client/connection.py", line 55, in setup_connection username, password, cert_file, key_file = credentials.get_credentials() File "/usr/lib/python2.6/site-packages/pulp/client/credentials.py", line 124, in get_credentials raise CredentialError(_('cannot read cert file: %s') % cert_file) pulp.client.credentials.CredentialError: cannot read cert file: /root/.pulp/admin-cert.pem verified [root@10 ~]# rpm -qa |grep pulp pulp-client-0.0.108-1.fc14.noarch pulp-common-0.0.108-1.fc14.noarch pulp-0.0.108-1.fc14.noarch [root@10 ~]# pulp-admin auth login error: operation failed: "Authorization failed. Check your username and password or your certificate" [root@10 ~]# pulp-client consumer delete Successfully deleted consumer [10.16.79.206] [root@10 ~]# pulp-client consumer create Usage: pulp-client <options> consumer create <options> pulp-client: error: Option --id is required; please see --help [root@10 ~]# pulp-client consumer create --id=10.16.79.206 error: operation failed: "Authorization failed. Check your username and password or your certificate" [root@10 ~]# Closing with community release pulp-0.0.139-1.fc14.noarch |