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

sanity test_133c defect

    XMLWordPrintable

Details

    • 3
    • 24,504
    • 4078

    Description

      check_stats() {
      ost) res=`do_facet ost0 $LCTL

      facet ost0 does not exist;

      sanity does not fail each time because of the usual configuration used is : 1 oss, i.e. ost_HOST is
      set, and facet_host () sets ost1_HOST = ost_HOST :

      facet_host() {
      local facet=$1

      [ "$facet" == client ] && echo -n $HOSTNAME && return
      varname=${facet}_HOST
      if [ -z "${!varname}" ]; then
      if [ "${facet:0:3}" == "ost" ]; then
      eval ${facet}_HOST=${ost_HOST}

      sanity test_133c fails on configuration with the number of oss-es >1, or if ost1_HOST is set instead
      of ost_HOST.

      == test 133c: Verifying OST stats ======================================== == 18:06:29 (1304035589)
      mds.lustre-MDT0000.stats=clear
      error: set_param: /proc/

      {fs,sys}/{lnet,lustre}/obdfilter/*/stats: Found no match
      1+0 records in
      1+0 records out
      1048576 bytes (1.0 MB) copied, 0.0171929 seconds, 61.0 MB/s
      error: get_param: /proc/{fs,sys}

      /

      {lnet,lustre}

      /obdfilter/lustre-OST0000/stats: Found no match

      sanity test_133c: @@@@@@ FAIL: The counter for write on ost was not incremented

      Attachments

        Issue Links

          Activity

            People

              yujian Jian Yu
              yujian Jian Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: