You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run account service with missing master in redis-sentinel.
EXPECTED RESULTS
No ugly traceback in account logs.
ACTUAL RESULTS
2018-06-25T03:07:47.281381+00:00 ubuntu-xenial OIO,OPENIO,account,0: err 11386 7F99A7B89B90 log ERROR ERROR Unhandled exception in request#012Traceback (most recent call last):#012 File "/usr/lib/python2.7/dist-packages/oio/common/wsgi.py", line 107, in dispatch_request#012 resp = getattr(self, 'on_' + endpoint)(req)#012 File "/usr/lib/python2.7/dist-packages/oio/account/server.py", line 71, in on_status#012 status = self.backend.status()#012 File "/usr/lib/python2.7/dist-packages/oio/account/backend.py", line 428, in status#012 account_count = conn.hlen('accounts:')#012 File "/usr/lib/python2.7/dist-packages/redis/client.py", line 1879, in hlen#012 return self.execute_command('HLEN', name)#012 File "/usr/lib/python2.7/dist-packages/redis/client.py", line 578, in execute_command#012 connection.send_command(*args)#012 File "/usr/lib/python2.7/dist-packages/redis/connection.py", line 563, in send_command#012 self.send_packed_command(self.pack_command(*args))#012 File "/usr/lib/python2.7/dist-packages/redis/connection.py", line 538, in send_packed_command#012 self.connect()#012 File "/usr/lib/python2.7/dist-packages/redis/sentinel.py", line 44, in connect#012 self.connect_to(self.connection_pool.get_master_address())#012 File "/usr/lib/python2.7/dist-packages/redis/sentinel.py", line 100, in get_master_address#012 self.service_name)#012 File "/usr/lib/python2.7/dist-packages/redis/sentinel.py", line 222, in discover_master#012 raise MasterNotFoundError("No master found for %r" % (service_name,))#012MasterNotFoundError: No master found for 'OPENIO-master-1'
The text was updated successfully, but these errors were encountered:
ISSUE TYPE
COMPONENT NAME
account
SDS VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
Run account service with missing master in redis-sentinel.
EXPECTED RESULTS
No ugly traceback in account logs.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: