Loading scripts/cluster_update.py +7 −1 Original line number Diff line number Diff line Loading @@ -66,6 +66,12 @@ def update_cluster(version, binary_path, drives_path): LOG.info("Cluster update finished ({0} updated, {1} failed, {2} skipped)." .format(updated, len(failed), skipped)) if updated > 0: LOG.warn('Warning: Drives are currently rebooting. ' 'Do NOT power off drives or run any other scripts at this time. ' 'Doing so may cause irreversible failure to the drives. ' 'This process can take several minutes.') if len(failed) > 0: LOG.info("Printing failed drives.") for c in failed: print c Loading scripts/update.py +4 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,10 @@ def update(hostname, port, path): LOG.info("Firmware read, Size={0}".format(len(data))) ac.updateFirmware(data) LOG.info("Firmware update sent to drive.") LOG.warn('Warning: Drives are currently rebooting. ' 'Do NOT power off drives or run any other scripts at this time. ' 'Doing so may cause irreversible failure to the drives. ' 'This process can take several minutes.') def main(): import argparse Loading Loading
scripts/cluster_update.py +7 −1 Original line number Diff line number Diff line Loading @@ -66,6 +66,12 @@ def update_cluster(version, binary_path, drives_path): LOG.info("Cluster update finished ({0} updated, {1} failed, {2} skipped)." .format(updated, len(failed), skipped)) if updated > 0: LOG.warn('Warning: Drives are currently rebooting. ' 'Do NOT power off drives or run any other scripts at this time. ' 'Doing so may cause irreversible failure to the drives. ' 'This process can take several minutes.') if len(failed) > 0: LOG.info("Printing failed drives.") for c in failed: print c Loading
scripts/update.py +4 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,10 @@ def update(hostname, port, path): LOG.info("Firmware read, Size={0}".format(len(data))) ac.updateFirmware(data) LOG.info("Firmware update sent to drive.") LOG.warn('Warning: Drives are currently rebooting. ' 'Do NOT power off drives or run any other scripts at this time. ' 'Doing so may cause irreversible failure to the drives. ' 'This process can take several minutes.') def main(): import argparse Loading