From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 2 Nov 2006 21:12:07 -0000 Subject: [Cluster-devel] conga/luci/site/luci/Extensions homebase_adapt ... Message-ID: <20061102211207.12160.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-11-02 21:12:07 Modified files: luci/site/luci/Extensions: homebase_adapters.py Log message: if node unauthentication fails and debugging is enabled, print a message to syslog Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/homebase_adapters.py.diff?cvsroot=cluster&r1=1.39&r2=1.40 --- conga/luci/site/luci/Extensions/homebase_adapters.py 2006/11/02 03:17:07 1.39 +++ conga/luci/site/luci/Extensions/homebase_adapters.py 2006/11/02 21:12:07 1.40 @@ -137,8 +137,12 @@ rc = RicciCommunicator(host) rc.unauth() i['cur_auth'] = False - except: - pass + except Exception, e: + try: + luci_log.debug_verbose('unauth for %s failed: %s' \ + % (i['host'], str(e))) + except: + pass def nodeAuth(cluster, host, passwd): messages = list()