Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-8816

test-framework needs to reload SPL module after set hostid

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.9.0
    • None
    • None
    • 3
    • 9223372036854775807

    Attachments

      Issue Links

        Activity

          [LU-8816] test-framework needs to reload SPL module after set hostid
          pjones Peter Jones added a comment -

          Landed for 2.9

          pjones Peter Jones added a comment - Landed for 2.9

          Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/23804/
          Subject: LU-8816 utils: Check /etc/hostid instead of failing for ZFS
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 13a18655ac57b3f22813be7b44c627a2fb1c2396

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/23804/ Subject: LU-8816 utils: Check /etc/hostid instead of failing for ZFS Project: fs/lustre-release Branch: master Current Patch Set: Commit: 13a18655ac57b3f22813be7b44c627a2fb1c2396

          I've uploaded a patch to fix the ZFS portion of mkfs.lustre and tunefs.lustre.

          utopiabound Nathaniel Clark added a comment - I've uploaded a patch to fix the ZFS portion of mkfs.lustre and tunefs.lustre.
          mdiep Minh Diep added a comment -

          Peter,

          Per Nate "There's an issue with ZFS code that doesn't call initial load of hostid (SPL::zone_gethostid()) until creation or importation of a pool."

          So this is still an issue even after adding hostid in node provisioning

          mdiep Minh Diep added a comment - Peter, Per Nate "There's an issue with ZFS code that doesn't call initial load of hostid (SPL::zone_gethostid()) until creation or importation of a pool." So this is still an issue even after adding hostid in node provisioning

          Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: http://review.whamcloud.com/23804
          Subject: LU-8816 utils: Check /etc/hostid instead of failing for ZFS
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: a30b786793ff47cd65a07d6112a4e3cffbeb385a

          gerrit Gerrit Updater added a comment - Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: http://review.whamcloud.com/23804 Subject: LU-8816 utils: Check /etc/hostid instead of failing for ZFS Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: a30b786793ff47cd65a07d6112a4e3cffbeb385a
          pjones Peter Jones added a comment -

          As I understand it, this issue is going to be handled in a DCO ticket

          pjones Peter Jones added a comment - As I understand it, this issue is going to be handled in a DCO ticket

          After Minh's comment above I retested and the testing could still not continue. Throwing the following error message:

          11:45:05:onyx-37vm7: mkfs.lustre FATAL: spl_hostid not set. See mkfs.lustre(8)
          11:45:05:onyx-37vm7: mkfs.lustre FATAL: mkfs failed 22
          11:45:05:onyx-37vm7: mkfs.lustre: exiting with 22 (Invalid argument)
          11:45:05:
          11:45:05:   Permanent disk data:
          11:45:05:Target:     lustre:MDT0000
          11:45:05:Index:      0
          11:45:05:Lustre FS:  lustre
          11:45:05:Mount type: zfs
          11:45:05:Flags:      0x65
          11:45:05:              (MDT MGS first_time update )
          11:45:05:Persistent mount opts: 
          11:45:05:Parameters: failover.node=10.2.4.158@tcp sys.timeout=20 lov.stripesize=1048576 lov.stripecount=0 mdt.identity_upcall=/usr/sbin/l_getidentity
          11:45:05:
          

          Result - https://testing.hpdd.intel.com/test_sets/e141da18-ab74-11e6-986b-5254006e85c2

          standan Saurabh Tandan (Inactive) added a comment - After Minh's comment above I retested and the testing could still not continue. Throwing the following error message: 11:45:05:onyx-37vm7: mkfs.lustre FATAL: spl_hostid not set. See mkfs.lustre(8) 11:45:05:onyx-37vm7: mkfs.lustre FATAL: mkfs failed 22 11:45:05:onyx-37vm7: mkfs.lustre: exiting with 22 (Invalid argument) 11:45:05: 11:45:05: Permanent disk data: 11:45:05:Target: lustre:MDT0000 11:45:05:Index: 0 11:45:05:Lustre FS: lustre 11:45:05:Mount type: zfs 11:45:05:Flags: 0x65 11:45:05: (MDT MGS first_time update ) 11:45:05:Persistent mount opts: 11:45:05:Parameters: failover.node=10.2.4.158@tcp sys.timeout=20 lov.stripesize=1048576 lov.stripecount=0 mdt.identity_upcall=/usr/sbin/l_getidentity 11:45:05: Result - https://testing.hpdd.intel.com/test_sets/e141da18-ab74-11e6-986b-5254006e85c2

          There's an issue with ZFS code that doesn't call initial load of hostid (SPL::zone_gethostid()) until creation or importation of a pool.

          utopiabound Nathaniel Clark added a comment - There's an issue with ZFS code that doesn't call initial load of hostid ( SPL::zone_gethostid() ) until creation or importation of a pool.

          Minh Diep (minh.diep@intel.com) uploaded a new patch: http://review.whamcloud.com/23684
          Subject: LU-8816 test: reload SPL module after set_hostid
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 9e93a6a219ac22af49449ea147cb25d1af53c4c8

          gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: http://review.whamcloud.com/23684 Subject: LU-8816 test: reload SPL module after set_hostid Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 9e93a6a219ac22af49449ea147cb25d1af53c4c8

          People

            utopiabound Nathaniel Clark
            mdiep Minh Diep
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: