logger.info("Moving %s pipeline radb_id=%s otdb_id=%s by %s from \'%s\' to \'%s\'",task['status'],task['id'],task['otdb_id'],format_timedelta(shift),task['starttime'],newStartTime)
logger.warn("Could not update start/endtime for pipeline radb_id=%s otdb_id=%s",
logger.warning("Could not update start/endtime for pipeline radb_id=%s otdb_id=%s",
updated_task['id'],updated_task['otdb_id'])
updated_task=radbrpc.getTask(task['id'])
ifupdated_task['status']!=task['status']:
logger.warn("Moving of pipeline radb_id=%s otdb_id=%s caused the status to change from %s to %s",updated_task['id'],updated_task['otdb_id'],task['status'],updated_task['status'])
logger.warning("Moving of pipeline radb_id=%s otdb_id=%s caused the status to change from %s to %s",updated_task['id'],updated_task['otdb_id'],task['status'],updated_task['status'])
#TODO: automatically resolve conflict status by moved pipeline in first free time slot.
exceptExceptionase:
logger.error("Error while checking pipeline starttime: %s",e)