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

jobstats output can produce invalid yaml ( part 3 )

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • Lustre 2.16.0
    • None
    • 3
    • 9223372036854775807

    Description

      Given the following parms:

      jobid_name=%j@%u@%h
      jobid_var=SLURM_JOB_ID

      And a job that does not have SLURM_JOB_ID set, it can product a job stats name along the lines of "@4089401@host1".  This will be printed unquoted by the current job_stats code.  This is incorrect according to the YAML spec: https://yaml.org/spec/1.2.2/#rule-c-reserved

      Attachments

        Issue Links

          Activity

            [LU-17358] jobstats output can produce invalid yaml ( part 3 )
            pjones Peter Jones added a comment -

            Landed for 2.16

            pjones Peter Jones added a comment - Landed for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53424/
            Subject: LU-17358 lprocfs: make job_stats job_id valid yaml
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 264c96fcd3f1eb9983b16a223afbc7d24e72ff29

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53424/ Subject: LU-17358 lprocfs: make job_stats job_id valid yaml Project: fs/lustre-release Branch: master Current Patch Set: Commit: 264c96fcd3f1eb9983b16a223afbc7d24e72ff29

            "Nathaniel Clark <nclark@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53424
            Subject: LU-17358 lprocfs: make job_stats job_id valid yaml
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 596c559823d5824b36613db2ff48d5f54213491e

            gerrit Gerrit Updater added a comment - "Nathaniel Clark <nclark@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53424 Subject: LU-17358 lprocfs: make job_stats job_id valid yaml Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 596c559823d5824b36613db2ff48d5f54213491e

            People

              utopiabound Nathaniel Clark
              utopiabound Nathaniel Clark
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: