Bug 823400

Summary: krb ticket timeout on beaker-watchdog
Product: [Retired] Beaker Reporter: Raymond Mancy <rmancy>
Component: lab controllerAssignee: Raymond Mancy <rmancy>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.8CC: bpeck, dcallagh, ebaak, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-20 00:39:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Raymond Mancy 2012-05-21 07:25:54 UTC
Description of problem:

When running qpid and krb on the watchdogs the tickets will eventually timeout and stop the watchdog from working correctly


Version-Release number of selected component (if applicable):

0.9


This is a very silly bug, in bkr.common.message_bus, this:

  if self.krb_auth:
      connection_params[1].update({'sasl_mechanisms' : 'GSSAPI'})
      self.do_krb_auth()
      # krb auths have a set lifespan, ensure we stay authenticated
      RepeatTimer(self._auth_interval,self.do_krb_auth, stop_on_exception=False)

Should be:

  if self.krb_auth:
      connection_params[1].update({'sasl_mechanisms' : 'GSSAPI'})
      self.do_krb_auth()
      # krb auths have a set lifespan, ensure we stay authenticated
      t = RepeatTimer(self._auth_interval,self.do_krb_auth,
stop_on_exception=False)
      t.daemon = False
      t.start()

Comment 1 Raymond Mancy 2012-06-15 04:23:51 UTC
http://gerrit.beaker-project.org/#/c/1139/

Comment 4 Dan Callaghan 2012-07-20 00:39:03 UTC
Beaker 0.9.1 has been released.