client was doing a readdir() call would cause the client to
LBUG after recovery completed and the readdir() was resent.
+Severity : enhancement
+Bugzilla : 6296
+Description: Default groups are now added by lconf
+Details : You can now run lconf --group <servicename> without having to
+ manually add groups with lmc.
+
------------------------------------------------------------------------------
2005-05-05 Cluster File Systems, Inc. <info@clusterfs.com>
if self.caching_enabled and self.lookup_class_cache.has_key(tag):
v = self.lookup_val_cache[tag]
else:
- v = self._get_val(tag)
+ v = self._get_val(tag)
if self.caching_enabled:
self.lookup_val_cache[tag] = v
if v:
ret = []
devs = self.lookup_class('mds')
for tgt in devs:
- if tgt.get_val('group', "") == group:
+ if tgt.get_val('group', tgt.get_value('name')) == group:
ret.append(tgt.getUUID())
devs = self.lookup_class('ost')
for tgt in devs:
- if tgt.get_val('group', "") == group:
+ if tgt.get_val('group', tgt.get_value('name')) == group:
ret.append(tgt.getUUID())
if self.caching_enabled:
self.lookup_group_cache[group] = ret
self.active = 1
else:
self.active = 0
- if self.active and config.group and config.group != mds.get_val('group'):
+ if self.active and config.group and config.group != mds.get_val('group', mds.get_val('name')):
self.active = 0
self.inode_size = self.db.get_val_int('inodesize', 0)
self.active = 1
else:
self.active = 0
- if self.active and config.group and config.group != ost.get_val('group'):
+ if self.active and config.group and config.group != ost.get_val('group', ost.get_val('name')):
self.active = 0
self.target_dev_uuid = self.uuid