mirror of
https://opendev.org/openstack/openstack.git
synced 2026-01-16 23:02:00 +00:00
Update git submodules
* Update python-ironicclient from branch 'master'
to eec044a77c889b5511de2ecb7666296e9353b87a
- Merge "Fix parallel initial version negotiation"
- Fix parallel initial version negotiation
If two parallel greenthreads use the same, uninitialized client, there's
a race-condition when both enter `negotiate_version()`: there is a
request made to Ironic, which hands over execution to the other
greenthread. The first greenthread returning from the request changes
the state of the client and the second one reads the updated state and
thus thinks it's in an error-handling call instead of the initial
negotiation - and errors out.
We fix this by adding a lock around the initial call to
`negotiate_version()`.
Change-Id: I9ec03d2bc34017c7670fd6903e5353a8c91e9f17
Closes-Bug: #2119323
Signed-off-by: Johannes Kulik <johannes.kulik@sap.com>
This commit is contained in:
parent
1ef6096f87
commit
bcfca1e1b7
1 changed files with 1 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit d57165206dcd1c5801c8556bef6d500f096db0cd
|
||||
Subproject commit eec044a77c889b5511de2ecb7666296e9353b87a
|
||||
Loading…
Add table
Reference in a new issue