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/520753 /git.openstack. org/cgit/ openstack/ oslo.rootwrap/ commit/ ?id=801938bbf0e 061343dfb64786a f52aae911e7b2f
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 801938bbf0e0613 43dfb64786af52a ae911e7b2f
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