showres display bug
@richp and I discovered an issue where reserving a subset of gpus on a parent node gpu system doesn't display appropriate information on those gpu components when showres
is executed.
nodelist
output:
iotasim19 full-node idle -
iotasim19-gpu0 single-gpu down -
iotasim19-gpu1 single-gpu:R.test-gpu-display down -
iotasim19-gpu2 single-gpu down -
iotasim19-gpu3 single-gpu down -
iotasim19-gpu4 single-gpu down -
iotasim19-gpu5 single-gpu down -
iotasim19-gpu6 single-gpu down -
iotasim19-gpu7 single-gpu down -
showres
output:
Reservation Queue User Start Duration Passthrough Partitions Remaining T-Minus
=======================================================================================================================================================
test-gpu-display R.test-gpu-display None Fri Jul 10 21:31:00 2020 +0000 (UTC) 00:05 Allowed iotasim17,iotasim[19-20] 00:03:13 active
Notice that iotasim19-gpu1
was reserved, not iotasim19
as showres displays. This at best is misleading information.