예제 #1
0
파일: orch.py 프로젝트: openstack/solar
def resume(uid):
    graph.reset_by_uid(uid, state_list=['SKIPPED'])
    SCHEDULER_CLIENT.next({}, uid)
예제 #2
0
파일: orch.py 프로젝트: openstack/solar
def retry(uid):
    graph.reset_by_uid(uid, state_list=['ERROR'])
    SCHEDULER_CLIENT.next({}, uid)
예제 #3
0
파일: orch.py 프로젝트: openstack/solar
def restart(uid, wait, stop_on_error):
    graph.reset_by_uid(uid)
    SCHEDULER_CLIENT.next({}, uid)
    wait_report(uid, wait, stop_on_error)
예제 #4
0
파일: orch.py 프로젝트: openstack/solar
def stop(uid):
    # TODO(dshulyak) how to do "hard" stop?
    # using revoke(terminate=True) will lead to inability to restart execution
    # research possibility of customizations
    # app.control and Panel.register in celery
    SCHEDULER_CLIENT.soft_stop({}, uid)
예제 #5
0
파일: orch.py 프로젝트: pigmej/solar
def run_once(uid, wait):
    SCHEDULER_CLIENT.next({}, uid)
    wait_report(uid, wait)
예제 #6
0
파일: orch.py 프로젝트: openstack/solar
def run_once(uid, wait, stop_on_error):
    SCHEDULER_CLIENT.next({}, uid)
    wait_report(uid, wait, stop_on_error)
예제 #7
0
파일: orch.py 프로젝트: loles/solar-1
def retry(uid):
    graph.reset_by_uid(uid, state_list=['ERROR'])
    SCHEDULER_CLIENT.next({}, uid)
예제 #8
0
파일: orch.py 프로젝트: loles/solar-1
def resume(uid):
    graph.reset_by_uid(uid, state_list=['SKIPPED'])
    SCHEDULER_CLIENT.next({}, uid)
예제 #9
0
파일: orch.py 프로젝트: loles/solar-1
def stop(uid):
    # TODO(dshulyak) how to do "hard" stop?
    # using revoke(terminate=True) will lead to inability to restart execution
    # research possibility of customizations
    # app.control and Panel.register in celery
    SCHEDULER_CLIENT.soft_stop({}, uid)
예제 #10
0
파일: orch.py 프로젝트: loles/solar-1
def restart(uid, wait):
    graph.reset_by_uid(uid)
    SCHEDULER_CLIENT.next({}, uid)
    wait_report(uid, wait)
예제 #11
0
파일: orch.py 프로젝트: loles/solar-1
def run_once(uid, wait):
    SCHEDULER_CLIENT.next({}, uid)
    wait_report(uid, wait)