Bug 684057 - Sync status and history is transient and is lost when you restart httpd
Summary: Sync status and history is transient and is lost when you restart httpd
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 24
Assignee: Jason Connor
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close 684061
TreeView+ depends on / blocked
 
Reported: 2011-03-11 00:27 UTC by Mike McCune
Modified: 2014-03-31 01:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:07:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Mike McCune 2011-03-11 00:27:37 UTC
Users lose all history and error reporting for synchronization results when httpd is restarted.

Would be ideal if we could get this history stored and persisted in the database so we have a running record over time that doesn't go away if the server gets restarted.

Comment 1 Jason Connor 2011-06-08 08:19:41 UTC
This has been addressed with the implementation of the task history collection and webservices api

Comment 2 Jeff Ortel 2011-06-08 23:58:30 UTC
build: 0.188

Comment 3 Preethi Thomas 2011-07-06 18:15:55 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.200-1.fc14.noarch


[root@preethi ~]# pulp-admin repo status --id=f14
+------------------------------------------+
               Status for f14
+------------------------------------------+
Repository: f14
Number of Packages: 2766
Last Sync: 2011-07-06 13:56:14-04:00
Currently syncing: 100% done (2773 of 2773 packages downloaded)

[root@preethi ~]# 
[root@preethi ~]# 
[root@preethi ~]# 
[root@preethi ~]# service pulp-server restart
Stopping httpd:                                            [  OK  ]
Stopping Qpid AMQP daemon:                                 [  OK  ]
Stopping mongod:                                           [  OK  ]
Starting mongod:                                           [  OK  ]
Starting Qpid AMQP daemon:                                 [  OK  ]
Starting httpd:                                            [  OK  ]
[root@preethi ~]# pulp-admin repo status --id=f14
+------------------------------------------+
               Status for f14
+------------------------------------------+
Repository: f14
Number of Packages: 2766
Last Sync: 2011-07-06 13:56:14-04:00
Currently syncing: progress unknown

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

pulp-admin: error: no such option: --consumerid
[root@preethi ~]# pulp-admin consumer history --id=pulp-client
+------------------------------------------+
              Consumer History
+------------------------------------------+

Event Type            	Repo Bound               
Timestamp             	2011-07-05 10:57:45-04:00
Originator            	admin                    
Repo ID               	f14                      

Event Type            	Consumer Created         
Timestamp             	2011-07-05 09:06:52-04:00
Originator            	admin

Comment 4 Preethi Thomas 2011-08-16 12:07:34 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:21:06 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.