[oslo] Parallel Privsep is Proposed for Release

Slawomir Kaplonski skaplons at redhat.com
Fri Jan 4 13:28:04 UTC 2019


Hi,

I just found that functional tests in Neutron are failing since today or maybe yesterday. See [1]
I was able to reproduce it locally and it looks that it happens with oslo.privsep==1.31. With oslo.privsep==1.30.1 tests are fine.

[1] https://bugs.launchpad.net/neutron/+bug/1810518

— 
Slawek Kaplonski
Senior software engineer
Red Hat

> Wiadomość napisana przez Ben Nemec <openstack at nemebean.com> w dniu 02.01.2019, o godz. 19:17:
> 
> 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