[LU-17358] jobstats output can produce invalid yaml ( part 3 ) Created: 12/Dec/23 Updated: 29/Dec/23 Resolved: 20/Dec/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.16.0 |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Nathaniel Clark | Assignee: | Nathaniel Clark |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 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 |
| Comments |
| Comment by Gerrit Updater [ 12/Dec/23 ] |
|
"Nathaniel Clark <nclark@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53424 |
| Comment by Gerrit Updater [ 20/Dec/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53424/ |
| Comment by Peter Jones [ 20/Dec/23 ] |
|
Landed for 2.16 |