Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 642654

Summary: warning message on pulp-client consumer create
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: user-experienceAssignee: James Slagle <jslagle>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: jason.dobies, mmccune, skarmark, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 26   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 20:14:17 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:

Description Preethi Thomas 2010-10-13 14:06:56 UTC
Description of problem:

The warning message "warning: this client is currently not registered; please register to continue" does not make sense when you are running consumer create as the operation you are running is registering the client.



[root@localhost ~]# pulp-client -u admin -p admin consumer create --id=10.16.120.215
warning: this client is currently not registered; please register to continue

Comment 1 Preethi Thomas 2010-11-22 15:24:11 UTC
*** Bug 655059 has been marked as a duplicate of this bug. ***

Comment 2 Mike McCune 2011-05-17 16:31:28 UTC
Copying my comment from the dupe over on 705422:

As a user I tried to create a new consumer with my client:

# pulp-client  consumer create --id=test 
warning: this client is not registered; please register to continue
Error: No valid credentials; Please use `--username` and `--password`

I saw the Warning about 'this client is not registered; please register to
continue' and went looking for a 'register' command so I could continue... but
no where in the client do we say anything about registering a client, just
creation.

we should change that error message to:

# pulp-client consumer create --id=test 
Error: No valid credentials; Please use `--username` and `--password`:

  pulp-client --username=**** --password=****

warning: the pulp server doesn't know about this client; please create a
consumer to continue

my main issue is we should get rid of any error messages referring to
'registration' since that doesn't mean anything to the user.

Comment 3 Mike McCune 2011-05-17 16:31:39 UTC
*** Bug 705422 has been marked as a duplicate of this bug. ***

Comment 4 James Slagle 2011-08-05 16:49:26 UTC
Ended up renaming create/delete commands in the consumer and admin clients to
register/unregister.  Improved the warning message as well.

committed to master 3a9856491b9f59e6dc6c5e71d2774ffe00362bf0

Comment 5 Jeff Ortel 2011-08-05 21:02:22 UTC
build: 0.222

Comment 6 Preethi Thomas 2011-08-31 16:52:47 UTC
verified
[root@pulp-client ~]# rpm -q pulp-consumer
pulp-consumer-0.0.228-1.fc14.noarch

[root@pulp-client ~]# pulp-consumer -u admin -p admin consumer register --id=pulp-client
warning: this client is not known to the pulp server; run 'pulp-consumer consumer register' to register it
Successfully registered consumer [ pulp-client ]

Comment 7 Preethi Thomas 2012-02-24 20:14:17 UTC
Pulp v1.0 is released
Closed Current Release.

Comment 8 Preethi Thomas 2012-02-24 20:19:06 UTC
Pulp v1.0 is released.