This procedure shows how the ConMan utility can be used to retrieve compute node logs.
NOTE
this procedure has changed since the CSM 1.6.x releases.
Log on to a Kubernetes master or worker node.
(ncn-mw#
) Start tailing the console log.
Execute the cray console tail
command to start tailing the console log for a specific node.
cray console tail \
--lines 20 \
--follow \
$XNAME
Example output:
Connected to wss://api-gw-service-nmn.local/apis/console-operator/console-operator/tail/x3000c0s19b1n0
<ConMan> Console [x3000c0s19b1n0] log at 2025-04-22 11:00:00 UTC.
<ConMan> Console [x3000c0s19b1n0] log at 2025-04-22 12:00:00 UTC.
<ConMan> Console [x3000c0s19b1n0] log at 2025-04-22 13:00:00 UTC.
<ConMan> Console [x3000c0s19b1n0] log at 2025-04-22 14:00:00 UTC.
<ConMan> Console [x3000c0s19b1n0] log at 2025-04-22 15:00:00 UTC.
<ConMan> Console [x3000c0s19b1n0] log at 2025-04-22 16:00:00 UTC.
(ncn-mw#
) Stop the tailing of the console log.
Press Ctrl-C
twice to stop the tailing of the console log.
Example output:
<ConMan> Console [x3000c0s19b1n0] log at 2025-04-22 15:00:00 UTC.
^C^C
Aborted!