Skip to content

New dynamic host volume never gets picked up by scheduler #27002

@smdesmet

Description

@smdesmet

I am on nomad 1.10.4 running on debian 12

My setup is a 3 node cluster, running some jobs where my patroni job has a 'patroni' dynamic host volume on each of the 3 nodes. These are visible in the 'Storage' of the nomad UI. I have limited this patroni job to 3 instances.

The scenario I am executing is: I want to replace one of the nodes.

  • add additional node: this works, and some of my jobs start an additional allocation on the new node
  • disable and drain one of the original nodes
  • remove the dynamic volumes from this node: I first look if there are any claims and remove those first, then I remove the volumes
  • remove the node
  • create the 'patroni' volume on the new node, so a new allocation can use it

All of these steps work, but then I end up with this:

Image

And this never gets resolved.

However, when I completely remove the job and recreate it, it immediately uses the new volume(and the 2 already existing volumes).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Needs Roadmapping

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions