<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:18:33 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-15466] Need python2 installed into the maloo RHEL7 images for ZFS 2.0.7 support</title>
                <link>https://jira.whamcloud.com/browse/LU-15466</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;ZFS 2.0.7 has a dependency on python2 which is missing for the maloo RHLE7 test platform. It prevents the building of ZFS 2.0.7 for RHEL7 on the whamcloud systems.&lt;/p&gt;</description>
                <environment>RHLE7.X</environment>
        <key id="68133">LU-15466</key>
            <summary>Need python2 installed into the maloo RHEL7 images for ZFS 2.0.7 support</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="4" iconUrl="https://jira.whamcloud.com/images/icons/statuses/reopened.png" description="This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.">Reopened</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="mdiep">Minh Diep</assignee>
                                    <reporter username="simmonsja">James A Simmons</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Jan 2022 16:42:06 +0000</created>
                <updated>Wed, 10 Aug 2022 15:20:01 +0000</updated>
                                            <version>Lustre 2.15.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="323637" author="simmonsja" created="Mon, 24 Jan 2022 01:26:44 +0000"  >&lt;p&gt;Still seeing:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;configure: error: &quot;Python 2.7 packaging and distlib modules are not installed&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;when building patch &lt;a href=&quot;https://review.whamcloud.com/46006&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46006&lt;/a&gt;  &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15422&quot; title=&quot;Update ZFS version to 2.0.7&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15422&quot;&gt;&lt;del&gt;LU-15422&lt;/del&gt;&lt;/a&gt; build: Update ZFS version to 2.0.7&lt;/tt&gt;&quot;&lt;/p&gt;</comment>
                            <comment id="324352" author="mdiep" created="Fri, 28 Jan 2022 20:55:01 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=simmonsja&quot; class=&quot;user-hover&quot; rel=&quot;simmonsja&quot;&gt;simmonsja&lt;/a&gt;, it&apos;s not clear to me what the name of the package that we need to install&lt;/p&gt;</comment>
                            <comment id="324628" author="adilger" created="Mon, 31 Jan 2022 19:31:55 +0000"  >&lt;p&gt;I ran the zfs-2.0.7 configure in my RHEL7.9 VM and the error doesn&apos;t really seem to be with the distlib, but a later check:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;configure:16457: checking for python2 module: packaging
configure:16467: result: no
configure:16472: checking for python2 module: distlib
configure:16482: result: no
configure:17005: checking whether to enable pyzfs:
configure:17007: result: no
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It might be that the RPM building is using  &quot;&lt;tt&gt;--enable pyzfs&lt;/tt&gt;&quot; or similar that is triggering the earlier error when &lt;tt&gt;distlib&lt;/tt&gt; can&apos;t be found?  Yum tells me there is a &lt;tt&gt;python36-distlib.noarch&lt;/tt&gt; RPM (which drags in &lt;tt&gt;python3&lt;/tt&gt;), but I don&apos;t see RPMs for &lt;tt&gt;python2&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;I was able to get &lt;tt&gt;distlib&lt;/tt&gt; installed by first installing &lt;tt&gt;python2-pip&lt;/tt&gt; and then running &quot;&lt;tt&gt;pip install distlib&lt;/tt&gt;&quot;.  This got me to:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;configure:16457: checking for python2 module: packaging
configure:16467: result: no
configure:16472: checking for python2 module: distlib
configure:16476: result: yes
configure:16527: checking for python2.7
configure:16545: found /usr/bin/python2.7
configure:16557: result: /usr/bin/python2.7
configure:16583: checking for a version of Python &amp;gt;= &apos;2.1.0&apos;
configure:16618: result: yes
configure:16626: checking for a version of Python &amp;gt;= &apos;2.7.0&apos;
configure:16644: result: yes
configure:16667: checking for the distutils Python package
configure:16671: result: yes
configure:16693: checking for Python include path
configure:16709: result: -I/usr/include/python2.7
configure:16716: checking for Python library path
configure:16801: result: -L/usr/lib64 -lpython2.7
configure:16808: checking for Python site-packages path
configure:16814: result: /usr/lib/python2.7/site-packages
configure:16821: checking python extra libraries
configure:16828: result: -lpthread -ldl  -lutil -lm
configure:16835: checking python extra linking flags
configure:16842: result: -Xlinker -export-dynamic
configure:16849: checking consistency of all components of python development environment
configure:16877: gcc -o conftest -g -O2  -I/usr/include/python2.7  -Xlinker -export-dynamic conftest.c  -L/usr/lib64 -lpython2.7 -lpthread -ldl  -lutil -lm -lpthread -ldl  -lutil -lm &amp;gt;&amp;amp;5
conftest.c:57:22: fatal error: Python.h: No such file or directory
   #include &amp;lt;Python.h&amp;gt;
:
configure:16895: result: no
configure:17005: checking whether to enable pyzfs: 
configure:17007: result: no
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;which needs the &lt;tt&gt;python2-devel&lt;/tt&gt; and also &lt;tt&gt;python-cffi&lt;/tt&gt; RPMs installed.  After that, it looks like &lt;tt&gt;pyzfs&lt;/tt&gt; is enabled for build, though I haven&apos;t actually built it yet.&lt;/p&gt;</comment>
                            <comment id="325162" author="simmonsja" created="Thu, 3 Feb 2022 21:28:31 +0000"  >&lt;p&gt;It builds now. Thank you Minh.&lt;/p&gt;</comment>
                            <comment id="343230" author="adilger" created="Wed, 10 Aug 2022 15:17:20 +0000"  >&lt;p&gt;This failed for a builder today, likely missing the rpm:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://build.whamcloud.com/job/lustre-reviews/88930/arch=x86_64,build_type=server,distro=el7.9,ib_stack=inkernel/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.whamcloud.com/job/lustre-reviews/88930/arch=x86_64,build_type=server,distro=el7.9,ib_stack=inkernel/console&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And also:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://build.whamcloud.com/job/lustre-reviews/88931/arch=x86_64,build_type=server,distro=el7.9,ib_stack=inkernel/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.whamcloud.com/job/lustre-reviews/88931/arch=x86_64,build_type=server,distro=el7.9,ib_stack=inkernel/console&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="67861">LU-15422</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="42119" name="always-pyzfs.m4" size="3403" author="adilger" created="Mon, 31 Jan 2022 18:52:31 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i02fof:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>