<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:30:49 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-9960] Rolling downgrade master to 2.10 - unable to import zpools</title>
                <link>https://jira.whamcloud.com/browse/LU-9960</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While performing Rolling downgrade testing for bfs from master to 2.10, I am unable to import the zpool.&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;[root@onyx-78 ~]# zpool import lustre-mdt1
[  939.565075] SPL: using hostid 0x61303230
This pool uses the following feature(s) not supported by this system:
	org.zfsonlinux:userobj_accounting (User/Group object accounting.)
All unsupported features are only required for writing to the pool.
The pool can be imported using &apos;-o readonly=on&apos;.
cannot import &apos;lustre-mdt1&apos;: unsupported version or feature
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Steps Followed:&lt;/p&gt;

&lt;p&gt;1. Started with all clients and servers with 2.10 build 5 and build the Lustre File system&lt;br/&gt;
2. Upgraded OSS to master re-mounted and ran sanity.sh&lt;br/&gt;
3. Upgraded MDS to master , remounted and ran sanity.sh&lt;br/&gt;
4. Upgraded Clients to master, remounted and ran sanity.sh&lt;br/&gt;
5. Downgraded Clients to 2.10. remounted and ran sanity.sh&lt;br/&gt;
6. Downgraded MDS to 2.10, while importing zpools the above message appears and I am unable to import zpools.&lt;/p&gt;</description>
                <environment>master, 3631 zfs 0.7.1&lt;br/&gt;
2.10, build 5 zfs 0.6.5.9&lt;br/&gt;
ZFS</environment>
        <key id="48236">LU-9960</key>
            <summary>Rolling downgrade master to 2.10 - unable to import zpools</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="utopiabound">Nathaniel Clark</assignee>
                                    <reporter username="standan">Saurabh Tandan</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Sep 2017 15:41:33 +0000</created>
                <updated>Sun, 15 Apr 2018 00:13:02 +0000</updated>
                            <resolved>Thu, 21 Sep 2017 12:11:11 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                    <version>Lustre 2.10.1</version>
                    <version>Lustre 2.11.0</version>
                                    <fixVersion>Lustre 2.10.1</fixVersion>
                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="207928" author="pjones" created="Fri, 8 Sep 2017 17:26:04 +0000"  >&lt;p&gt;Nathaniel&lt;/p&gt;

&lt;p&gt;Can you please advise on this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="207930" author="adilger" created="Fri, 8 Sep 2017 17:48:23 +0000"  >&lt;p&gt;This is pretty clearly the fault of the &lt;a href=&quot;https://review.whamcloud.com/15294&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/15294&lt;/a&gt; patch, which is enabling user quota automatically at mount time:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; inline bool osd_dmu_userobj_accounting_available(struct osd_device *osd)
{
       &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (unlikely(dmu_objset_userobjspace_upgradable(osd-&amp;gt;od_os)))
               dmu_objset_userobjspace_upgrade(osd-&amp;gt;od_os);

       &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; dmu_objset_userobjspace_present(osd-&amp;gt;od_os);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This should instead just print a message at mount time like &lt;tt&gt;dnode accounting feature missing, run &quot;zfs/zpool ...&quot; to enable (prevents downgrade to ZFS &amp;lt; 0.7)&lt;/tt&gt; or similar, and leave it up to the administrator to enable this feature.  It should be up to them to enable this feature.&lt;/p&gt;

&lt;p&gt;For our own testing, we should automatically enable this feature for newly-formatted ZFS datasets in libmount_utils_zfs.c.&lt;br/&gt;
In theory, the check in &lt;tt&gt;sanity-quota.sh test_7e&lt;/tt&gt; should be changed from a ZFS version check to a check of the feature is enabled on the pool, but if we always format new ZFS pools with this feature then we should be OK.&lt;/p&gt;

&lt;p&gt;I think this also needs to be included into Lustre 2.10.1 if at all possible, to avoid causing problems for users upgrading their system to use ZFS 0.7.&lt;/p&gt;</comment>
                            <comment id="207949" author="utopiabound" created="Fri, 8 Sep 2017 21:09:17 +0000"  >&lt;p&gt;Looking at zpool-features(5):&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;       userobj_accounting

           GUID                   org.zfsonlinux:userobj_accounting
           READ-ONLY COMPATIBLE   yes
           DEPENDENCIES           extensible_dataset

           This feature allows administrators to account the object usage information by user and group.

           This  feature  becomes  active  as soon as it is enabled and will never return to being enabled.
           Each filesystem will be upgraded automatically when remounted, or when  new  files  are  created
           under  that filesystem.  The upgrade can also be started manually on filesystems by running `zfs
           set version=current &amp;lt;pool/fs&amp;gt;`. The upgrade process runs in the background and may take a  while
           to complete for filesystems containing a large number of files.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It implies that as soon as the old filesystem is mounted, the feature will be enabled and then the pool can&apos;t be downgraded.  I&apos;ll test this.&lt;/p&gt;</comment>
                            <comment id="207951" author="utopiabound" created="Fri, 8 Sep 2017 21:24:29 +0000"  >&lt;p&gt;It doesn&apos;t auto-upgrade; So I&apos;ll work up a patch in the vein Andreas recommended.&lt;/p&gt;</comment>
                            <comment id="208046" author="gerrit" created="Mon, 11 Sep 2017 14:14:48 +0000"  >&lt;p&gt;Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/28924&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28924&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9960&quot; title=&quot;Rolling downgrade master to 2.10 - unable to import zpools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9960&quot;&gt;&lt;del&gt;LU-9960&lt;/del&gt;&lt;/a&gt; osd-zfs: don&apos;t auto-upgrade quota&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 20b43b86686696e02d5a8f549b412b8496a71e13&lt;/p&gt;</comment>
                            <comment id="208158" author="gerrit" created="Tue, 12 Sep 2017 18:23:22 +0000"  >&lt;p&gt;Minh Diep (minh.diep@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/28954&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28954&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9960&quot; title=&quot;Rolling downgrade master to 2.10 - unable to import zpools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9960&quot;&gt;&lt;del&gt;LU-9960&lt;/del&gt;&lt;/a&gt; osd-zfs: don&apos;t auto-upgrade quota&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 22060779e670119293db38941ee318e747efc0fa&lt;/p&gt;</comment>
                            <comment id="208417" author="gerrit" created="Thu, 14 Sep 2017 20:39:58 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/28954/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28954/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9960&quot; title=&quot;Rolling downgrade master to 2.10 - unable to import zpools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9960&quot;&gt;&lt;del&gt;LU-9960&lt;/del&gt;&lt;/a&gt; osd-zfs: don&apos;t auto-upgrade quota&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_10&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c62476e202d7bd31e959b9682292319d20dd4dce&lt;/p&gt;</comment>
                            <comment id="208997" author="gerrit" created="Thu, 21 Sep 2017 06:12:56 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/28924/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28924/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9960&quot; title=&quot;Rolling downgrade master to 2.10 - unable to import zpools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9960&quot;&gt;&lt;del&gt;LU-9960&lt;/del&gt;&lt;/a&gt; osd-zfs: don&apos;t auto-upgrade quota&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: bb6ed7dcde71b3878402f1ad4c2d88bc8edd8557&lt;/p&gt;</comment>
                            <comment id="209028" author="pjones" created="Thu, 21 Sep 2017 12:11:11 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="35896">LU-7991</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="48415">LU-10016</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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|hzzjun:</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>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>