Bug 646831 - [RFE] consumer history does not show the events off adding or removing from consumergroup
Summary: [RFE] consumer history does not show the events off adding or removing from c...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Jay Dobies
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: 673012
TreeView+ depends on / blocked
 
Reported: 2010-10-26 12:16 UTC by Preethi Thomas
Modified: 2012-07-11 18:35 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-07-11 18:35:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2010-10-26 12:16:15 UTC
Description of problem:

consumer history does not record adding or removing from consumergroup events


oot@preethi ~]# pulp-admin consumergroup create --id=consumer-grp1
Successfully created Consumer group [ consumer-grp1 ] with description [ None ]

[root@preethi ~]# 
[root@preethi ~]# 

[root@preethi ~]# pulp-admin consumergroup add_consumer --id=consumer-grp1  --consumerid=preethi.usersys.redhat.com
Successfully added consumer [preethi.usersys.redhat.com] to group [consumer-grp1]

[root@preethi ~]# 
[root@preethi ~]# 
[root@preethi ~]# pulp-admin consumer history  --consumerid=preethi.usersys.redhat.com
Usage: pulp-admin <options> consumer history <options>

pulp-admin: error: no such option: --consumerid
[root@preethi ~]# pulp-admin consumer history  --id=preethi.usersys.redhat.com+------------------------------------------+
              Consumer History
+------------------------------------------+

Event Type            	Repo Bound               
Timestamp             	2010-10-25 11:27:53.321000
Originator            	admin                    
Repo ID               	repo-gpg                 

Event Type            	Repo Bound               
Timestamp             	2010-10-25 11:06:21.274000
Originator            	admin                    
Repo ID               	f13                      

Event Type            	Consumer Created         
Timestamp             	2010-10-25 10:46:57.669000
Originator            	admin                    

[root@preethi ~]#

Comment 1 Jay Dobies 2010-11-17 17:07:31 UTC
Should probably scrub all of the consumer related operations to make sure they snap out history entries.

Also need to consider a way to communicate to developers to be aware of the history needs when adding a consumer operation.

Comment 2 Jay Dobies 2012-07-11 18:35:43 UTC
Will address if this is still relevant when consumer groups are rewritten in v2.


Note You need to log in before you can comment on or make changes to this bug.