summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/bcfg2-server8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-server b/src/sbin/bcfg2-server
index 932e8cfab..d9d68d958 100755
--- a/src/sbin/bcfg2-server
+++ b/src/sbin/bcfg2-server
@@ -143,7 +143,13 @@ class Bcfg2Serv(Bcfg2.Server.Component.Component):
def Bcfg2RecvProbeData(self, address, probedata):
'''Receive probe data from clients'''
- client = self.resolve_client(address[0])
+ try:
+ client = self.resolve_client(address[0])
+ meta = self.Core.metadata.get_metadata(client)
+ except Bcfg2.Server.metadata.MetadataConsistencyError:
+ warning = 'metadata consistency error'
+ self.logger.warning(warning)
+ raise Fault, (6, warning)
try:
xpdata = XML(probedata)
except: