Bug 684337
Summary: | Need a better error message when A consumer can have multiple values if it belongs to multiple consumer groups | ||
---|---|---|---|
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: | low | ||
Version: | unspecified | CC: | jason.dobies, jconnor, jortel, 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: | 669209 | Environment: | |
Last Closed: | 2011-08-16 12:07:30 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
2011-03-11 20:32:25 UTC
Need better error message on the client. [root@preethi ~]# pulp-admin consumergroup list +------------------------------------------+ List of Available Consumer Groups +------------------------------------------+ Id test-group Description None Consumer ids [] Additional info preethi : A, Id test-group-2 Description None Consumer ids [] Additional info preethi : B, [root@preethi ~]# pulp-admin consumergroup add_consumer --consumerid=preethi --id=test-group Successfully added consumer [preethi] to group [test-group] [root@preethi ~]# pulp-admin consumergroup add_consumer --consumerid=preethi --id=test-group-2 error: operation failed: $ sudo pulp-admin consumergroup list +------------------------------------------+ List of Available Consumer Groups +------------------------------------------+ Id test-group Description None Consumer ids [] Additional info preethi : A, Id test-group-2 Description None Consumer ids [] Additional info preethi : B, $ pulp-admin consumergroup add_consumer --consumerid=fred --id=test-group Successfully added consumer [fred] to group [test-group] $ pulp-admin consumergroup add_consumer --consumerid=fred --id=test-group-2 error: operation failed: PulpException: u"Consumer [fred] cannot be added to consumergroup [test-group-2] because of the following conflicting key-value pairs. You need to delete these key-values from the consumer in order to add it to this consumergroup: {u'preethi': u'A'}" verified [root@preethi ~]# rpm -q pulp pulp-0.0.151-1.fc14.noarch [root@preethi ~]# pulp-admin consumergroup add_consumer --id=test-group-2 --consumerid=preethi error: operation failed: PulpException: u"Consumer [preethi] cannot be added to consumergroup [test-group-2] because of the following conflicting key-value pairs. You need to delete these key-values from the consumer in order to add it to this consumergroup: {u'preethi': u'A'}" Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |