Project

Profile

Help

Issue #829

closed

Some consumer history event types are not implemented

Added by ipanova@redhat.com over 7 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.7.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

http://pulp.readthedocs.org/en/latest/user-guide/consumer-client/history.html#history

These history event types are not implemented :"content_unit_installed", "content_unit_uninstalled", "unit_profile_changed", "added_to_group","removed_from_group"

$ sudo pulp-consumer -u admin -p admin register --consumer-id 1234
Consumer [1234] successfully registered

$ pulp-consumer history

+----------------------------------------------------------------------+
                        Consumer History [1234]
+----------------------------------------------------------------------+

Consumer Id:  1234
Type:         consumer_registered
Details:      None
Originator:   admin
Timestamp:    2015-04-01T12:38:03Z

]$ pulp-admin -u admin -p admin rpm consumer group create  --group-id g1

Consumer Group [g1] successfully created

$ pulp-admin -u admin -p admin rpm consumer group members add --group-id g1 --consumer-id 1234

Consumer Group [g1] membership updated

]$ sudo pulp-admin -u admin -p admin rpm consumer group members list --group-id g1
+----------------------------------------------------------------------+
                         Consumer Group Members
+----------------------------------------------------------------------+

Id:           1234
Display Name: 1234
Description:  None
Notes:        

$ pulp-consumer history 

+----------------------------------------------------------------------+
                        Consumer History [1234]
+----------------------------------------------------------------------+

Consumer Id:  1234
Type:         consumer_registered
Details:      None
Originator:   admin
Timestamp:    2015-04-01T12:38:03Z
  • I expect in the history to find the 'added_to_group' event type*
    Same for the other event types
Actions #1

Updated by ipanova@redhat.com over 7 years ago

  • Description updated (diff)
Actions #2

Updated by ipanova@redhat.com over 7 years ago

  • Status changed from NEW to ASSIGNED
Actions #3

Updated by ipanova@redhat.com over 7 years ago

  • Status changed from ASSIGNED to POST
Actions #4

Updated by ipanova@redhat.com over 7 years ago

To verify this bug consult the docs and check that all event-types happen and registered in consumer history http://pulp.readthedocs.org/en/latest/user-guide/consumer-client/history.html#history

Added by ipanova@redhat.com over 7 years ago

Revision 8ebf1429

Some consumer history event types are not implemented.

closes #829

Added by ipanova@redhat.com over 7 years ago

Revision 8ebf1429

Some consumer history event types are not implemented.

closes #829

Actions #5

Updated by ipanova@redhat.com over 7 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by ipanova@redhat.com over 7 years ago

  • % Done changed from 0 to 100
Actions #7

Updated by mhrivnak over 7 years ago

  • Triaged changed from No to Yes
Actions #8

Updated by bmbouter over 7 years ago

  • Platform Release set to master
Actions #9

Updated by rbarlow over 7 years ago

  • Platform Release changed from master to 2.7.0
Actions #10

Updated by dkliban@redhat.com over 7 years ago

  • Status changed from MODIFIED to 5
Actions #11

Updated by pthomas@redhat.com about 7 years ago

  • Status changed from 5 to 6

verified


[root@qe-blade-10 ~]# 
[root@qe-blade-10 ~]# sudo pulp-consumer -u admin -p admin register --consumer-id 1234
Consumer [1234] successfully registered

[root@qe-blade-10 ~]#  pulp-consumer history
+----------------------------------------------------------------------+
                        Consumer History [1234]
+----------------------------------------------------------------------+

Consumer Id:  1234
Type:         consumer_registered
Details:      None
Originator:   admin
Timestamp:    2015-06-30T19:21:46Z

[root@qe-blade-10 ~]# pulp-admin -u admin -p admin rpm consumer group create  --group-id g1
Consumer Group [g1] successfully created

[root@qe-blade-10 ~]# 
[root@qe-blade-10 ~]# pulp-admin -u admin -p admin rpm consumer group members add --group-id g1 --consumer-id 1234
Consumer Group [g1] membership updated

[root@qe-blade-10 ~]#  sudo pulp-admin -u admin -p admin rpm consumer group members list --group-id g1
+----------------------------------------------------------------------+
                         Consumer Group Members
+----------------------------------------------------------------------+

Id:           1234
Display Name: 1234
Description:  None
Notes:        

[root@qe-blade-10 ~]# pulp-consumer history 
+----------------------------------------------------------------------+
                        Consumer History [1234]
+----------------------------------------------------------------------+

Consumer Id:  1234
Type:         added_to_group
Details:      
  Group Id: g1
Originator:   admin
Timestamp:    2015-06-30T19:22:31Z

Consumer Id:  1234
Type:         consumer_registered
Details:      None
Originator:   admin
Timestamp:    2015-06-30T19:21:46Z

/pre>
Actions #12

Updated by amacdona@redhat.com almost 7 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #14

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF