Project

Profile

Help

Issue #829

Some consumer history event types are not implemented

Added by ipanova@redhat.com over 6 years ago. Updated over 2 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

Associated revisions

Revision 8ebf1429 View on GitHub
Added by ipanova@redhat.com over 6 years ago

Some consumer history event types are not implemented.

closes #829

Revision 8ebf1429 View on GitHub
Added by ipanova@redhat.com over 6 years ago

Some consumer history event types are not implemented.

closes #829

History

#1 Updated by ipanova@redhat.com over 6 years ago

  • Description updated (diff)

#2 Updated by ipanova@redhat.com over 6 years ago

  • Status changed from NEW to ASSIGNED

#3 Updated by ipanova@redhat.com over 6 years ago

  • Status changed from ASSIGNED to POST

#4 Updated by ipanova@redhat.com over 6 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

#5 Updated by ipanova@redhat.com over 6 years ago

  • Status changed from POST to MODIFIED

#6 Updated by ipanova@redhat.com over 6 years ago

  • % Done changed from 0 to 100

#7 Updated by mhrivnak over 6 years ago

  • Triaged changed from No to Yes

#8 Updated by bmbouter over 6 years ago

  • Platform Release set to master

#9 Updated by rbarlow over 6 years ago

  • Platform Release changed from master to 2.7.0

#10 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from MODIFIED to 5

#11 Updated by pthomas@redhat.com over 6 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>

#12 Updated by amacdona@redhat.com almost 6 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#14 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF