Error: Unable to find agent 'nvmet-subsystem', try specifying its full name

Hi,

I am following “NVMe-oF High Availability Clustering Using DRBD and Paceamker on RHEL 9” this guide.
When i am running the below commands i am getting this error " Unable to find agent ‘nvmet-subsystem’ and nvmet-namespace, try specifying its full name"

Commands:
pcs -f nvmet_config resource create p_nvme-subsystem_0 nvmet-subsystem
nqn=linbit-nqn0
op start timeout=10s interval=0
op stop timeout=10s interval=0
op monitor interval=10s timeout=10s

pcs -f nvmet_config resource create p_nvmet-namespace_0 nvmet-namespace \

nqn=linbit-nqn0 namespace_id=10 backing_path=“/dev/drbd0”
uuid=aea2016e-7ebc-4be3-ba44-789d4cb4d17c
nguid=a004f44f-a0bb-46d5-bec3-20407700cca1
op start timeout=10s interval=0
op stop timeout=10s interval=0
op monitor interval=10s timeout=10s

Please help

It sounds like you might just be missing the resource-agents package. It doesn’t look like the guide explicitly mentions this package should be installed.

# dnf install resource-agents

If you can confirm this, that would be great, and I can update the guide.

I just checked the packages for AlmaLinux 9 (assuming you’re using RHEL 9 or some variant) and I can see that they do not supply the necessary OCF resource agents for clustering NVMe in their packages.

You will either need to fetch those agents from the resource-agents GitHub, or use the more current resource-agents package that LINBIT maintains in our customer repositories.

1 Like