<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello,</div><div><br></div><div><span id="gmail-summary_container"> <span id="gmail-short_desc_nonedit_display">By starting this thread I want to discuss about a knowed issue</span></span><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"> who impact several openstack projects.</span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">Projects who use oslo.concurrency lockutils to lock process have several leftover files</span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">who was not automatically removed.</span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">You can find a related issue on the Red Hat Bugzilla[1].</span></span><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">It's not really an oslo.concurrency issue it's a knowed fasteners issue[2] not fixed yet on the fasteners side but with some related changes[3] under review currently.</span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">oslo.concurrency already provide a work around[4] that all projects can use to fix that temporarely by waiting that the official fasteners fix will be released.<br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">I'm voluntary to help peoples and projects to use the oslo.concurrency cleaning method but I'm not sure where I need to put the changes (refer to [1]) outside the oslo scope.</span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">Also I guess other projects (nova, etc...) have the same issue.</span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">I need help from the expert of these projects to really know where we need to put changes (using oslo.concurrency remove_external_lock_file_with_prefix).</span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">Else if projects want to intodruces these changes I can help them by double checking with my oslo hat.</span></span></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><br></span></span></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">Also I guess some projects reimplement the same approach that the oslo.concurrency module to lock process by using directly fasteners, in that case I thing they need to use oslo.concurrency to avoid the problem too.<br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"></span></span><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">Do not hesitate to reply on this thread to trace useful informations and to add me on project reviews if you decide to introduce these changes on your side.<br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">[1] <span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1647469">https://bugzilla.redhat.com/show_bug.cgi?id=1647469</a></span></span></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">[2] <a href="https://github.com/harlowja/fasteners/issues/26">https://github.com/harlowja/fasteners/issues/26</a><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">[3] <a href="https://github.com/harlowja/fasteners/pull/10">https://github.com/harlowja/fasteners/pull/10</a><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display">[4] <a href="https://docs.openstack.org/oslo.concurrency/latest/reference/lockutils.html#oslo_concurrency.lockutils.remove_external_lock_file_with_prefix">https://docs.openstack.org/oslo.concurrency/latest/reference/lockutils.html#oslo_concurrency.lockutils.remove_external_lock_file_with_prefix</a><br></span></span></div><div><span id="gmail-summary_container"><span id="gmail-short_desc_nonedit_display"></span></span><br></div><div><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">Thank you for your attention.</span></span></div><div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>HervĂ© Beraud</div><div>Senior Software Engineer<br></div><div>Red Hat - Openstack Oslo</div><div>irc: hberaud</div><div>-----BEGIN PGP SIGNATURE-----<br><br>wsFcBAABCAAQBQJb4AwCCRAHwXRBNkGNegAALSkQAHrotwCiL3VMwDR0vcja10Q+<br>Kf31yCutl5bAlS7tOKpPQ9XN4oC0ZSThyNNFVrg8ail0SczHXsC4rOrsPblgGRN+<br>RQLoCm2eO1AkB0ubCYLaq0XqSaO+Uk81QxAPkyPCEGT6SRxXr2lhADK0T86kBnMP<br>F8RvGolu3EFjlqCVgeOZaR51PqwUlEhZXZuuNKrWZXg/oRiY4811GmnvzmUhgK5G<br>5+f8mUg74hfjDbR2VhjTeaLKp0PhskjOIKY3vqHXofLuaqFDD+WrAy/NgDGvN22g<br>glGfj472T3xyHnUzM8ILgAGSghfzZF5Skj2qEeci9cB6K3Hm3osj+PbvfsXE/7Kw<br>m/xtm+FjnaywZEv54uCmVIzQsRIm1qJscu20Qw6Q0UiPpDFqD7O6tWSRKdX11UTZ<br>hwVQTMh9AKQDBEh2W9nnFi9kzSSNu4OQ1dRMcYHWfd9BEkccezxHwUM4Xyov5Fe0<br>qnbfzTB1tYkjU78loMWFaLa00ftSxP/DtQ//iYVyfVNfcCwfDszXLOqlkvGmY1/Y<br>F1ON0ONekDZkGJsDoS6QdiUSn8RZ2mHArGEWMV00EV5DCIbCXRvywXV43ckx8Z+3<br>B8qUJhBqJ8RS2F+vTs3DTaXqcktgJ4UkhYC2c1gImcPRyGrK9VY0sCT+1iA+wp/O<br>v6rDpkeNksZ9fFSyoY2o<br>=ECSj<br>-----END PGP SIGNATURE-----<br><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>