| Summary: | consumergroup list output should match that of consumer list | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | z_other | Assignee: | Sayli Karmarkar <skarmark> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | cperry, jconnor, jortel, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 21 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-15 15:14:26 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 647488 | ||
Fixed to make presentation of key-value attributes same for both listing.
$ sudo pulp-admin consumer list
+------------------------------------------+
Consumer Information
+------------------------------------------+
Id consumer1
Description None
Subscribed Repos []
Additional info key2 : value2,
key1 : value1,
[skarmark@localhost ~]$ sudo pulp-admin consumergroup list
+------------------------------------------+
List of Available Consumer Groups
+------------------------------------------+
Id mygroup
Description None
Consumer ids []
Additional info key2 : value2,
key1 : value1,
First part of the error is invalid though, as Subscribed Repos is not an attribute of a Consumer Group, by design. When we subscribe repos to a consumer group, that is considered a grouping operation which is performed on all the consumers belonging to that consumer group.
Build: 0.140 [root@nec-em8 upload]# rpm -q pulp
pulp-0.0.145-1
[root@nec-em8 upload]# pulp-admin -u admin -p admin consumer list
+------------------------------------------+
Consumer Information
+------------------------------------------+
Id rhel5
Description None
Subscribed Repos []
Additional info key3 : value3,
key2 : value2,
key1 : value1,
[root@nec-em8 upload]#
[root@nec-em8 upload]#
[root@nec-em8 upload]#
[root@nec-em8 upload]# pulp-admin -u admin -p admin consumergroup list+------------------------------------------+
List of Available Consumer Groups
+------------------------------------------+
Id rhel5
Description None
Consumer ids []
Additional info key3 : value3,
key2 : value2,
key1 : value1,
key4 : value4,
Closing with current community release pulp-0.0.223 |
Description of problem: [root@preethi ~]# rpm -q pulp pulp-0.0.124-1.fc14.noarch See consumergroup list does not show the subscribed repo as it does in consumer list. root@preethi ~]# pulp-admin consumergroup list +------------------------------------------+ List of Available Consumer Groups +------------------------------------------+ Id mygroup Description None Consumer ids ['preethi.usersys.redhat.com'] Additional info {} [root@preethi ~]# pulp-admin consumer list +------------------------------------------+ Consumer Information +------------------------------------------+ Id preethi.usersys.redhat.com Description None Subscribed Repos /pulp/api/consumers/preethi.usersys.redhat.com/repoids/ Additional info