37 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
f44bd98312 Updated from global requirements
Change-Id: I3839fce6009e759d1a07edbd077da983bce93d49
2015-09-07 15:18:47 +00:00
OpenStack Proposal Bot
7accc78843 Updated from global requirements
Change-Id: I07ee21a17b7bb0ca67befd284227e3d495c063d3
2015-07-26 17:35:01 +00:00
Jenkins
b246816afc Merge "Use futurist to allow for executor providing and unifying" 2015-07-22 17:27:23 +00:00
OpenStack Proposal Bot
a07405dbad Updated from global requirements
Change-Id: I9df6453dbf2de82668621f646efe4b451577a126
2015-07-22 05:00:37 +00:00
Joshua Harlow
8511d4c33a Use futurist to allow for executor providing and unifying
Depends-On: Ifd7b6e11863cae3d34fd5475a364ebb7c28811fc

Change-Id: Ie5f800c1620451e605e8d28673631b7436019279
2015-07-20 19:38:18 -07:00
OpenStack Proposal Bot
f3cdf2004e Updated from global requirements
Change-Id: I43b43f29b1830a5ea1be86a2d116033b1b7809e7
2015-07-17 16:19:27 +00:00
OpenStack Proposal Bot
8423a91cbb Updated from global requirements
Change-Id: I23d4494402c125d6821d7c0d6a113d0eb8df7d2d
2015-07-15 19:51:03 +00:00
Robert Collins
9af2a9fa46 Fixup dependencies.
- Don't put deps in tox.ini. They aren't synced.
- Remove unneeded requirements-py3.txt.

Change-Id: I57851a0004fcfa360e5f35e18f869a0af0ca22fb
2015-07-15 20:41:22 +12:00
OpenStack Proposal Bot
4707ba1e04 Updated from global requirements
Change-Id: Ic951a373ceb13a8b0eb636d072d47b9e5b2011d4
2015-07-12 15:23:14 +00:00
OpenStack Proposal Bot
5ab78903b4 Updated from global requirements
Change-Id: I958d48bd6644f17ca80f80dd9fd59d0f5287f0d3
2015-06-30 20:04:31 +00:00
OpenStack Proposal Bot
d819758e7d Updated from global requirements
Change-Id: Id0402bfb5d81856a2c72a0abfef16d58449ddc02
2015-06-22 21:55:02 +00:00
OpenStack Proposal Bot
c6e75071e7 Updated from global requirements
Change-Id: Icad28c2b80bd8a68b1a4d679b9194dee41824434
2015-06-22 08:29:01 +00:00
OpenStack Proposal Bot
736cf677e3 Updated from global requirements
Change-Id: Id7a487cc489955c83e09fdca2361fdb98a538589
2015-05-29 16:43:34 +00:00
OpenStack Proposal Bot
f16972d423 Updated from global requirements
Change-Id: Ic6ec2d573bc1bf79c7aa6796f7a53b04251a610f
2015-05-27 01:14:18 +00:00
OpenStack Proposal Bot
184c0193dc Updated from global requirements
Change-Id: I61e5dbc266b8c10ca76b6348480e99d922c12263
2015-05-11 15:52:53 +00:00
Joshua Harlow
3d23012442 Use pymemcache pooled client
A thread-safe pooled client was added in 1.2.9
so we no longer need to subclass to add on thread
safety to achieve the same result.

Change-Id: Ida963da86dc2fb56580801f549ca557b76dd1c73
2015-05-01 20:13:36 -07:00
Joshua Harlow
ac13079410 Move optional driver requirements to test-requirements.txt
Instead of having redis, mysql, ipc, zookeeper, memcache in
requirements.txt (which are only needed if those drivers are used) be
always required move them to test-requirements.txt and require users
to install the correct requirement for there expected usage.

This leaves zake as a requirement, as that driver is the examples
default and is an in-memory driver that should/could be the default
when no other driver is accessible...

Change-Id: I410864646bb2fa401e5c827dda9bd70c6c225c74
2015-04-23 19:29:01 +00:00
Doug Hellmann
a039cb0754 Uncap library requirements for liberty
Change-Id: I940dcf84a7ef5fabc21dde21a88f609a163f1d11
Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
2015-04-16 18:15:34 +00:00
Joshua Harlow
15e659f2b2 Allow the acquired file to be closed manually
Instead of requiring library users to wait for a GC
pass to close the file descriptor, make it possible
for a explicit close() call to do the same.

This makes it possible for users of these locks to
avoid running out of file descriptors that they are
unable to close.

Change-Id: I3fabc57b2f0f6b1cef45553cac7e04732a9c2489
2015-04-14 15:51:35 -07:00
OpenStack Proposal Bot
a0980f8a95 Updated from global requirements
Change-Id: I3fe0e442de42b6fd378e0fbc4f0a87065502e2fa
2015-04-14 19:34:50 +00:00
OpenStack Proposal Bot
7b3157ee67 Updated from global requirements
Change-Id: I175cf84821eb2c6479f230702fa6d570301df369
2015-03-21 00:18:54 +00:00
OpenStack Proposal Bot
5b77b96761 Updated from global requirements
Change-Id: Ieac4354608ba0d60b51f782d15c5d94297ae63e7
2015-02-05 20:20:17 +00:00
Davanum Srinivas
9cfe5db9cc Sync requirements to global requirements
For better tooz adoption, we'll need the requirements to be sync'ed
to global requirements. sysv_ipc is only on linux platforms and NOT
on windows platforms, and as it is a optional plugin, let's specify
that in test-requirements

Change-Id: I4c9e1098dbcd480a2efdf3c73acb99431fe0b242
Depends-On: If934a117039b4101190aba98dfe33ae491027956
Depends-On: I9660a0af74e8b43942f99a6f889213b457cd85db
2014-12-17 21:25:12 +00:00
Joshua Harlow
1b45419b3e Switch to using oslosphinx
Adjust the docs to generate in the common OpenStack
format using the common OpenStack theme.

Also adjust the copyright to now be the 'OpenStack
Foundation' instead of being 'eNovance' now that
this code is under the openstack repositories.

Change-Id: I4026e80a1c98a8052d306d104bc92c70a3a36c3e
2014-12-08 17:22:13 -08:00
Jenkins
cdf092d7d9 Merge "Translate psycopg2 errors/exceptions into tooz exceptions" 2014-11-18 10:45:02 +00:00
Joshua Harlow
2f7bcb5ed2 Translate psycopg2 errors/exceptions into tooz exceptions
Instead of raising raw psycopg2 errors/exceptions from the
postgresql driver we should make an attempt to translate
those errors/exceptions into a equivalent tooz exception to
make it so that users of tooz can handle the known driver
failure modes in a sane manner (users expecting to user tooz
as a pluggable abstraction will not be able to handle raw
psycopg2 errors/exceptions, especially if those users are
using different tooz backends at the same time).

Change-Id: Ic95e5fa21bb25096a31b5c5e38aa0b14afa05d87
2014-11-18 11:11:28 +01:00
Julien Danjou
8deae0f9f7 Add MySQL driver
Change-Id: Ia10be91f8985d4e2159437ad94096a690ee84dc3
2014-11-17 11:09:23 +01:00
Julien Danjou
b5f87e4fc5 Add a PostgreSQL driver
Change-Id: Id6a6ef4c1ec11c1f8cf5aa440c4f425213837ffc
2014-11-06 12:16:41 +01:00
Julien Danjou
eede052284 Move sysv_ipc deps to test-requirements
We can't unconditionaly depends on it because it's not available
everywhere

Change-Id: Ie7ff8c21508426dc98a7626d66faa4b5db15e636
Closes-Bug: #1386675
2014-10-28 14:58:34 +01:00
Joshua Harlow
ac6f7d93db Let zake act as a in-memory fully functional driver
The zake driver should theoretically function the same as the
non-local driver so all the same kazoo functions should work,
without the whole distributed part as they work with the regular
zookeeper backed kazoo driver.

Change-Id: I19df0da0e58c5624ca1b10f61c42510f1f104847
2014-09-15 16:38:11 -07:00
Joshua Harlow
ca1c3412ac Bump up zake to be using the newer 0.1 or greater
0.1 brings in quite a few new hotness than prior
to it. The big one is multi-client -> single storage
which mimics many zookeeper clients attached to
the same zookeeper.

Change-Id: Iee6f4157743a094dd0d59dc12e66592594d54792
2014-08-26 10:26:09 -07:00
Yassine Lamgarchal
9c3f75621d Add coverage report
Change-Id: Ia520e5f0e96612fe9d0223a2fba1f49bcaa5070f
2014-08-19 14:55:40 +02:00
Julien Danjou
fc85db067a Add documentation
Change-Id: Ib236d2061f5f375f7314993db7e6fc38d0f8750b
2014-07-18 15:08:14 +02:00
Julien Danjou
90b977ee5e Upgrade hacking requirement
Change-Id: I61a853751bd6e459b0d78cd526e098c7f4a48081
2014-07-16 10:58:20 +02:00
Yassine Lamgarchal
5a11223c46 Add asynchronous API
The Tooz asynchronous API rely on zookeeper client asynchronous
API. Each asynchronous call will return a future like object.

Change-Id: Ibee9bf8ae0d1c1f62318f46b58ee25631e9e319a
2014-01-28 14:57:41 +01:00
Yassine Lamgarchal
b693c3f677 Add a fake ZooKeeper driver
This patch add a new driver which mimic a Kazoo client
without the need to use a real zookeeper server.

The dependency Zake (written by Joshua Harlow:harlowja@gmail.com)
has been added which provides the Kazoo API.

Change-Id: I53ca9ac972d6e2dca2f9e04b6187ee0545813e74
2014-01-14 11:09:10 +01:00
Yassine Lamgarchal
d1e094f61c First commit of Tooz
For now Tooz is composed of a simple API and use ZooKeeper
as the first backend.

The current API provide the group membership protocol like
'servicegroup' in Nova, we enriched it by adding the notion
of capabilities. The API is currently synchronous, we plan to
design an asynchronous one. The notification mechanism is not yet
available. Please read the associated blueprint for more details:
https://wiki.openstack.org/wiki/Oslo/blueprints/service-sync

All new backends must implement api.CoordinationDriver and
validate the unit tests. Tooz will provide a unique unit-tests suite
which will be run against all backends.

Change-Id: I4e4cefb52cf6c39a3f6ba35ab1d4ef34a77b5811
2013-12-19 12:18:35 +01:00