<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/tooz.git, branch stable/ocata</title>
<subtitle>opendev.org: openstack/tooz.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/'/>
<entry>
<title>OpenDev Migration Patch</title>
<updated>2019-04-19T19:27:52+00:00</updated>
<author>
<name>OpenDev Sysadmins</name>
<email>openstack-infra@lists.openstack.org</email>
</author>
<published>2019-04-19T19:27:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=2e0bf2bd3ed9af272def80c85e2616b010a9904e'/>
<id>2e0bf2bd3ed9af272def80c85e2616b010a9904e</id>
<content type='text'>
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
</pre>
</div>
</content>
</entry>
<entry>
<title>import zuul job settings from project-config</title>
<updated>2018-08-03T21:52:20+00:00</updated>
<author>
<name>Doug Hellmann</name>
<email>doug@doughellmann.com</email>
</author>
<published>2018-08-03T21:52:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=13fa447a04b74888f447b8a8a188c867b4a49173'/>
<id>13fa447a04b74888f447b8a8a188c867b4a49173</id>
<content type='text'>
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I58ab6486fa94fc2f184dbfb99b388a56c73774a8
Story: #2003250
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I58ab6486fa94fc2f184dbfb99b388a56c73774a8
Story: #2003250
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix sphinx-docs job for stable branch</title>
<updated>2018-05-07T17:47:30+00:00</updated>
<author>
<name>eeldill</name>
<email>elod.illes@ericsson.com</email>
</author>
<published>2018-05-02T12:36:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=758cabe23c72cdb019c75622b62e282da0aeb2e5'/>
<id>758cabe23c72cdb019c75622b62e282da0aeb2e5</id>
<content type='text'>
build-openstack-sphinx-docs jobs fail on stable branches due to the new
pip version 10 introduces some previously Warning as Error: in case of
calling "pip install" without any package name, the command fails.
tox_install.sh is called during docs job without any package passed to pip.

Change-Id: I860a8776bb32e8e05abd914110ca8df24d869bd2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
build-openstack-sphinx-docs jobs fail on stable branches due to the new
pip version 10 introduces some previously Warning as Error: in case of
calling "pip install" without any package name, the command fails.
tox_install.sh is called during docs job without any package passed to pip.

Change-Id: I860a8776bb32e8e05abd914110ca8df24d869bd2
</pre>
</div>
</content>
</entry>
<entry>
<title>Add doc/requirements.txt</title>
<updated>2018-01-05T15:54:07+00:00</updated>
<author>
<name>Andreas Jaeger</name>
<email>aj@suse.com</email>
</author>
<published>2017-12-20T11:13:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=7c943d7003d7646794233024bc60fabe7b29d0cd'/>
<id>7c943d7003d7646794233024bc60fabe7b29d0cd</id>
<content type='text'>
Fix doc building with new PTI changes and job updates.

Add a doc/requirements.txt file with all needed dependencies.

Added oslosphinx to doc/requirements since stable/pike had not
switched to openstackdocstheme yet.

Change-Id: Ic7963520aeb0b9c463c4f9b5675589308720d6f8
(cherry picked from commit e7afb739bfa1dec8d9b3dbbaea25243c6931a2f5)
(cherry picked from commit 9ddc3573633fdcaa7f180e7cb207fa90c4b5a903)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix doc building with new PTI changes and job updates.

Add a doc/requirements.txt file with all needed dependencies.

Added oslosphinx to doc/requirements since stable/pike had not
switched to openstackdocstheme yet.

Change-Id: Ic7963520aeb0b9c463c4f9b5675589308720d6f8
(cherry picked from commit e7afb739bfa1dec8d9b3dbbaea25243c6931a2f5)
(cherry picked from commit 9ddc3573633fdcaa7f180e7cb207fa90c4b5a903)
</pre>
</div>
</content>
</entry>
<entry>
<title>redis: fix concurrent access on acquire()</title>
<updated>2017-07-18T16:11:51+00:00</updated>
<author>
<name>Julien Danjou</name>
<email>julien@danjou.info</email>
</author>
<published>2017-03-18T09:33:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=0dc996b92dd66a5da5e75966df3a59fabc6df420'/>
<id>0dc996b92dd66a5da5e75966df3a59fabc6df420</id>
<content type='text'>
Redis-py is not thread safe and in lock management, which means the following
can also happen:
1. lock.acquire()
2a. lock.release() ---\_ at the same time for all 2. operations
2b. lock.acquire() ---/
2c. lock.heartbeat() /

which means the lock can be when a lock is already acquired and in the process
of being released and re-acquired in paralllel:
1. acquire() acquire the lock (self._lock.acquire())
2. release() release the lock (self._lock.release()) and remove it from
   self._lock.acquire() where it's not (discard() does not raise on non-existing
   element)
3. acquire() put the lock in _acquired_locks
4. heartbeat() iterates on _acquired_locks and try to extend a lock that indeed
   was acquired but was in the mean time released by Redis.

Change-Id: Ib9549b44485cb15de312ec9dfa57b148cb45e2c9
Closes-Bug: #1557593
(cherry picked from commit 059f2ae5406a325017ad181ace1e5b7c5bff0d22)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Redis-py is not thread safe and in lock management, which means the following
can also happen:
1. lock.acquire()
2a. lock.release() ---\_ at the same time for all 2. operations
2b. lock.acquire() ---/
2c. lock.heartbeat() /

which means the lock can be when a lock is already acquired and in the process
of being released and re-acquired in paralllel:
1. acquire() acquire the lock (self._lock.acquire())
2. release() release the lock (self._lock.release()) and remove it from
   self._lock.acquire() where it's not (discard() does not raise on non-existing
   element)
3. acquire() put the lock in _acquired_locks
4. heartbeat() iterates on _acquired_locks and try to extend a lock that indeed
   was acquired but was in the mean time released by Redis.

Change-Id: Ib9549b44485cb15de312ec9dfa57b148cb45e2c9
Closes-Bug: #1557593
(cherry picked from commit 059f2ae5406a325017ad181ace1e5b7c5bff0d22)
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite heartbeat runner with event</title>
<updated>2017-07-18T16:11:51+00:00</updated>
<author>
<name>Julien Danjou</name>
<email>julien@danjou.info</email>
</author>
<published>2017-02-27T12:55:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=dcbe72523140e220f921b3d7c8b5ec903246ffa9'/>
<id>dcbe72523140e220f921b3d7c8b5ec903246ffa9</id>
<content type='text'>
The current implementation uses an event attached to the Heart class to detect
if the thread is done. Since the thread is a daemon, it might be killed after
the interpreter is done, especially if an application is killed before calling
stop() on the coordinator. This results in the following backtrace:

Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  File "/usr/lib/python2.7/threading.py", line 754, in run
  File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 250, in wrapper
  File "/usr/local/lib/python2.7/dist-packages/tooz/coordination.py", line 206, in _beat_forever_until_stopped
  File "/usr/lib/python2.7/threading.py", line 585, in set
  File "/usr/lib/python2.7/threading.py", line 407, in notifyAll
&lt;type 'exceptions.TypeError'&gt;: 'NoneType' object is not callable

This patches simplifies the heart class by using the thread status rather than
an event to check if it's alive and wait for it to stop.

Change-Id: I03ccbefd3d68e9dd85ea23a3840d606d1ffc80bb
(cherry picked from commit 325324137649cc40791260b6d12df33c0407e039)
(cherry picked from commit bc11f09b831dd5811d42f4845117aea2581c194e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current implementation uses an event attached to the Heart class to detect
if the thread is done. Since the thread is a daemon, it might be killed after
the interpreter is done, especially if an application is killed before calling
stop() on the coordinator. This results in the following backtrace:

Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  File "/usr/lib/python2.7/threading.py", line 754, in run
  File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 250, in wrapper
  File "/usr/local/lib/python2.7/dist-packages/tooz/coordination.py", line 206, in _beat_forever_until_stopped
  File "/usr/lib/python2.7/threading.py", line 585, in set
  File "/usr/lib/python2.7/threading.py", line 407, in notifyAll
&lt;type 'exceptions.TypeError'&gt;: 'NoneType' object is not callable

This patches simplifies the heart class by using the thread status rather than
an event to check if it's alive and wait for it to stop.

Change-Id: I03ccbefd3d68e9dd85ea23a3840d606d1ffc80bb
(cherry picked from commit 325324137649cc40791260b6d12df33c0407e039)
(cherry picked from commit bc11f09b831dd5811d42f4845117aea2581c194e)
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated from global requirements</title>
<updated>2017-02-09T18:22:07+00:00</updated>
<author>
<name>OpenStack Proposal Bot</name>
<email>openstack-infra@lists.openstack.org</email>
</author>
<published>2017-02-09T18:22:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=914ddf405221280ab50af48cc6b7d581a0380033'/>
<id>914ddf405221280ab50af48cc6b7d581a0380033</id>
<content type='text'>
Change-Id: I0adcf307da3a7e5299923bdde79e17f64232da79
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I0adcf307da3a7e5299923bdde79e17f64232da79
</pre>
</div>
</content>
</entry>
<entry>
<title>Update .gitreview for stable/ocata</title>
<updated>2017-01-20T19:16:28+00:00</updated>
<author>
<name>OpenStack Release Bot</name>
<email>infra-root@openstack.org</email>
</author>
<published>2017-01-20T19:16:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=a1882b5937a3908bbe2a8ed9ed0fefdb4702b617'/>
<id>a1882b5937a3908bbe2a8ed9ed0fefdb4702b617</id>
<content type='text'>
Change-Id: I426d71b7434d646bfafeee5db4ac6b1a6ebc3b29
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I426d71b7434d646bfafeee5db4ac6b1a6ebc3b29
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix test function name with two underscores to have only one"</title>
<updated>2017-01-12T13:12:23+00:00</updated>
<author>
<name>Jenkins</name>
<email>jenkins@review.openstack.org</email>
</author>
<published>2017-01-12T13:12:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=e1d67a89584686e416eb0319344b943ebc064a4b'/>
<id>e1d67a89584686e416eb0319344b943ebc064a4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test function name with two underscores to have only one</title>
<updated>2017-01-03T06:28:42+00:00</updated>
<author>
<name>Cao Xuan Hoang</name>
<email>hoangcx@vn.fujitsu.com</email>
</author>
<published>2017-01-03T06:28:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/tooz.git/commit/?id=7b98e5c26e6dd33677f3f7692e05d6057768ab7b'/>
<id>7b98e5c26e6dd33677f3f7692e05d6057768ab7b</id>
<content type='text'>
Change-Id: I3cb8303931ed363a2c8ff8ae5f41a8a876ebfddb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I3cb8303931ed363a2c8ff8ae5f41a8a876ebfddb
</pre>
</div>
</content>
</entry>
</feed>
