nomad node status -verbose
panics when a running alloc uses a host volume
#8901
Labels
Milestone
nomad node status -verbose
panics when a running alloc uses a host volume
#8901
Nomad version
Operating system and Environment details
In https://play.instruqt.com/hashicorp/tracks/nomad-host-volumes - in the last exercise "Write Data to the MySQL Database`
Issue
If a running allocation on a node uses a Host Volume, then
nomad node status -verbose
panics.The reason is that the running allocation reports the Host Volume, which
nomad node status -verbose
mistakes as a CSI volume. Then when the nomad CLI attempts to print thenil
CSI volume, it panics. The relevant code is in https://github.com/hashicorp/nomad/blob/v0.12.4/command/node_status.go#L545-L593 .Some observations
Sorry the instance died as my session expired before my data got more data.
The text was updated successfully, but these errors were encountered: