Commit 2f5fd160 authored by Antoine Catton's avatar Antoine Catton

Bugfix #20111018-3776C2: slapgrid-cp shall support service-less

partitions
parent de0edb85
......@@ -336,7 +336,13 @@ class Partition(object):
"""
supervisor = self.getSupervisorRPC()
partition_id = self.computer_partition.getId()
try:
supervisor.startProcessGroup(partition_id, False)
except xmlrpclib.Fault, e:
if e.faultString.startswith('BAD_NAME:'):
self.logger.info("Nothing to start on %s..." % \
self.computer_partition.getId())
else:
self.logger.info("Requested start of %s..." % self.computer_partition.getId())
def stop(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment