diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-06-24 02:34:18 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-06-24 02:34:18 +0000 |
commit | aa46792562f616d669329f44ec1814e6cbd6010d (patch) | |
tree | cca38967c31190713e3aa6cfec1b240fadf23fc6 /src/lib/Server/Core.py | |
parent | 542dafea6974627df8e327be7f80d9f7bf417892 (diff) | |
download | bcfg2-aa46792562f616d669329f44ec1814e6cbd6010d.tar.gz bcfg2-aa46792562f616d669329f44ec1814e6cbd6010d.tar.bz2 bcfg2-aa46792562f616d669329f44ec1814e6cbd6010d.zip |
Fix Fam support
There is some weird issue in Fam where fam stops giving events. The previous code did not tickle this condition
but the new refactored code did, so we're going back to the old code for the moment.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5296 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Core.py')
-rw-r--r-- | src/lib/Server/Core.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py index 9201622c2..1360bdf23 100644 --- a/src/lib/Server/Core.py +++ b/src/lib/Server/Core.py @@ -45,6 +45,8 @@ class Core(Component): try: self.fam = Bcfg2.Server.FileMonitor.available[filemonitor]() except IOError: + logger.error("Failed to instantiate fam driver %s" % filemonitor, + exc_info=1) raise CoreInitError, "failed to instantiate fam driver (used %s)" % \ filemonitor self.pubspace = {} @@ -285,7 +287,7 @@ class Core(Component): plugin.process_statistics(meta, statistics) except: logger.error("Plugin %s failed to process stats from %s" \ - % (plugin.name, mc.hostname), + % (plugin.name, meta.hostname), exc_info=1) logger.info("Client %s reported state %s" % (client_name, |