Re: [ZODB-Dev] ZEORaid was Re: Restoring from repozo and reusing an index file?
Christian Theune wrote: On 06/11/2010 05:50 PM, Alan Runyan wrote: I suppose you could look at zeoraid. Hadn't thought of that, will look at it, thanks! Anyone using ZEORaid in production? I hope not. There's still open issues with split brain situations IIUC, that can be mitigated by only having one zeoraid server live at a time? and a mysterious bug WRT oid generation This one's new to me, where can I find out more? Chris -- Simplistix - Content Management, Batch Processing Python Consulting - http://www.simplistix.co.uk ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] ZEORaid was Re: Restoring from repozo and reusing an index file?
On 06/12/2010 09:47 AM, Chris Withers wrote: Christian Theune wrote: On 06/11/2010 05:50 PM, Alan Runyan wrote: I suppose you could look at zeoraid. Hadn't thought of that, will look at it, thanks! Anyone using ZEORaid in production? I hope not. There's still open issues with split brain situations IIUC, that can be mitigated by only having one zeoraid server live at a time? Yes. Our goal is to mitigate even splits by making the system read-only and manually allowing to specify which parts are active in that case. An automatic voting procedure would then require more than 2 participants, but with even splits you at least won't fail horribly. and a mysterious bug WRT oid generation This one's new to me, where can I find out more? The one you reported quite a while ago that ended in mixed-up OID results. Christian -- Christian Theune · c...@gocept.com gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1 Zope and Plone consulting and development ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] ZEORaid was Re: Restoring from repozo and reusing an index file?
Christian Theune wrote: On 06/12/2010 09:47 AM, Chris Withers wrote: Christian Theune wrote: On 06/11/2010 05:50 PM, Alan Runyan wrote: I suppose you could look at zeoraid. Hadn't thought of that, will look at it, thanks! Anyone using ZEORaid in production? I hope not. There's still open issues with split brain situations IIUC, that can be mitigated by only having one zeoraid server live at a time? Yes. Our goal is to mitigate even splits by making the system read-only and manually allowing to specify which parts are active in that case. An automatic voting procedure would then require more than 2 participants, but with even splits you at least won't fail horribly. *nods sagely while looking a little blank* ;-) and a mysterious bug WRT oid generation This one's new to me, where can I find out more? The one you reported quite a while ago that ended in mixed-up OID results. Have you got a url to the tracker issue? cheers, Chris -- Simplistix - Content Management, Batch Processing Python Consulting - http://www.simplistix.co.uk ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev
[ZODB-Dev] ZEO authentication
Hello, I am using ZEO authentication. When I try to login with the proper credentials (everything works just fine. If I try to login with the wrong credentials, I get a traceback like shown below. However, the code trying to establish the connection (in my case databaseFromConfig) never returns, instead the client tries to reconnect over and over again. Of course reconnecting will always fail since the credentials stay wrong. I can't display a message to the user that his login attempt failed, because I never receive an exception in the code that tried to establish the connection. Is this a bug? Or is there another method to detect that a connection has failed because of authentication? -Mattthias Traceback: (4344) CW: error in testConnection (('localhost', 17654)) Traceback (most recent call last): File C:\Python26\lib\site-packages\zodb3-3.10.0b1-py2.6-win32.egg\ZEO\zrpc\cl ient.py, line 577, in test_connection self.preferred = self.client.testConnection(self.conn) File C:\Python26\lib\site-packages\zodb3-3.10.0b1-py2.6-win32.egg\ZEO\ClientS torage.py, line 570, in testConnection skey = self.doAuth(auth, stub) File C:\Python26\lib\site-packages\zodb3-3.10.0b1-py2.6-win32.egg\ZEO\ClientS torage.py, line 538, in doAuth return c.start(self._username, self._realm, self._password) File C:\Python26\lib\site-packages\zodb3-3.10.0b1-py2.6-win32.egg\ZEO\auth\au th_digest.py, line 139, in start result = self.stub.auth_response((username, challenge, resp_dig)) File C:\Python26\lib\site-packages\zodb3-3.10.0b1-py2.6-win32.egg\ZEO\ServerS tub.py, line 397, in call return self.rpc.call(self.name, *a, **kwa) File C:\Python26\lib\site-packages\zodb3-3.10.0b1-py2.6-win32.egg\ZEO\zrpc\co nnection.py, line 733, in call raise inst # error raised by server LookupError: No such user: idontexist ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev