summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Changed the home-page link1.44.0melissaml2016-10-171-1/+1
| | | | | | Set the correct link for home-page. Change-Id: I76dddaf34aad718be0ee18a2b7d73734e96cca18
* Merge "file: update .metadata atomically"Jenkins2016-10-021-7/+9
|\
| * file: update .metadata atomicallyJulien Danjou2016-09-301-7/+9
| | | | | | | | | | | | | | | | This change the method writing the .metadata file for each group to do it in an atomic fashion. This avoids the need to lock the whole driver to read/write the group information. Change-Id: Id615145b936463f13eb4d45717cd88f2ab34b105
* | Merge "file: return converted voluptuous data"Jenkins2016-10-021-2/+1
|\ \ | |/
| * file: return converted voluptuous dataJulien Danjou2016-09-301-2/+1
| | | | | | | | | | | | | | | | Voluptuous schema validation return validated/modified/converted data on schema __call__, so let's use it (even if we don't yet convert anything). Change-Id: Ie9b088fe25453bc9849b4f652278a0691c12fcc8
* | Merge "file: move _load_and_validate to a method"Jenkins2016-10-021-32/+28
|\ \ | |/
| * file: move _load_and_validate to a methodJulien Danjou2016-09-301-32/+28
| | | | | | | | | | | | | | This is only used in one class, so move it where it's used for more clarity. Change-Id: I6d73d75a2e633811f970ee8dd99873a5b96cf744
* | Merge "file: move _read_{group,member}_id to staticmethod-s"Jenkins2016-10-021-18/+18
|\ \ | |/
| * file: move _read_{group,member}_id to staticmethod-sJulien Danjou2016-09-301-18/+18
| | | | | | | | | | | | This avoids the extra cost of recompiling on each call. Change-Id: Ifb150929574d8fd133c8ff41799537d32f87dc1f
* | Merge "etcd: run tests in clustering mode too"Jenkins2016-09-302-1/+3
|\ \ | |/ |/|
| * etcd: run tests in clustering mode tooJulien Danjou2016-09-252-1/+3
| | | | | | | | | | Depends-On: Icbf997be2afb6e4f2cb8e142024dce21fe12a04b Change-Id: Ibcb315ccde165ef3a5f7ba6900336059b436d75c
* | Use method ensure_tree from oslo.utilsChangBo Guo(gcb)2016-09-252-18/+3
|/ | | | | | Oslo.utils provides same function and just use it. Change-Id: Ib4144bbc308d01b640e1f3fece9f941938b1bb01
* Merge "Switch from Python 3.4 to Python 3.5"Jenkins2016-09-232-26/+18
|\
| * Switch from Python 3.4 to Python 3.5Julien Danjou2016-09-222-26/+18
| | | | | | | | Change-Id: Iacf2a84d775ded1d67bf540ad0afc4bcf2066f14
* | Merge "Fix a typo in file.py"Jenkins2016-09-231-1/+1
|\ \ | |/ |/|
| * Fix a typo in file.pyzhangyanxian2016-09-211-1/+1
| | | | | | | | Change-Id: Id8b1129aaa62121c0eae788ba792c124bf7da442
* | Install only needed packagesMehdi Abaakouk2016-09-221-0/+11
|/ | | | | | | | | | Since jobs moved to ubuntu xenial some package are missing So instead of bother infra to add our requirements. This change uses the new bindep.txt feature to install our needed packages. Change-Id: I9505ae15b627cda197ea60b7e162f2a6a7fe7588
* Update etcd version in testsJulien Danjou2016-08-261-1/+1
| | | | | Change-Id: Ie55a35c7d83a9512fa82385d333944a50f10ab93 Signed-off-by: Julien Danjou <julien@danjou.info>
* Makedirs only throws oserror, so only catch that1.43.0Joshua Harlow2016-08-131-1/+1
| | | | | | | The docs state this only throws OSError so we might as well just catch only that vs its parent class. Change-Id: I829996caf7ff256ff4949b8e1e0f27e233bab467
* Merge "etcd: don't run heartbeat() concurrently"1.42.0Jenkins2016-07-291-0/+12
|\
| * etcd: don't run heartbeat() concurrentlyJohn Schwarz2016-07-271-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | As the bug specifies, running heartbeat() concurrently to other actions (such as release()) is raceful as using heartbeat() can and will change the modifiedIndex field of a lock, thus breaking the compare function of the Compare-and-Delete used by release(). This patch, therefore, uses threading's Lock object to make sure only a single action is done concurrently in tooz' etcd driver. Closes-Bug: #1603005 Change-Id: Ief32a3d5add90ebbd4adf825d78fca3dd57e5d9e
* | Merge "etcd: properly block when using 'wait'"Jenkins2016-07-263-2/+46
|\ \
| * | etcd: properly block when using 'wait'John Schwarz2016-07-203-2/+46
| |/ | | | | | | | | | | | | | | | | | | | | When using the wait functionality, one must use the last index increased by one, as the wait returns once that index has been used. Using the index that is already been returned by the etcd instance will cause 'wait' to return immediately, producing a busy-wait loop while spamming the server with the same requests over and over. Closes-Bug: #1603002 Change-Id: I4f3bee0a52dcf2eb69b96b53a9f777a5e2a7efb1
* | Merge "Share _get_random_uuid() among all tests"Jenkins2016-07-206-61/+58
|\ \
| * | Share _get_random_uuid() among all testsJohn Schwarz2016-07-206-61/+58
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, _get_random_uuid() is defined in test_coordination.py as a staticmethod. This in turn forces multiple test suites to either use that function from test_coordination (which was not done), or re-implement the function on each call (which was done). This patch proposes a move of the said function to tests/__init__.py, which will allow every module to simply invoke 'tooz.tests.get_random_uuid()' if they wanted a random uuid. This will eliminate a lot of code duplication in the test suite. Change-Id: Idfc50d9da23790613d30bd87fb4da8eb272dce1f
* | Merge "Clean leave group hooks when unwatching."Jenkins2016-07-182-0/+16
|\ \
| * | Clean leave group hooks when unwatching.Yassine Lamgarchal2016-07-172-0/+16
| |/ | | | | | | | | | | | | This commit clean the dict CoordinationDriver._hooks_leave_group when the user unwatch a given group. Change-Id: I17adcb0eab556bd97cc0420aec780da8f820f6da
* | Merge "Fix the test test_unwatch_elected_as_leader."Jenkins2016-07-181-1/+2
|\ \
| * | Fix the test test_unwatch_elected_as_leader.Yassine Lamgarchal2016-07-171-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | The test test_unwatch_elected_as_leader ensure that there is exactly one leader election hook exists after calling watch_elected_as_leader(). But the assertion actually verify that there is only one group inside the dict _hooks_elected_leader. This commit fix it by using the actual number of elected leader hooks: _hooks_elected_leader[self.group_ip]. Change-Id: If4d6192b451f495154c663151000e6071ac4e02c
* | Updated from global requirementsOpenStack Proposal Bot2016-07-181-2/+2
|/ | | | Change-Id: Ic03b166406e4b43f99c71de2d4ff50dbde0b5737
* Updated from global requirementsOpenStack Proposal Bot2016-07-091-1/+1
| | | | Change-Id: I3fdc2c1e9b42e52d2b9d21781b968542af68a987
* File driver: properly handle Windows paths1.41.0Lucian Petrut2016-07-042-1/+66
| | | | | | | | | | | | | | | | | On Windows, the parsed paths always contain a starting slash, which causes issues. Also, the paths should be normalized, replacing slashes with backslashes. This patch fixes those issues, ensuring that urls such as the following are properly handled: file:///c:/local/path file:////share_addr/share_name Change-Id: I84396173881d3be3a5d2cdde626ab0e2d2dac3eb Closes-Bug: #1598821
* Updated from global requirementsOpenStack Proposal Bot2016-06-301-1/+1
| | | | Change-Id: I820f2f82e98671a87fc8ccf2482d192943de0bf8
* Updated from global requirementsOpenStack Proposal Bot2016-06-211-28/+18
| | | | Change-Id: I2ef5d50d8a3ddce8d2f1ac3e8b2459c999205ee4
* Merge "Change dependency to use flavors"1.40.0Jenkins2016-06-174-25/+55
|\
| * Change dependency to use flavorsJulien Danjou2016-06-094-25/+55
| | | | | | | | | | | | | | This makes sure we install the correct and only the correct dependencies when installing tooz, based on the driver one wants to use. Change-Id: I58825cf228771a00b28d515a552141b42f884efa
* | Merge "Run doc8 only in pep8 target"Jenkins2016-06-172-3/+2
|\ \ | |/
| * Run doc8 only in pep8 targetJulien Danjou2016-06-092-3/+2
| | | | | | | | | | | | This should be enough and we're sure it's also run by the gate. Change-Id: I7680cbb54f38322c23e303c9b63b6887d3f609ad
* | Merge "Move pep8 requirements in their own target"Jenkins2016-06-172-5/+1
|\ \ | |/
| * Move pep8 requirements in their own targetJulien Danjou2016-06-092-5/+1
| | | | | | | | | | | | | | | | There's no need to depends on all the stack, as hacking is pulling everything. We also can only install hacking in the pep8 target, as it's not used per say for tests in tooz. Change-Id: I69426ab2373ba2f76b098cf9e9eb812c8124748f
* | Merge "zookeeper: do not hard depend on eventlet"Jenkins2016-06-172-5/+8
|\ \ | |/
| * zookeeper: do not hard depend on eventletJulien Danjou2016-06-092-5/+8
| | | | | | | | Change-Id: Idadfc61c932bda6ab551dc941c8a53da990c6733
* | Merge "Remove unused iso8601 dependency"Jenkins2016-06-171-1/+0
|\ \ | |/
| * Remove unused iso8601 dependencyJulien Danjou2016-06-091-1/+0
| | | | | | | | Change-Id: I3d91a6548de6dfa655a1e485a78db2337b728568
* | Merge "tests: remove testscenario usage"Jenkins2016-06-172-18/+15
|\ \ | |/
| * tests: remove testscenario usageJulien Danjou2016-06-092-18/+15
| | | | | | | | | | | | | | There's no need to use testscenarios since we use a different tox target for each test class. Change-Id: Id34b4fa938760c131600c80a4c28cd4aad3cca41
* | Merge "redis: do not force LuaLock"Jenkins2016-06-171-4/+3
|\ \
| * | redis: do not force LuaLockJulien Danjou2016-05-301-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | LuaLock are used automatically if available by the Redis client, so let's enjoy that. If they are not available, it'll use standard locks anyhow. Change-Id: Iac82622bbbf05c9472fe2c62723d46ea18ba7e6b
* | | Merge "file: set no timeout by default"Jenkins2016-06-161-1/+1
|\ \ \ | | |/ | |/|
| * | file: set no timeout by defaultJulien Danjou2016-06-091-1/+1
| | | | | | | | | | | | | | | | | | There's no reason to have a timeout by default. Change-Id: I779862ecc6ff68039b905bab9c818408ea028203