Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 668603

Summary: The event types in the `consumer history` help is missing some entries
Product: [Retired] Pulp Reporter: Jay Dobies <jason.dobies>
Component: z_otherAssignee: Sayli Karmarkar <skarmark>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: cperry, skarmark, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 14:20:24 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 Jay Dobies 2011-01-10 21:12:14 UTC
Current help text:

limits displayed history entries to the given type; supported types: ("consumer_created", "consumer_deleted", "repo_bound", "repo_unbound", "package_installed", "package_uninstalled")

Looking at consumer_history.py, the following types are also supported:
- errata_installed
- profile_changed

Comment 1 Jay Dobies 2011-01-10 21:12:36 UTC
Note: this is filed under the "admin tool" component but is also relevant in the client tool as well.

Comment 2 Sayli Karmarkar 2011-01-16 21:20:33 UTC
$ sudo pulp-client consumer history -hg
Usage: pulp-client <options> consumer history <options>

Options:
  -h, --help            show this help message and exit
  --id=ID               consumer identifier eg: foo.example.com
  --event_type=EVENT_TYPE
                        limits displayed history entries to the given type;
                        supported types: ("consumer_created",
                        "consumer_deleted", "repo_bound", "repo_unbound",
                        "package_installed", "package_uninstalled",
                        "errata_installed", "profile_changed")

...

Comment 3 Jay Dobies 2011-01-17 14:22:56 UTC
Fixed in 0.125.

Comment 4 Preethi Thomas 2011-01-18 20:52:47 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.129-1.fc14.noarch

[root@preethi ~]# pulp-admin consumer history --help
Usage: pulp-admin <options> consumer history <options>

Options:
  -h, --help            show this help message and exit
  --id=ID               consumer identifier eg: foo.example.com
  --event_type=EVENT_TYPE
                        limits displayed history entries to the given type;
                        supported types: ("consumer_created",
                        "consumer_deleted", "repo_bound", "repo_unbound",
                        "package_installed", "package_uninstalled",
                        "errata_installed", "profile_changed")



[root@preethi ~]# pulp-client consumer history --help
Usage: pulp-client <options> consumer history <options>

Options:
  -h, --help            show this help message and exit
  --id=ID               consumer identifier eg: foo.example.com
  --event_type=EVENT_TYPE
                        limits displayed history entries to the given type;
                        supported types: ("consumer_created",
                        "consumer_deleted", "repo_bound", "repo_unbound",
                        "package_installed", "package_uninstalled",
                        "errata_installed", "profile_changed")

Comment 5 Preethi Thomas 2011-08-16 14:20:24 UTC
Closing with Community Release 15

pulp-0.0.223-4.