Bug 655256
| Summary: | pulp-client not authenticating with cert after 'consumer create' | |||
|---|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Mike McCune <mmccune> | |
| Component: | user-experience | Assignee: | Pradeep Kilambi <pkilambi> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | low | |||
| Version: | unspecified | |||
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 658162 (view as bug list) | Environment: | ||
| Last Closed: | 2011-08-16 14:02:37 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: | 641987 | |||
| Bug Blocks: | 658162 | |||
fixed! commit 79462a0bf7cb4f782970b89ceb15f7d74c9c9daa Author: Pradeep Kilambi <pkilambi> Date: Tue Nov 23 09:34:06 2010 -0500 Fixed in 0.109. Looks like this is fails_qa
[root@preethi ~]# pulp-client --server=preethi.usersys.redhat.com consumer create --id=preethi.usersys.redhat.com
ERROR: The server hostname you have configured in /etc/pulp/client.conf does not match the
hostname returned from the Pulp server you are connecting to.
You have: [localhost.localdomain] configured but got: [preethi.usersys.redhat.com] from the server.
Please correct the host in the /etc/pulp/client.conf file
You have new mail in /var/spool/mail/root
[root@preethi ~]# pulp-client --server=preethi.usersys.redhat.com consumer create --id=preethi.usersys.redhat.com
error: operation failed: "Authorization failed. Check your username and password or your certificate"
[root@preethi ~]# pulp-client -u admin -p admin --server=preethi.usersys.redhat.com consumer create --id=preethi.usersys.redhat.com
Successfully created consumer [ preethi.usersys.redhat.com ]
The second part is a pass
[root@preethi ~]# pulp-client repo list
+------------------------------------------+
List of Available Repositories
+------------------------------------------+
Label f13
Name f13
FeedURL http://download.devel.redhat.com/released/F-13/GOLD/Fedora/x86_64/os/
FeedType yum
Arch x86_64
Sync Schedule None
Packages 3102
Files 0
Distributions ks-f13-x86_64
Publish True
Clones []
moving back to QA as per discussion on IRC. Verified Cloned this bug to address the the other issue as per discussion https://bugzilla.redhat.com/show_bug.cgi?id=658162 from the above result The second part is a pass [root@preethi ~]# pulp-client repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Label f13 Name f13 FeedURL http://download.devel.redhat.com/released/F-13/GOLD/Fedora/x86_64/os/ FeedType yum Arch x86_64 Sync Schedule None Packages 3102 Files 0 Distributions ks-f13-x86_64 Publish True Clones [] Closing with Community Release 15 pulp-0.0.223-4. |
Two issues when trying to create a new consumer: 1) I have to issue the --server flag twice 2) After successfully creating the consumer I still have to use --username and --password to list repos $ sudo pulp-client --server=gibson.pdx.redhat.com consumer create --id=gibson ERROR: The server hostname you have configured in /etc/pulp/client.conf does not match the hostname returned from the Pulp server you are connecting to. You have: [localhost] configured but got: [gibson.pdx.redhat.com] from the server. Please correct the host in the /etc/pulp/client.conf file $ sudo pulp-client --server=gibson.pdx.redhat.com consumer create --id=gibson error: operation failed: "Authorization failed. Check your username and password or your certificate" $ sudo pulp-client --username=admin --password=redhat --server=gibson.pdx.redhat.com consumer create --id=gibson Successfully created consumer [ gibson ] $ sudo pulp-client repo list error: operation failed: "Authorization failed. Check your username and password or your certificate" $ sudo pulp-client --username=admin --password=admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Label f14-x86_64 ....