conga/luci cluster/index_html site/luci/Extens ...
CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL5
Changes by: rmccabe at sourceware.org 2007-06-27 06:19:22
Modified files:
luci/cluster : index_html
luci/site/luci/Extensions: HelperFunctions.py LuciDB.py
RicciQueries.py cluster_adapters.py ricci_communicator.py
luci/storage : index_html
Log message:
Add support for issuing ricci batch jobs on all cluster nodes simultaneously
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/index_html.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.20.2.10&r2=1.20.2.11
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/HelperFunctions.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.4.2.3&r2=1.4.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/LuciDB.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.4.1&r2=1.1.4.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/RicciQueries.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.4.1&r2=1.1.4.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.120.2.31&r2=1.120.2.32
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ricci_communicator.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.9.2.11&r2=1.9.2.12
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/index_html.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.7.2.2&r2=1.7.2.3
luci/cluster/index_html +2 -2
@@ -44,7 +44,7 @@ <tal:block tal:condition="firsttime"> <tal:block tal:define="global busywaiting python:True" /> <meta http-equiv="refresh" - tal:attributes="content isBusy/refreshurl | string:." /> + tal:attributes="content isBusy/refreshurl | python:'3%surl=/luci/cluster' % chr(0x3b)" /> </tal:block> <tal:block tal:define="global busy isBusy/busy | nothing" />
@@ -52,7 +52,7 @@ <tal:block tal:condition="busy"> <tal:block tal:define="global busywaiting python:True" /> <meta http-equiv="refresh" - tal:attributes="content isBusy/refreshurl | string:." /> + tal:attributes="content isBusy/refreshurl | python:'3%surl=/luci/cluster' % chr(0x3b)" /> </tal:block> </tal:block> </metal:headslot>
luci/site/luci/Extensions/HelperFunctions.py +34 -8
73 lines not on this page · raw message
luci/site/luci/Extensions/LuciDB.py +1 -2
@@ -6,7 +6,6 @@ # Free Software Foundation. from AccessControl import getSecurityManager -import RicciQueries as rq from ricci_communicator import RicciCommunicator from LuciZopePerm import isAdmin from LuciSyslog import get_logger
@@ -158,7 +157,7 @@ return True batch_id = item[1].getProperty(BATCH_ID) - batch_ret = rq.checkBatch(rc, batch_id) + batch_ret = rc.batch_status(batch_id) finished = batch_ret[0] if finished is True or finished == -1: if finished == -1:
luci/site/luci/Extensions/RicciQueries.py +4 -44
65 lines not on this page · raw message
luci/site/luci/Extensions/cluster_adapters.py +2 -2
@@ -640,7 +640,7 @@ # abort the whole process. try: while True: - batch_ret = rq.checkBatch(cluster_ricci, batch_number) + batch_ret = cluster_ricci.batch_status(batch_number) code = batch_ret[0] if code is True: break
@@ -3106,7 +3106,7 @@ if rc is not None: batch_num = item[1].getProperty(BATCH_ID) - batch_res = rq.checkBatch(rc, batch_num) + batch_res = rc.batch_status(batch_num) finished = batch_res[0] err_msg = batch_res[1]
luci/site/luci/Extensions/ricci_communicator.py +54 -6
96 lines not on this page · raw message
luci/storage/index_html +1 -1
@@ -222,7 +222,7 @@ <h1>Future Site of Forms</h1> </metal:main-form-content> <div style="padding-top: 10px;" - tal:condition="report_cached"> + tal:condition="python: report_cached and not (request.has_key('pagetype') and request['pagetype']=='commit_changes')"> <form> <input type="hidden" name="reprobe_url" tal:attributes="value