<div dir="ltr"><div dir="ltr">Hi Jeremy,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 30, 2023 at 7:13 PM Jeremy Stanley <<a href="mailto:fungi@yuggoth.org">fungi@yuggoth.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2023-01-30 14:14:19 +0530 (+0530), Rajat Dhasmana wrote:<br>
> Currently python-cinderclient yoga gate is broken because<br>
> *python-cinderclient-functional-py39* job is failing. Upon looking<br>
> into the logs, I found the *cinder-rtstool delete *command<br>
> failing[1].<br>
[...]<br>
<br>
Presumably it was working with the listed requirements at one time.<br>
Do you happen to know what changed to cause the bug you mentioned to<br>
suddenly appear?<br></blockquote><div><br></div><div>I'm not 100% sure but I think something changed in the kernel (i.e. they added a directory path in the iSCSI target list</div><div><b>cpus_allowed_list</b> which rtslib-fb doesn't recognize) that started causing failure in the rtslib-fb library.</div><div>Based on the thread[1], Commit: <b>d72d827f2f26 ("scsi: target: Add iscsi/cpus_allowed_list in configfs") </b>seems</div><div>to be causing the issue.</div><div>Also looking at the fix in rtslib-fb[2], they are excluding the directory <b>"cpus_allowed_list" </b>which is failing in our</div><div>gate job as Not a directory error.</div><div><br></div><div>[Errno 20] Not a directory: \'/sys/kernel/config/target/iscsi/<b>cpus_allowed_list</b>\<br></div><div><br></div><div>Commit message of fix:</div><div><pre style="box-sizing:border-box;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:13px;margin-top:8px;margin-bottom:0px;max-width:100%;line-height:1.45;color:rgb(36,41,47);white-space:pre-wrap;overflow:visible;background-color:rgba(234,238,242,0.5)">target has been added cpus_allowed_list attribute in sysfs.
Therefore, the rtslib should handle the new attribute:
1. add cpus_allowed_list item in target_names_excludes
2. add cpus_allowed_list feature in ISCSIFabricModule
</pre><br class="gmail-Apple-interchange-newline"></div><div>This fix is released in rtslib-fb version 2.7.5 and yoga u-c is pinned to 2.7.4.</div><div><br></div><div>[1] <a href="https://www.spinics.net/lists/linux-scsi/msg172264.html">https://www.spinics.net/lists/linux-scsi/msg172264.html</a></div><div>[2] <a href="https://github.com/open-iscsi/rtslib-fb/commit/8d2543c4da62e962661011fea5b19252b9660822">https://github.com/open-iscsi/rtslib-fb/commit/8d2543c4da62e962661011fea5b19252b9660822</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
-- <br>
Jeremy Stanley<br>
</blockquote></div></div>