Details

    • Technical task
    • Resolution: Fixed
    • Critical
    • Lustre 2.8.0
    • Lustre 2.5.0
    • 10065

    Description

      After 8d8f071648d64f8a16591481064e13f590629caa LU-3561 tests: improve sanity-hsm.sh to support remote agent, sanity-hsm.sh can not longer be run out of the box. The newly introduced variables

      - AGTCOUNT: number of agents
      - AGTDEV{N}: target HSM mount point (root path of the backend)
      - agt{N}_HOST: hostname of the agent agt{N}
      - SINGLEAGT: facet of the single agent
      

      should be given reasonable fallback values so that sanity-hsm.sh can be run with minimal configuration.

      Attachments

        Issue Links

          Activity

            [LU-3881] sanity-hsm.sh fails with 'No host defined for facet agt1'
            pjones Peter Jones added a comment -

            Landed for 2.8

            pjones Peter Jones added a comment - Landed for 2.8

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12982/
            Subject: LU-3881 tests: single-node minimal config in sanity-hsm
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 64367bafc833531f279467af6c07c5651e153985

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12982/ Subject: LU-3881 tests: single-node minimal config in sanity-hsm Project: fs/lustre-release Branch: master Current Patch Set: Commit: 64367bafc833531f279467af6c07c5651e153985

            Sorry to have been so late to start working on this ...
            Master patch is at http://review.whamcloud.com/12982.

            bfaccini Bruno Faccini (Inactive) added a comment - Sorry to have been so late to start working on this ... Master patch is at http://review.whamcloud.com/12982 .

            Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/12982
            Subject: LU-3881 tests: automatic minimal config in sanity-hsm
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: f99ebadf43029ca36472a150b613b004fe885c87

            gerrit Gerrit Updater added a comment - Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/12982 Subject: LU-3881 tests: automatic minimal config in sanity-hsm Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: f99ebadf43029ca36472a150b613b004fe885c87

            It would be nice to see some progress on this issue. It seems it should be possible to default to use a second mountpoint on the same client for the agent? That allows users to test with a single node config, while avoiding the complexity of having to configure a separate agent mode/VM just to run this test.

            adilger Andreas Dilger added a comment - It would be nice to see some progress on this issue. It seems it should be possible to default to use a second mountpoint on the same client for the agent? That allows users to test with a single node config, while avoiding the complexity of having to configure a separate agent mode/VM just to run this test.
            jhammond John Hammond added a comment -

            Still a bug.

            # export MOUNT_2=y
            # sh ./lustre/tests/llmount.sh
            # sh ./lustre/tests/sanity-hsm.sh 
            Logging to shared log directory: /tmp/test_logs/1392929634
            t: Checking config lustre mounted on /mnt/lustre2
            Checking servers environments
            Checking clients t environments
            t: Checking config lustre mounted on /mnt/lustre
            Checking servers environments
            Checking clients t environments
            Using TIMEOUT=20
            disable quota as required
            osd-ldiskfs.track_declares_assert=1
            running as uid/gid/euid/egid 500/500/500/500, groups:
             [touch] [/mnt/lustre/d0_runas_test/f29394]
            excepting tests: 34 35 36 200 221 223b 31a
            Killing existing copytools on 
            cannot run remote command on killall -q lhsmtool_posix with no_dsh
            Set HSM on and start
            Waiting 20 secs for update
            Updated after 9s: wanted 'enabled' got 'enabled'
            Start copytool
            No host defined for facet agt1
            
            jhammond John Hammond added a comment - Still a bug. # export MOUNT_2=y # sh ./lustre/tests/llmount.sh # sh ./lustre/tests/sanity-hsm.sh Logging to shared log directory: /tmp/test_logs/1392929634 t: Checking config lustre mounted on /mnt/lustre2 Checking servers environments Checking clients t environments t: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients t environments Using TIMEOUT=20 disable quota as required osd-ldiskfs.track_declares_assert=1 running as uid/gid/euid/egid 500/500/500/500, groups: [touch] [/mnt/lustre/d0_runas_test/f29394] excepting tests: 34 35 36 200 221 223b 31a Killing existing copytools on cannot run remote command on killall -q lhsmtool_posix with no_dsh Set HSM on and start Waiting 20 secs for update Updated after 9s: wanted 'enabled' got 'enabled' Start copytool No host defined for facet agt1

            People

              bfaccini Bruno Faccini (Inactive)
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: