[oslo] Parallel Privsep is Proposed for Release

Ben Nemec openstack at nemebean.com
Wed Jan 2 18:17:12 UTC 2019


Yay alliteration! :-)

I wanted to draw attention to this release[1] in particular because it 
includes the parallel privsep change[2]. While it shouldn't have any 
effect on the public API of the library, it does significantly affect 
how privsep will process calls on the back end. Specifically, multiple 
calls can now be processed at the same time, so if any privileged code 
is not reentrant it's possible that new race bugs could pop up.

While this sounds scary, it's a necessary change to allow use of privsep 
in situations where a privileged call may take a non-trivial amount of 
time.  Cinder in particular has some privileged calls that are 
long-running and can't afford to block all other privileged calls on them.

So if you're a consumer of oslo.privsep please keep your eyes open for 
issues related to this new release and contact the Oslo team if you find 
any. Thanks.

-Ben

1: https://review.openstack.org/628019
2: https://review.openstack.org/#/c/593556/



More information about the openstack-discuss mailing list