Bug 668485
| Summary: | Consumers created with an ID with spaces in it cannot be deleted | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Jay Dobies <jason.dobies> |
| Component: | user-experience | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | tsanders |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 13:59:42 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: | 641987 | ||
[root@dhcp231-223 ~]# sudo pulp-client consumer create --id="foo bar"
CCCCCCCCCCCCCCCCCCC /etc/pki/consumer/cert.pem /etc/pki/consumer/key.pem
Successfully created consumer [ foo bar ]
root@dhcp231-223 ~]# sudo pulp-admin consumer list
+------------------------------------------+
Consumer Information
+------------------------------------------+
Id fred
Description None
Subscribed Repos []
Agent:
Responding No
Last Heartbeat 2011-03-23T20:48:11.717226
Additional info
Id foo bar
Description None
Subscribed Repos []
Agent:
Responding Yes
Last Heartbeat 2011-03-23T21:00:24.594977
Additional info
[root@dhcp231-223 ~]# sudo pulp-client consumer delete --id="foo bar"
Successfully deleted consumer [foo bar]
[root@dhcp231-223 ~]# sudo pulp-admin consumer list
+------------------------------------------+
Consumer Information
+------------------------------------------+
Id fred
Description None
Subscribed Repos []
Agent:
Responding No
Last Heartbeat 2011-03-23T20:48:11.717226
Additional info
Build: 0.158 verified
[root@10 ~]# rpm -q pulp-client
pulp-client-0.0.173-1.fc14.noarch
[root@10 ~]#
[root@10 ~]# pulp-client -u admin -p admin consumer create --id="pulp client"
warning: this client is not registered; please register to continue
Successfully created consumer [ pulp client ]
[root@10 ~]# pulp-admin consumer list
+------------------------------------------+
Consumer Information
+------------------------------------------+
Id preethi
Description None
Subscribed Repos ['test']
Agent:
Responding No
Last Heartbeat None
Additional info
Id pulp client
Description None
Subscribed Repos []
Agent:
Responding Yes
Last Heartbeat 2011-05-05 13:44:45
Additional info
[root@10 ~]# pulp-client consumer delete
Successfully deleted consumer [pulp client]
[root@10 ~]# pulp-admin consumer list
+------------------------------------------+
Consumer Information
+------------------------------------------+
Id preethi
Description None
Subscribed Repos ['test']
Agent:
Responding No
Last Heartbeat None
Additional info
Closing with Community Release 15 pulp-0.0.223-4. |
-> sudo pulp-client consumer create --id "jdob consumer" warning: this client is not registered; please register to continue error: operation failed: Consumer with id: jdob consumer, already exists -> sudo pulp-client consumer delete Successfully deleted consumer [jdob consumer] -> sudo pulp-admin consumer list +------------------------------------------+ Consumer Information +------------------------------------------+ Id jdob consumer Description None Subscribed Repos /pulp/api/consumers/jdob%20consumer/repoids/ Additional info No errors are thrown or found in the server logs.