Snippets from e-mail: "Take the scenario where a consumer has no key-value pairs but its group does. When we do a `pulp-admin consumer list` or `pulp-admin consumer info`, it shows the consumer as having no key-value pairs. But using `pulp-admin consumer get_keyvalues` shows the ones from the group. IMO, this is a bug, but I'm curious what others think. We're showing inconsistent information, or we need to make it very clear that the `consumer info` case isn't taking into account consumer group info." "+1 We should show the inherited group keyvalues both places. Maybe we should make it clear which are group level attributes, and which ones are consumer level"
Fixed. Consumer group key-value pairs inherited by a consumer are now displayed when viewing a consumer.
Fixed in build 0.124.
Fails_qa [root@preethi ~]# rpm -q pulp pulp-0.0.124-1.fc14.noarch Consumer info still doesn't show the key value info [root@preethi ~]# pulp-admin consumergroup list +------------------------------------------+ List of Available Consumer Groups +------------------------------------------+ Id mygroup Description None Consumer ids ['preethi.usersys.redhat.com'] Additional info {'city': 'Raleigh', 'location': 'rdu'} [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 city : Raleigh, location : rdu, [root@preethi ~]# pulp-admin consumer info +------------------------------------------+ Consumer Information +------------------------------------------+ Id preethi.usersys.redhat.com Description None Subscribed Repos [] Additional info {} [root@preethi ~]# pulp-admin consumer info --help Usage: pulp-admin <options> consumer info <options> Options: -h, --help show this help message and exit --id=ID consumer identifier eg: foo.example.com --show-profile show package profile information associated with this consumer [root@preethi ~]# pulp-admin consumer info --id=preethi.usersys.redhat.com +------------------------------------------+ Consumer Information +------------------------------------------+ Id preethi.usersys.redhat.com Description None Subscribed Repos [] Additional info {}
Forgot to make changes to "consumer info" similar to "consumer list". Updated consumer info to show inherited key-value attributes as well.
Fixed in 0.125.
[root@preethi ~]# rpm -q pulp pulp-0.0.129-1.fc14.noarch [root@preethi ~]# pulp-admin consumergroup list +------------------------------------------+ List of Available Consumer Groups +------------------------------------------+ Id mygroup Description mygroup Consumer ids ['preethi.usersys.redhat.com'] Additional info {'state': 'nc'} [root@preethi ~]# pulp-admin consumer info +------------------------------------------+ Consumer Information +------------------------------------------+ Id preethi.usersys.redhat.com Description None Subscribed Repos ['f13', 'f14'] Additional info state : nc, location : rdu, [root@preethi ~]# pulp-admin consumer list +------------------------------------------+ Consumer Information +------------------------------------------+ Id preethi.usersys.redhat.com Description None Subscribed Repos ['f13', 'f14'] Additional info state : nc, location : rdu,
Closing with Community Release 15 pulp-0.0.223-4.