From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 10 Jun 2008 14:48:39 -0000 Subject: [Cluster-devel] conga ./conga.spec.in.in luci/cluster/busy_wai ... Message-ID: <20080610144839.22060.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 Branch: RHEL4 Changes by: rmccabe at sourceware.org 2008-06-10 14:48:33 Modified files: . : conga.spec.in.in luci/cluster : busy_wait-macro index_html luci/plone-custom: conga.js luci/site/luci/Extensions: FenceHandler.py HelperFunctions.py LuciClusterInfo.py luci/site/luci/Extensions/ClusterModel: TagObject.py ricci/modules/rpm: PackageHandler.cpp ricci/modules/service: ServiceManager.cpp Log message: Bump support for ssh fence agents out to clusters running RHEL 4.8 or later (since the agents are not going to be in 4.7 now). Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/conga.spec.in.in.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.67.2.30&r2=1.67.2.31 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/busy_wait-macro.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.3.2.1&r2=1.3.2.2 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/index_html.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.30.2.4&r2=1.30.2.5 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/conga.js.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.4.2.2&r2=1.4.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/FenceHandler.py.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.17.2.9&r2=1.17.2.10 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/HelperFunctions.py.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.6.2.2&r2=1.6.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/LuciClusterInfo.py.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.10.2.5&r2=1.10.2.6 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ClusterModel/TagObject.py.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.2.2.2&r2=1.2.2.3 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/rpm/PackageHandler.cpp.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.11.2.5&r2=1.11.2.6 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/service/ServiceManager.cpp.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.7.2.5&r2=1.7.2.6 --- conga/conga.spec.in.in 2008/05/16 17:10:08 1.67.2.30 +++ conga/conga.spec.in.in 2008/06/10 14:48:26 1.67.2.31 @@ -301,6 +301,9 @@ %changelog +* Tue Jun 10 2008 Ryan McCabe 0.11.1-6 +- Fix bz442729 (Add UI support for ssh for fence agents that now support it) + * Mon May 12 2008 Ryan McCabe 0.11.1-5 - Fix bz446082 (Adding multiple fence devices at the same time causes duplicate entries) --- conga/luci/cluster/busy_wait-macro 2008/03/25 01:27:10 1.3.2.1 +++ conga/luci/cluster/busy_wait-macro 2008/06/10 14:48:29 1.3.2.2 @@ -3,7 +3,7 @@

- +
+ + + + 6: + if os_minor > 7: clumap['has_fence_ssh'] = True except Exception, e: if LUCI_DEBUG_MODE is True: --- conga/luci/site/luci/Extensions/ClusterModel/TagObject.py 2008/03/25 01:27:13 1.2.2.2 +++ conga/luci/site/luci/Extensions/ClusterModel/TagObject.py 2008/06/10 14:48:32 1.2.2.3 @@ -53,10 +53,7 @@ return self.attr_hash def getAttribute(self, kee): - try: - return self.attr_hash[kee] - except KeyError, e: - return None + return self.attr_hash.get(kee) def getChildren(self): return self.children --- conga/ricci/modules/rpm/PackageHandler.cpp 2008/04/14 15:55:08 1.11.2.5 +++ conga/ricci/modules/rpm/PackageHandler.cpp 2008/06/10 14:48:32 1.11.2.6 @@ -684,6 +684,8 @@ FC6 = true; else if (release.find("Werewolf") != release.npos) FC6 = true; + else if (release.find("Sulphur") != release.npos) + FC6 = true; else if (release.find("Tikanga") != release.npos) RHEL5 = true; else --- conga/ricci/modules/service/ServiceManager.cpp 2008/04/14 15:55:08 1.7.2.5 +++ conga/ricci/modules/service/ServiceManager.cpp 2008/06/10 14:48:33 1.7.2.6 @@ -835,6 +835,8 @@ FC6 = true; else if (release.find("Werewolf") != release.npos) FC6 = true; + else if (release.find("Sulphur") != release.npos) + FC6 = true; else if (release.find("Tikanga") != release.npos) RHEL5 = true; else {