Exemplo n.º 1
0
def upgrade_with_pip():
    task = upgrade_clustermgr_task.delay(pip=True)
    print "TASK STARTED", task.id
    head = "Upgrading clustermgr via pip"
    nextpage = "index.home"
    whatNext = "Dashboard"
    return render_template("logger.html",
                           heading=head,
                           server="",
                           task=task,
                           nextpage=nextpage,
                           whatNext=whatNext)
Exemplo n.º 2
0
def upgrade_clustermgr():
    """Initiates upgrading of clustermgr"""

    task = upgrade_clustermgr_task.delay()
    print "TASK STARTED", task.id
    head = "Upgrading clustermgr"
    nextpage = "index.home"
    whatNext = "Dashboard"
    return render_template("logger.html",
                           heading=head,
                           server="",
                           task=task,
                           nextpage=nextpage,
                           whatNext=whatNext)