self.start = StartTest(cm)
self.stop = StopTest(cm)
self.config = {}
+ self.config['logging/logger_subsys[1]/subsys'] = 'MAIN'
+ self.config['logging/logger_subsys[1]/debug'] = 'on'
self.need_all_up = True
self.CM.start_cpg = True
CoroTest.__init__(self,cm)
self.name="GenStopAllBeekhof"
self.need_all_up = True
- self.config['logging/logger_subsys[1]/subsys'] = 'CFG'
- self.config['logging/logger_subsys[1]/debug'] = 'on'
- self.config['logging/logger_subsys[1]/tags'] = 'trace1|enter|leave'
+ self.config['logging/logger_subsys[2]/subsys'] = 'CFG'
+ self.config['logging/logger_subsys[2]/debug'] = 'on'
def __call__(self, node):
'''Perform the 'GenStopAllBeekhof' test. '''
CoroTest.__init__(self,cm)
self.name="WDOnForkBomb"
self.need_all_up = False
- self.config['logging/logger_subsys[1]/subsys'] = 'WD'
- self.config['logging/logger_subsys[1]/debug'] = 'on'
+ self.config['logging/logger_subsys[2]/subsys'] = 'WD'
+ self.config['logging/logger_subsys[2]/debug'] = 'on'
self.config['resources/system/memory_used/recovery'] = 'watchdog'
self.config['resources/system/memory_used/max'] = '80'
self.config['resources/system/memory_used/poll_period'] = '800'
CoroTest.__init__(self,cm)
self.name="SamWdIntegration1"
self.need_all_up = True
- self.config['logging/logger_subsys[1]/subsys'] = 'WD'
- self.config['logging/logger_subsys[1]/debug'] = 'on'
+ self.config['logging/logger_subsys[2]/subsys'] = 'WD'
+ self.config['logging/logger_subsys[2]/debug'] = 'on'
def __call__(self, node):
'''Perform the test. '''
CoroTest.__init__(self,cm)
self.name="SamWdIntegration2"
self.need_all_up = True
- self.config['logging/logger_subsys[1]/subsys'] = 'WD'
- self.config['logging/logger_subsys[1]/debug'] = 'on'
+ self.config['logging/logger_subsys[2]/subsys'] = 'WD'
+ self.config['logging/logger_subsys[2]/debug'] = 'on'
def __call__(self, node):
'''Perform the test. '''
CoroTest.__init__(self,cm)
self.name="WdDeleteResource"
self.need_all_up = True
- self.config['logging/logger_subsys[1]/subsys'] = 'WD'
- self.config['logging/logger_subsys[1]/debug'] = 'on'
self.config['logging/logger_subsys[2]/subsys'] = 'MON'
self.config['logging/logger_subsys[2]/debug'] = 'on'
+ self.config['logging/logger_subsys[3]/subsys'] = 'WD'
+ self.config['logging/logger_subsys[3]/debug'] = 'on'
self.config['resources/system/memory_used/recovery'] = 'watchdog'
self.config['resources/system/memory_used/max'] = '80'
self.config['resources/system/memory_used/poll_period'] = '800'
CoroTest.__init__(self,cm)
self.name="ResourcePollAdjust"
self.need_all_up = True
- self.config['logging/logger_subsys[1]/subsys'] = 'WD'
- self.config['logging/logger_subsys[1]/debug'] = 'on'
self.config['logging/logger_subsys[2]/subsys'] = 'MON'
self.config['logging/logger_subsys[2]/debug'] = 'on'
+ self.config['logging/logger_subsys[3]/subsys'] = 'WD'
+ self.config['logging/logger_subsys[3]/debug'] = 'on'
self.config['resources/system/memory_used/recovery'] = 'none'
self.config['resources/system/memory_used/max'] = '80'
self.config['resources/system/memory_used/poll_period'] = '800'
CoroTest.__init__(self,cm)
self.name="RebootOnHighMem"
self.need_all_up = True
- self.config['logging/logger_subsys[1]/subsys'] = 'WD'
- self.config['logging/logger_subsys[1]/debug'] = 'on'
+ self.config['logging/logger_subsys[2]/subsys'] = 'WD'
+ self.config['logging/logger_subsys[2]/debug'] = 'on'
self.config['resources/system/memory_used/recovery'] = 'reboot'
self.config['resources/system/memory_used/max'] = '80'
self.config['resources/system/memory_used/poll_period'] = '800'
icmap_set_uint32(member_join_count, 1);
icmap_set_string(member_status, "joined");
}
+
+ log_printf (LOGSYS_LEVEL_DEBUG,
+ "Member joined: %s", api->totem_ifaces_print (nodeid));
}
static void member_object_left (unsigned int nodeid)
snprintf(member_status, ICMAP_KEYNAME_MAXLEN,
"runtime.totem.pg.mrp.srp.members.%u.status", nodeid);
icmap_set_string(member_status, "left");
+
+ log_printf (LOGSYS_LEVEL_DEBUG,
+ "Member left: %s", api->totem_ifaces_print (nodeid));
}
static void confchg_fn (