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.
Reviewed: https:/ /review. openstack. org/514547 /git.openstack. org/cgit/ openstack/ oslo.rootwrap/ commit/ ?id=7711a6ce31c 3ffa8249bfeac53 a4d9e306a7299f
Committed: https:/
Submitter: Zuul
Branch: master
commit 7711a6ce31c3ffa 8249bfeac53a4d9 e306a7299f
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
Closes-bug: #1654287