[pve-devel] r6424 - in pve-manager/pve2: . bin

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Aug 5 08:31:48 CEST 2011


Author: dietmar
Date: 2011-08-05 08:31:48 +0200 (Fri, 05 Aug 2011)
New Revision: 6424

Modified:
   pve-manager/pve2/ChangeLog
   pve-manager/pve2/bin/pvestatd
Log:
do not initialize environment, use PVE::Cluster::cfs_update() instead


Modified: pve-manager/pve2/ChangeLog
===================================================================
--- pve-manager/pve2/ChangeLog	2011-08-05 06:28:07 UTC (rev 6423)
+++ pve-manager/pve2/ChangeLog	2011-08-05 06:31:48 UTC (rev 6424)
@@ -1,5 +1,7 @@
 2011-08-05  Proxmox Support Team  <support at proxmox.com>
 
+	* bin/pvestatd: always call cfs_update() to update versions
+
 	* www/manager/Utils.js (render_storage_content): new method to
 	render volid
 

Modified: pve-manager/pve2/bin/pvestatd
===================================================================
--- pve-manager/pve2/bin/pvestatd	2011-08-05 06:28:07 UTC (rev 6423)
+++ pve-manager/pve2/bin/pvestatd	2011-08-05 06:31:48 UTC (rev 6424)
@@ -116,7 +116,6 @@
 };
 
 PVE::INotify::inotify_init();
-my $rpcenv = PVE::RPCEnvironment->init('priv');
 
 my $reload_config;
 
@@ -282,7 +281,7 @@
 	    eval {
 		$reload_config = 0;
 		syslog('info', "start status update");
-		$rpcenv->init_request();
+		PVE::Cluster::cfs_update();
 		update_status();
 	    };
 	    my $err = $@;



More information about the pve-devel mailing list