PP-495: pbsnodes -l output trims the hostname to 20 characters
Interface 1: pbsnodes -l output with no restrictions on host name length.
Visibility: Public
Change Control: Stable
Details: Currently pbsnodes -l would return all the offline hostnames trimmed to 20 characters.
With this fix we will not have restrictions to length of the hostnames and we will format the output of hostnames in such a way that hostnames with length less than 20 bytes
will be padded with space for 20 bytes. For hostnames more than 20 bytes we will print the entire hostname.With pbs having a list of offline nodes as follows
12345678901234567890
1234567890123456789012
123456789012345
Before fix the pbsnodes -l output will be as follows:
12345678901234567890 state-unknown,down
12345678901234567890 state-unknown,down
123456789012345 state-unknown,down
After fix the pbsnodes -l output shoul look like below:
12345678901234567890 state-unknown,down
1234567890123456789012 state-unknown,down
123456789012345 state-unknown,down