Protect rootwrap daemon socket against multiple threads
Wrap the call with eventlet.Semaphore. Simultaneous Client.execute
calls can fail badly. Alternatively, rootwrap daemon connections
could be made every time when Client.execute is called, without
using a semaphore.
Change-Id: Id9d38832c67f2d81d382cda797a48fee943a27f1
Closes-bug: #1654287
(cherry picked from commit 7711a6ce31c3ffa8249bfeac53a4d9e306a7299f)
Reviewed: https:/ /review. openstack. org/520754 /git.openstack. org/cgit/ openstack/ oslo.rootwrap/ commit/ ?id=3ab92c6091f b175973a96244c5 c1a4d3226f7373
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit 3ab92c6091fb175 973a96244c5c1a4 d3226f7373
Author: IWAMOTO Toshihiro <email address hidden>
Date: Tue Oct 24 16:27:13 2017 +0900
Protect rootwrap daemon socket against multiple threads
Wrap the call with eventlet.Semaphore. Simultaneous Client.execute
calls can fail badly. Alternatively, rootwrap daemon connections
could be made every time when Client.execute is called, without
using a semaphore.
Change-Id: Id9d38832c67f2d 81d382cda797a48 fee943a27f1 8249bfeac53a4d9 e306a7299f)
Closes-bug: #1654287
(cherry picked from commit 7711a6ce31c3ffa