Commit 8639dd7a authored by Boxiang Sun's avatar Boxiang Sun

fixup

parent b383bfb9
......@@ -903,7 +903,7 @@ class Partition(object):
bad_service_list.append(process['name'])
if len(bad_service_list) > 0:
raise ChildProcessError(
"The following on-watch service(es) is not running:\n%s\n \
"The following on-watch service(es) is not running:\n%s\n\
For the details, please check the corresponding log." %
'\n'.join(bad_service_list))
......
......@@ -1490,11 +1490,6 @@ stderr_logfile_backups=1
except slapos.slap.ResourceNotReady:
return '(not ready)'
self.logger.info('---------------------------------')
self.logger.info('---------------------------------')
self.logger.info('---------------------------------')
self.logger.info('I want generate an output here!!!')
self.logger.info('Finished computer partitions.')
self.logger.info('=' * 80)
if process_error_partition_list:
......@@ -1545,21 +1540,11 @@ stderr_logfile_backups=1
except slapos.slap.ResourceNotReady:
return '(not ready)'
self.logger.info('---------------------------------')
self.logger.info('---------------------------------')
self.logger.info('---------------------------------')
self.logger.info('I want generate an output here!!!')
if promise_error_partition_list:
self.logger.info('Finished computer partitions.')
for partition, exc in promise_error_partition_list:
self.logger.info(' %s[%s]: %s', partition.getId(), getPartitionType(partition), exc)
self.logger.info('=================================')
self.logger.info('=================================')
self.logger.info('=================================')
self.logger.info('I want generate an output here!!!')
# Return success value
if not clean_run_promise:
return SLAPGRID_PROMISE_FAIL
......
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