<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:11:08 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-7695] zpools not available after first boot</title>
                <link>https://jira.whamcloud.com/browse/LU-7695</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Error happened during soak testing of build &apos;20160119&apos; (see: &lt;a href=&quot;https://wiki.hpdd.intel.com/pages/viewpage.action?title=Soak+Testing+on+Lola&amp;amp;spaceKey=Releases#SoakTestingonLola-20160119&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.hpdd.intel.com/pages/viewpage.action?title=Soak+Testing+on+Lola&amp;amp;spaceKey=Releases#SoakTestingonLola-20160119&lt;/a&gt;). MDTs have been formatted using &lt;em&gt;ldisksfs&lt;/em&gt;, OSTs using &lt;em&gt;zfs&lt;/em&gt;. DNE is enabled.&lt;/p&gt;

&lt;p&gt;Upon booting the OSS nodes the first time after (re-)&lt;b&gt;creation&lt;/b&gt; of the Lustre FS the ZFS pools aren&apos;t imported automatically.&lt;br/&gt;
After importing all zpools allocated for OSTs explicitly (i.e running &lt;tt&gt;zpool import -f &amp;lt;pool_name&amp;gt;&lt;/tt&gt;), the pools will be constantly imported after each reboot. See attached logfiles&lt;/p&gt;</description>
                <environment>lola&lt;br/&gt;
build: &lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-reviews/36922/&quot;&gt;https://build.hpdd.intel.com/job/lustre-reviews/36922/&lt;/a&gt;</environment>
        <key id="34242">LU-7695</key>
            <summary>zpools not available after first boot</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="heckes">Frank Heckes</reporter>
                        <labels>
                            <label>soak</label>
                    </labels>
                <created>Fri, 22 Jan 2016 11:23:24 +0000</created>
                <updated>Wed, 3 Feb 2016 16:17:57 +0000</updated>
                            <resolved>Wed, 3 Feb 2016 16:17:57 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="139726" author="pjones" created="Fri, 22 Jan 2016 12:38:12 +0000"  >&lt;p&gt;Nathaniel&lt;/p&gt;

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

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="139783" author="utopiabound" created="Fri, 22 Jan 2016 19:55:57 +0000"  >&lt;p&gt;I don&apos;t see information on setup.  A lot of setup scripts don&apos;t create a cache file on the hosts for zfs so automatic import doesn&apos;t happen &lt;tt&gt;-o cachefile=none&lt;/tt&gt;.  I don&apos;t see a link for the soak test scripts do you have the easily accessable?  Where there any error when you tried to import them the first time?&lt;/p&gt;</comment>
                            <comment id="140008" author="heckes" created="Tue, 26 Jan 2016 10:06:18 +0000"  >&lt;ul&gt;
	&lt;li&gt;I attached the script library. Indeed the essential command in line &lt;em&gt;258&lt;/em&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;on $host &quot;zpool create -f $(poolname $target) -o cachefile=none $(dev $target)&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;create the zpool with no cachefile. &lt;br/&gt;
This configuration option was decided to be used after some discussion about how-to import in HA set-up.&lt;/p&gt;&lt;/li&gt;
	&lt;li&gt;What is the correct way to do it?&lt;/li&gt;
	&lt;li&gt;No, errors occurred when explicitly importing the pool after the &lt;em&gt;first&lt;/em&gt; boot after pool creation.&lt;br/&gt;
And once this is done the pools are imported every the node is rebooted.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="140117" author="utopiabound" created="Tue, 26 Jan 2016 22:01:08 +0000"  >&lt;p&gt;Do you have a copy of the error you get when you import it the first time?&lt;/p&gt;</comment>
                            <comment id="140192" author="heckes" created="Wed, 27 Jan 2016 13:07:57 +0000"  >&lt;p&gt;The &apos;import&apos; actions are logged in attached file &apos;cnventory-after-first-boot&apos;:&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;Script started on Fri 22 Jan 2016 03:02:04 AM PST
ESC]0;root@lola-4:~ESC\[root@lola-4 ~]# zpool list
no pools available
ESC]0;root@lola-4:~ESC\[root@lola-4 ~]# zpool lisESC[ESC[ESC[ESC[KimESC[Kport -f soaked-ost2
ESC]0;root@lola-4:~ESC\[root@lola-4 ~]# zpool import -f soaked-ostESC[KESC[K6
ESC]0;root@lola-4:~ESC\[root@lola-4 ~]# zpool import -f soaked-ostESC[K10
ESC]0;root@lola-4:~ESC\[root@lola-4 ~]# zpool import -f soaked-ost1ESC[K4
ESC]0;root@lola-4:~ESC\[root@lola-4 ~]# zpool list
NAME           SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
soaked-ost10  4.53T  24.4G  4.51T         -     0%     0%  1.00x  ONLINE  -
soaked-ost14  4.53T  14.6G  4.52T         -     0%     0%  1.00x  ONLINE  -
soaked-ost2   4.53T  17.4G  4.51T         -     0%     0%  1.00x  ONLINE  -
soaked-ost6   4.53T  10.2G  4.52T         -     0%     0%  1.00x  ONLINE  -
ESC]0;root@lola-4:~ESC\[root@lola-4 ~]# # Reboot on more time
ESC]0;root@lola-4:~ESC\[root@lola-4 ~]# exit
exit
Script done on Fri 22 Jan 2016 03:05:28 AM PST
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Actually no error occurred. This was the same on all nodes I had to execute the command sequence.&lt;/p&gt;</comment>
                            <comment id="140199" author="utopiabound" created="Wed, 27 Jan 2016 14:57:18 +0000"  >&lt;p&gt;&lt;tt&gt;zpool import -f POOL&lt;/tt&gt; will create &lt;tt&gt;/etc/zfs/zpool.cache&lt;/tt&gt; which will cause the pools to be imported automatically each reboot.&lt;/p&gt;</comment>
                            <comment id="141001" author="heckes" created="Wed, 3 Feb 2016 16:17:47 +0000"  >&lt;p&gt;many thanks Nathaniel.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="20177" name="inventory-after-first-boot" size="1019" author="heckes" created="Fri, 22 Jan 2016 11:24:40 +0000"/>
                            <attachment id="20178" name="inventory-after-second-boot" size="623" author="heckes" created="Fri, 22 Jan 2016 11:24:41 +0000"/>
                            <attachment id="20179" name="inventory-before-boot-after-zpool-creation" size="4096" author="heckes" created="Fri, 22 Jan 2016 11:24:41 +0000"/>
                            <attachment id="20200" name="library.sh" size="4854" author="heckes" created="Tue, 26 Jan 2016 10:06:39 +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|hzxz27:</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>