Bug 4821 - Traceback at session update if user cant be looked up.
Summary: Traceback at session update if user cant be looked up.
Status: CLOSED DUPLICATE of bug 3134
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Server (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.1.1
Assignee: Peter Åstrand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 12:50 CEST by Henrik Andersson
Modified: 2014-09-23 11:44 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Henrik Andersson cendio 2013-10-02 12:50:47 CEST
At a customers site the SSSD service died ob their failover server, this introduced a backtrace on the failover server and spam in logs on both of them.

This was logged in master vsmserver.log:

2013-09-29 03:38:06 WARNING vsmserver.HA: Connection to xxx.yyy.zz:9000 closed before receiving response in request to update other HA node with session change (new, user0123). Retrying later.
2013-09-29 03:38:07 WARNING vsmserver.HA: Connection to xxx.yyy.zz:9000 closed before receiving response in request to update other HA node with session change (new, user0123). Retrying later.
2013-09-29 03:38:08 WARNING vsmserver.HA: Connection to xxx.yyy.zz:9000 closed before receiving response in request to update other HA node with session change (new, user0123). Retrying later.
2013-09-29 03:38:09 WARNING vsmserver.HA: Connection to xxx.yyy.zz:9000 closed before receiving response in request to update other HA node with session change (new, user0123). Retrying later.


This backtrace was found at the failover vsmserver.log:

ERROR vsmserver: Unhandled XMLRPC exception: <type 'exceptions.KeyError'> 'getpwnam(): name not found: dei0837' Traceback (most recent call last):
  File "/opt/thinlinc/modules/thinlinc/vsm/async.py", line 112, in iii11
    obj . handle_read_event ( )
  File "/usr/lib64/python2.6/asyncore.py", line 428, in handle_read_event
    self.handle_read()
  File "/usr/lib64/python2.6/asynchat.py", line 140, in handle_read
    self.found_terminator()
  File "/opt/thinlinc/modules/thinlinc/vsm/xmlrpc.py", line 530, in found_terminator
    self . handle_request ( )
  File "/opt/thinlinc/modules/thinlinc/vsm/xmlrpc.py", line 544, in handle_request
    self . handle_method ( )
  File "/opt/thinlinc/modules/thinlinc/vsm/vsmserverchannel.py", line 109, in handle_method
    self . params )
  File "/opt/thinlinc/modules/thinlinc/vsm/handler_sessionchange.py", line 40, in handle
    self . handle_new ( )
  File "/opt/thinlinc/modules/thinlinc/vsm/handler_sessionchange.py", line 61, in handle_new
    HAtransfer = 0 )
  File "/opt/thinlinc/modules/thinlinc/vsm/sessionstore.py", line 371, in add_session
    o0OOoo0OO0OOO = pwd . getpwnam ( locale_encode ( username ) ) . pw_uid
KeyError: 'getpwnam(): name not found: user0123'
Comment 1 Pierre Ossman cendio 2013-10-08 13:06:52 CEST

*** This bug has been marked as a duplicate of bug 3134 ***

Note You need to log in before you can comment on or make changes to this bug.