[os-brick][nova][cinder][glance] Question about lock_path

Radosław Piliszek radoslaw.piliszek at gmail.com
Tue Feb 1 10:50:28 UTC 2022


Hello Fellow OpenStackers!

I have noticed os-brick started using the file locks (in lock_path) to
avoid race conditions.
I have a question regarding that lock_path - it seems all the cases I
have found use separate lock_paths per service, yet the problematic
cases listed in the bug report (and the commit message of [1]) suggest
that, in case of co-hosted nova-compute, glance-api, cinder-volume and
cinder-backup services (or any combination thereof), the lock_path
should be shared.
Should the deployment projects adapt to actually fix the race condition issue?

[1] https://review.opendev.org/c/openstack/os-brick/+/814139

Kind regards,
-yoctozepto



More information about the openstack-discuss mailing list