From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 21 Dec 2006 05:08:51 -0000 Subject: [Cluster-devel] conga/luci cluster/form-macros cluster/index_h ... Message-ID: <20061221050851.26921.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: rmccabe at sourceware.org 2006-12-21 05:08:49 Modified files: luci/cluster : form-macros index_html validate_config_qdisk.js luci/homebase : form-macros homebase_common.js index_html luci_homebase.css validate_sys_remove.js luci/site/luci/Extensions: cluster_adapters.py homebase_adapters.py ricci_bridge.py ricci_communicator.py Log message: most of the rest of fixes for bz201394. minor cleanup/polish still forthcoming. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.135&r2=1.136 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/index_html.diff?cvsroot=cluster&r1=1.29&r2=1.30 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/validate_config_qdisk.js.diff?cvsroot=cluster&r1=1.4&r2=1.5 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/form-macros.diff?cvsroot=cluster&r1=1.49&r2=1.50 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/homebase_common.js.diff?cvsroot=cluster&r1=1.14&r2=1.15 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/index_html.diff?cvsroot=cluster&r1=1.20&r2=1.21 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/luci_homebase.css.diff?cvsroot=cluster&r1=1.30&r2=1.31 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/validate_sys_remove.js.diff?cvsroot=cluster&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.190&r2=1.191 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/homebase_adapters.py.diff?cvsroot=cluster&r1=1.41&r2=1.42 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ricci_bridge.py.diff?cvsroot=cluster&r1=1.51&r2=1.52 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ricci_communicator.py.diff?cvsroot=cluster&r1=1.22&r2=1.23 --- conga/luci/cluster/form-macros 2006/12/20 22:07:16 1.135 +++ conga/luci/cluster/form-macros 2006/12/21 05:08:48 1.136 @@ -208,173 +208,226 @@ -
- +

Add a cluster

-

Add a cluster

+ + + + + - - - + - - + + + + + + + - + + - + + + + + + + + + + + + + - - + + - - + - - -
-
- Cluster Name - -
-
+
+ Cluster Name + +
+
System HostnamePasswordNode HostnameRoot PasswordKey IDTrust
    -
  • Download packages
  • -
  • Use locally installed packages.
  • +
  • + + Download packages +
  • +
  • + + Use locally installed packages. +
- Enable Shared Storage Support + + Enable Shared Storage Support
-
- Check if cluster node passwords are identical. -
+
    +
  • + + View system certificates before sending any passwords. +
  • +
  • + + + Check if node passwords are identical. +
  • +
- +
+ + + + + + + + + + + + + + + + +
+ onChange="pwd0Change(this.form)" + id="__SYSTEM0:Passwd" name="__SYSTEM0:Passwd" /> + +
+ id="__SYSTEM1:Passwd" name="__SYSTEM1:Passwd" /> + +
+ id="__SYSTEM2:Passwd" name="__SYSTEM2:Passwd" />
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - + - -
-
- Cluster Name: - -
-
Node HostnameRoot Password
-
    -
  • Download packages
  • -
  • Use locally installed packages.
  • -
-
- Enable Shared Storage Support -
-
- Check if cluster node passwords are identical. -
-
-
- -
-
- - - +
- -
+
- +
+ +
+ +
@@ -1018,9 +1071,10 @@ - @@ -1067,8 +1121,9 @@ name python: 'heuristic' + str(curHeur) + ':hscore';"/> - set_page_title('Luci ??? cluster ??? Add a new cluster node'); + @@ -2812,79 +2868,191 @@ src="/luci/homebase/validate_cluster_add.js"> - -
- - - + + +

Add a node to

+ tal:attributes="value cur_cluster_name | string:[unknown]" /> -

Add a node to

+ - + + +
- - - + + + + + + + - + + - + + + + + + + + + + + + + +
-
- Cluster Name -
-
System HostnamePasswordNode HostnameRoot PasswordKey IDTrust
    -
  • Download packages
  • -
  • Use locally installed packages.
  • +
  • + + Download packages +
  • +
  • + + + Use locally installed packages. +
- Enable Shared Storage Support + + Enable Shared Storage Support
-
- - Check if cluster node passwords are identical. -
+
    +
  • + + View system certificates before sending any passwords. +
  • +
  • + + Check if node passwords are identical. +
  • +
- +
+ + + + + + + + + + + + + + + + +
+ onChange="pwd0Change(this.form)" + id="__SYSTEM0:Passwd" name="__SYSTEM0:Passwd" /> + +
+ +
- +
+ +
+ +
@@ -2893,14 +3061,14 @@
-

The following errors occurred:

+

The following errors occurred:

-
    - -
  • - -
-
+
    + +
  • + +
+
--- conga/luci/cluster/index_html 2006/11/29 18:39:50 1.29 +++ conga/luci/cluster/index_html 2006/12/21 05:08:48 1.30 @@ -207,23 +207,24 @@
- +
-
    +

    Status messages:

    +
      -
    • +
- +

The following errors occurred:

-
    +
      -
    • +
--- conga/luci/cluster/validate_config_qdisk.js 2006/10/04 17:24:58 1.4 +++ conga/luci/cluster/validate_config_qdisk.js 2006/12/21 05:08:48 1.5 @@ -314,10 +314,11 @@ var del_td = document.createElement('td'); del_td.className = 'systemsTable'; var del_img = document.createElement('img'); - del_img.className = 'qdscore qdisk qdel_img'; + del_img.className = 'qdisk deleteRow'; del_img.setAttribute('name', hstr + ':hdel'); del_img.setAttribute('id', hstr + ':hdel'); - del_img.setAttribute('src', '/luci/homebase/x.png'); + del_img.setAttribute('src', '/luci/delete-row.png'); + del_img.setAttribute('title', 'delete this row'); del_img.setAttribute('onClick', 'delete_qdisk_heur(this, document.quorum_partition)'); del_td.appendChild(del_img); --- conga/luci/homebase/form-macros 2006/11/01 23:04:17 1.49 +++ conga/luci/homebase/form-macros 2006/12/21 05:08:48 1.50 @@ -71,7 +71,8 @@ tal:attributes="value python:data['children'][data['curIndex']]['absolute_url']" />
- +
@@ -140,7 +141,8 @@ tal:attributes="value python:data['children'][data['curIndex']]['absolute_url']" />
- +
@@ -196,7 +198,7 @@
-