Skip to content

Unable to delete Dynamic Host Volumes from removed hosts #25762

Open
@BastienClement

Description

@BastienClement

Nomad version

Nomad v1.10.0

Issue

Hi, I've posted on discuss first, but go no answer. Since it might as well be a bug (error 500), I'm trying my luck here.

I’ve created Dynamic Host Volumes (v1.10) on multiple hosts and some of these hosts then got removed from the cluster.

The UI still shows me these volumes, but without any associated “Node”. Obviously.

Image
(this is an old screenshot, the UI now shows "16 days ago")

I tried removing those using the CLI, but to no avail.

$ nomad volume delete -type host -namespace system 17a3cc0d-c218-2122-9f0d-519c49f2b583
Error deleting volume: Unexpected response code: 500 (rpc error: Unknown node a9d343e2-b6c7-8636-f62c-c057828a7373)

Expected Result

I would expect those volumes to get garbage collected at the same time as the associated node. Or at least for the CLI to offer a way to force delete a leftover volume.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions