Bug 646831

Summary: [RFE] consumer history does not show the events off adding or removing from consumergroup
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Jay Dobies <jason.dobies>
Status: CLOSED NEXTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: skarmark, tsanders
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-11 18:35:43 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: 673012    

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.