| Summary: | consumer history logs the events as created/deleted vs registered/unregistered | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | user-experience | Assignee: | James Slagle <jslagle> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | skarmark |
| 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: | 2012-02-24 20:15:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Updated these log messages, added a db migration for already logged messages as well.
Older clients before this commit are just going to see consumer_{registered|unregistered} instead of the more human readable strings b/c they don't have the updated constants.py file. I think we can just write this off as a pre-V1 band-aid.
commit 92c923779cb619c8f529f50239ac03b6ad483dd0
build: 0.256 [root@preethi CDN]# rpm -q pulp
pulp-0.0.256-1.fc15.noarch
[root@preethi CDN]#
verified
[root@preethi CDN]# pulp-admin consumer history --id=rhel6-client
+------------------------------------------+
Consumer History
+------------------------------------------+
Event Type Consumer Registered
Timestamp 2012-01-05 19:37:34+00:00
Originator admin
Event Type Consumer Unregistered
Timestamp 2012-01-05 19:37:28+00:00
Originator admin
Event Type Consumer Registered
Timestamp 2012-01-05 19:36:54+00:00
Originator admin
[root@preethi CDN]#
[root@katello-test ~]# pulp-consumer -u admin -p admin consumer history
+------------------------------------------+
Consumer History
+------------------------------------------+
Event Type Consumer Registered
Timestamp 2012-01-05 19:37:34+00:00
Originator admin
Event Type Consumer Unregistered
Timestamp 2012-01-05 19:37:28+00:00
Originator admin
Event Type Consumer Registered
Timestamp 2012-01-05 19:36:54+00:00
Originator admin
[root@katello-test ~]#
Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |
Description of problem: consumer history logs the events as created/deleted vs registered/unregistered [root@pulpf15-client ~]# pulp-consumer -u admin -p admin consumer history +------------------------------------------+ Consumer History +------------------------------------------+ Event Type Consumer Created Timestamp 2011-12-05 15:15:49+00:00 Originator admin Event Type Consumer Deleted Timestamp 2011-12-05 14:55:50+00:00 Originator admin pulp-admin: error: Option --id is required; please see --help [root@preethi ~]# pulp-admin consumer history --id=pulp-client +------------------------------------------+ Consumer History +------------------------------------------+ Event Type Consumer Created Timestamp 2011-12-05 15:15:49+00:00 Originator admin Event Type Consumer Deleted Timestamp 2011-12-05 14:55:50+00:00 Originator admin Version-Release number of selected component (if applicable): [root@preethi ~]# rpm -q pulp pulp-0.0.254-1.fc15.noarch