Project

Profile

Help

Story #289

[RFE] pulp-consumer history should show profile events

Added by bmbouter almost 7 years ago. Updated over 2 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

++ This bug was initially created as a clone of Bugzilla Bug #1188410 ++

Description of problem:

I wanted to use 'pulp-consumer history' to verify that a profile changed for a consumer.

1. I register a new consumer
2. Bind it to a repo
3. Install something with yum. It says it reported the profile. I can also see it in the database. In other words the event of interest has occurred.
4. `pulp-consumer history` gives the following output:

[bmbouter@dhcp129-138 pulp]$ pulp-consumer history
--------------------------------------------------------------------
Consumer History [c1]
--------------------------------------------------------------------

Consumer Id: c1
Type: repo_bound
Details:
Distributor Id: yum_distributor
Repo Id: zoo
Originator: SYSTEM
Timestamp: 2015-02-02T18:50:56Z

Consumer Id: c1
Type: consumer_registered
Details: None
Originator: admin
Timestamp: 2015-02-02T18:49:58Z

5. Observe that the profile reporting step is not listed. I'm not sure what type of an event it should be, but it isn't present.

I expected the profile changing to be reported because pulp-consumer history --help lists the following event types:

--event-type - limits displayed history entries to the given type;supported
               types: ("consumer_registered", "consumer_unregistered",
               "repo_bound", "repo_unbound","content_unit_installed",
               "content_unit_uninstalled", "unit_profile_changed",
               "added_to_group","removed_from_group")

Surely a profile getting updated is one of these. Probably 'content_unit_installed'. This is not as broad as a 2011 BZ [0], but may be related to a recently filed BZ [1] that I discovered while working in this area.

[0]: https://bugzilla.redhat.com/show_bug.cgi?id=674591
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1188407

History

#1 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#2 Updated by bmbouter over 2 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#3 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF