conga/luci cluster/configured.png cluster/form ...
CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL5
Changes by: rmccabe at sourceware.org 2007-01-02 20:21:26
Modified files:
luci/cluster : configured.png form-macros installed.png
joined.png notstarted.png portlet_cluconfig rebooted.png
luci/homebase : form-macros luci/site/luci/Extensions: cluster_adapters.py
homebase_adapters.py
Log message:
fixes for regressions found while testing the fix for bz201394
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/configured.png.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.90.2.11&r2=1.90.2.12
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/installed.png.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/joined.png.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/notstarted.png.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/portlet_cluconfig.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.2.2.1&r2=1.2.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/rebooted.png.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/form-macros.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.44.2.5&r2=1.44.2.6
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.15&r2=1.120.2.16
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/homebase_adapters.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.34.2.7&r2=1.34.2.8
Binary files /cvs/cluster/conga/luci/cluster/configured.png 2006/10/11 04:39:44 1.1 and /cvs/cluster/conga/luci/cluster/configured.png 2007/01/02 20:21:25 1.1.2.1 differ
rcsdiff: /cvs/cluster/conga/luci/cluster/configured.png: diff failed
luci/cluster/form-macros +1 -1
@@ -220,7 +220,7 @@ <input name="cluster_os" type="hidden" tal:attributes="value add_cluster/cluster_os | nothing" /> - <table id="systemsTable" class="systemsTable" border="0" cellspacing="0"> + <table id="systemsTable" class="systemsTable" cellspacing="0"> <thead class="systemsTable"> <tr class="systemsTable"><td class="systemsTable" colspan="2"> <div class="systemsTableTop">
Binary files /cvs/cluster/conga/luci/cluster/installed.png 2006/10/11 04:39:44 1.1 and /cvs/cluster/conga/luci/cluster/installed.png 2007/01/02 20:21:26 1.1.2.1 differ
rcsdiff: /cvs/cluster/conga/luci/cluster/installed.png: diff failed
Binary files /cvs/cluster/conga/luci/cluster/joined.png 2006/10/11 04:39:44 1.1 and /cvs/cluster/conga/luci/cluster/joined.png 2007/01/02 20:21:26 1.1.2.1 differ
rcsdiff: /cvs/cluster/conga/luci/cluster/joined.png: diff failed
Binary files /cvs/cluster/conga/luci/cluster/notstarted.png 2006/10/11 04:39:44 1.1 and /cvs/cluster/conga/luci/cluster/notstarted.png 2007/01/02 20:21:26 1.1.2.1 differ
rcsdiff: /cvs/cluster/conga/luci/cluster/notstarted.png: diff failed
luci/cluster/portlet_cluconfig +2 -1
@@ -34,7 +34,8 @@ tal:omit-tag="" tal:define="global data python:here.createCluConfigTree(request, modelb)"> -<dl class="portlet" id="portlet-cluconfig-tree"> +<dl class="portlet" id="portlet-cluconfig-tree" + tal:condition="data"> <dt class="portletHeader"> <a href="/luci/cluster/index_html?pagetype=3" tal:attributes="href python:here.getClusterURL(request,modelb)">
Binary files /cvs/cluster/conga/luci/cluster/rebooted.png 2006/10/11 04:39:44 1.1 and /cvs/cluster/conga/luci/cluster/rebooted.png 2007/01/02 20:21:26 1.1.2.1 differ
rcsdiff: /cvs/cluster/conga/luci/cluster/rebooted.png: diff failed
luci/homebase/form-macros +1 -1
@@ -293,7 +293,7 @@ <h2 class="homebase">Manage Systems and Clusters</h2> - <h3>Authenticate to Storage or Cluster Systems</h3> + <h3>Reauthenticate to Storage or Cluster Systems</h3> <form name="authform" method="post" action=""> <table id="systemsTable" class="systemsTable" border="0" cellspacing="0"
luci/site/luci/Extensions/cluster_adapters.py +16 -4
@@ -86,7 +86,8 @@ clusterName = None try: clusterName = str(request.form['clusterName']) - except: + except Exception, e: + luci_log.debug_verbose('PNC00: missing cluster name: %s' % str(e)) clusterName = None if clusterName is None:
@@ -1802,7 +1803,6 @@ #a clustername query var cluname = request['clustername'] - nd = {} nd['Title'] = "Nodes" nd['cfg_type'] = "nodes"
@@ -2219,8 +2219,20 @@ return alias def getClusterURL(self, request, model): - #this method will eventually extract the clustername from the request method - return "." + try: + clustername = request.clustername + if not clustername: + raise Exception, 'cluster name from request is blank' + except: + try: + clustername = model.getClusterName() + if not clustername: + raise Exception, 'cluster name from model is blank' + except: + luci_log.debug_verbose('GCURL0: unable to get cluster name') + return '.' + + return '/luci/cluster/index_html?pagetype=7&clustername=%s' % clustername def getTabs(self, req): ###XXX Make this method return only tabs current user can use
luci/site/luci/Extensions/homebase_adapters.py +29 -20
111 lines not on this page · raw message