Installed Linstor per documentation but Proxmox fails to create a Linstor Resource

Running Proxmox 8.4.1

When I create a VM on linstor_storage, I get the following error:


NOTICE
  Trying to create diskful resource (pm-e3770bd4) on (pm-01-20210914).
  Diskfull assignment on pm-01-20210914 failed, let's autoplace it.
TASK ERROR: unable to create VM 100 - API Return-Code: 500. Message: Could not autoplace resource pm-e3770bd4, because: [{"ret_code":-4611686018407201828,"message":"Satellite 'pm-01-20210914' does not support the following layers: [DRBD]","details":"Auto-placing resource: pm-e3770bd4","error_report_ids":["683CD9E7-00000-000004"],"obj_refs":{"RscDfn":"pm-e3770bd4"},"created_at":"2025-06-06T13:22:41.192577296-05:00"}]  at /usr/share/perl5/PVE/Storage/Custom/LINSTORPlugin.pm line 434. 	PVE::Storage::Custom::LINSTORPlugin::alloc_image("PVE::Storage::Custom::LINSTORPlugin", "linstor_storage", HASH(0x6066bb8caaa0), 100, "raw", undef, 33554432) called at /usr/share/perl5/PVE/Storage.pm line 1036 	eval {...} called at /usr/share/perl5/PVE/Storage.pm line 1036 	PVE::Storage::__ANON__() called at /usr/share/perl5/PVE/Cluster.pm line 653 	eval {...} called at /usr/share/perl5/PVE/Cluster.pm line 619 	PVE::Cluster::__ANON__("storage-linstor_storage", undef, CODE(0x6066bb8cd7e8)) called at /usr/share/perl5/PVE/Cluster.pm line 698 	PVE::Cluster::cfs_lock_storage("linstor_storage", undef, CODE(0x6066bb8cd7e8)) called at /usr/share/perl5/PVE/Storage/Plugin.pm line 650 	PVE::Storage::Plugin::cluster_lock_storage("PVE::Storage::Custom::LINSTORPlugin", "linstor_storage", 1, undef, CODE(0x6066bb8cd7e8)) called at /usr/share/perl5/PVE/Storage.pm line 1041 	PVE::Storage::vdisk_alloc(HASH(0x6066bb8ae760), "linstor_storage", 100, "raw", undef, 33554432) called at /usr/share/perl5/PVE/API2/Qemu.pm line 580 	PVE::API2::Qemu::__ANON__("virtio0", HASH(0x6066bb8339c8)) called at /usr/share/perl5/PVE/API2/Qemu.pm line 94 	PVE::API2::Qemu::__ANON__(HASH(0x6066bb8adc38), CODE(0x6066bb8d8510)) called at /usr/share/perl5/PVE/API2/Qemu.pm line 632 	eval {...} called at /usr/share/perl5/PVE/API2/Qemu.pm line 632 	create_disks(PVE::RPCEnvironment=HASH(0x6066b56c0a18), "root\@pam", HASH(0x6066bb8adc38), "x86_64", HASH(0x6066bb8ae760), 100, undef, HASH(0x6066bb8adc38), ...) called at /usr/share/perl5/PVE/API2/Qemu.pm line 1306 	eval {...} called at /usr/share/perl5/PVE/API2/Qemu.pm line 1305 	PVE::API2::Qemu::__ANON__() called at /usr/share/perl5/PVE/AbstractConfig.pm line 299 	PVE::AbstractConfig::__ANON__() called at /usr/share/perl5/PVE/Tools.pm line 259 	eval {...} called at /usr/share/perl5/PVE/Tools.pm line 259 	PVE::Tools::lock_file_full("/var/lock/qemu-server/lock-100.conf", 1, 0, CODE(0x6066bb833d88)) called at /usr/share/perl5/PVE/AbstractConfig.pm line 302 	PVE::AbstractConfig::__ANON__("PVE::QemuConfig", 100, 1, 0, CODE(0x6066bb809d88)) called at /usr/share/perl5/PVE/AbstractConfig.pm line 322 	PVE::AbstractConfig::lock_config_full("PVE::QemuConfig", 100, 1, CODE(0x6066bb809d88)) called at /usr/share/perl5/PVE/API2/Qemu.pm line 1362 	PVE::API2::Qemu::__ANON__() called at /usr/share/perl5/PVE/API2/Qemu.pm line 1397 	eval {...} called at /usr/share/perl5/PVE/API2/Qemu.pm line 1397 	PVE::API2::Qemu::__ANON__("UPID:pm-01-20210914:00186DA5:059904C4:684331F1:qmcreate:100:r"...) called at /usr/share/perl5/PVE/RESTEnvironment.pm line 620 	eval {...} called at /usr/share/perl5/PVE/RESTEnvironment.pm line 611 	PVE::RESTEnvironment::fork_worker(PVE::RPCEnvironment=HASH(0x6066b56c0a18), "qmcreate", 100, "root\@pam", CODE(0x6066bba19948)) called at /usr/share/perl5/PVE/API2/Qemu.pm line 1424 	PVE::API2::Qemu::__ANON__(HASH(0x6066bb8adc38)) called at /usr/share/perl5/PVE/RESTHandler.pm line 499 	PVE::RESTHandler::handle("PVE::API2::Qemu", HASH(0x6066b90c1678), HASH(0x6066bb8adc38)) called at /usr/share/perl5/PVE/HTTPServer.pm line 180 	eval {...} called at /usr/share/perl5/PVE/HTTPServer.pm line 141 	PVE::HTTPServer::rest_handler(PVE::HTTPServer=HASH(0x6066bb80e3c0), "::ffff:192.168.50.254", "POST", "/nodes/pm-01-20210914/qemu", HASH(0x6066bb8e57f8), HASH(0x6066bb80e618), "extjs") called at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 961 	eval {...} called at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 935 	PVE::APIServer::AnyEvent::handle_api2_request(PVE::HTTPServer=HASH(0x6066bb80e3c0), HASH(0x6066bb9a9af0), HASH(0x6066bb8e57f8), "POST", "/api2/extjs/nodes/pm-01-20210914/qemu") called at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1190 	eval {...} called at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1182 	PVE::APIServer::AnyEvent::handle_request(PVE::HTTPServer=HASH(0x6066bb80e3c0), HASH(0x6066bb9a9af0), HASH(0x6066bb8e57f8), "POST", "/api2/extjs/nodes/pm-01-20210914/qemu") called at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1662 	PVE::APIServer::AnyEvent::__ANON__(AnyEvent::Handle=HASH(0x6066bb8e2620), "sockets=1&ide2=nas-01%3Aiso%2FFedora-Server-dvd-x86_64-42-1.1"...) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent/Handle.pm line 1505 	AnyEvent::Handle::__ANON__(AnyEvent::Handle=HASH(0x6066bb8e2620)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent/Handle.pm line 1315 	AnyEvent::Handle::_drain_rbuf(AnyEvent::Handle=HASH(0x6066bb8e2620)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent/Handle.pm line 2015 	AnyEvent::Handle::__ANON__() called at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent/Loop.pm line 248 	AnyEvent::Loop::one_event() called at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent/Impl/Perl.pm line 46 	AnyEvent::CondVar::Base::_wait(AnyEvent::CondVar=HASH(0x6066b55d8f08)) called at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent.pm line 2034 	AnyEvent::CondVar::Base::recv(AnyEvent::CondVar=HASH(0x6066b55d8f08)) called at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1999 	PVE::APIServer::AnyEvent::run(PVE::HTTPServer=HASH(0x6066bb80e3c0)) called at /usr/share/perl5/PVE/Service/pvedaemon.pm line 52 	PVE::Service::pvedaemon::run(PVE::Service::pvedaemon=HASH(0x6066bb807e30)) called at /usr/share/perl5/PVE/Daemon.pm line 171 	eval {...} called at /usr/share/perl5/PVE/Daemon.pm line 171 	PVE::Daemon::__ANON__(PVE::Service::pvedaemon=HASH(0x6066bb807e30)) called at /usr/share/perl5/PVE/Daemon.pm line 390 	eval {...} called at /usr/share/perl5/PVE/Daemon.pm line 379 	PVE::Daemon::__ANON__(PVE::Service::pvedaemon=HASH(0x6066bb807e30), undef) called at /usr/share/perl5/PVE/Daemon.pm line 551 	eval {...} called at /usr/share/perl5/PVE/Daemon.pm line 549 	PVE::Daemon::start(PVE::Service::pvedaemon=HASH(0x6066bb807e30), undef) called at /usr/share/perl5/PVE/Daemon.pm line 659 	PVE::Daemon::__ANON__(HASH(0x6066b316b4d0)) called at /usr/share/perl5/PVE/RESTHandler.pm line 499 	PVE::RESTHandler::handle("PVE::Service::pvedaemon", HASH(0x6066bb808178), HASH(0x6066b316b4d0), 1) called at /usr/share/perl5/PVE/RESTHandler.pm line 985 	eval {...} called at /usr/share/perl5/PVE/RESTHandler.pm line 968 	PVE::RESTHandler::cli_handler("PVE::Service::pvedaemon", "pvedaemon start", "start", ARRAY(0x6066b31923a0), ARRAY(0x6066b318b768), undef, undef, undef) called at /usr/share/perl5/PVE/CLIHandler.pm line 594 	PVE::CLIHandler::__ANON__(ARRAY(0x6066b316b698), CODE(0x6066b357dbe8), undef) called at /usr/share/perl5/PVE/CLIHandler.pm line 673 	PVE::CLIHandler::run_cli_handler("PVE::Service::pvedaemon", "prepare", CODE(0x6066b357dbe8)) called at /usr/bin/pvedaemon line 27

This part of the error message seems significant:

[...]
"Satellite 'pm-01-20210914' does not support the following layers: [DRBD]"
[...]

What documentation were you following? DRBD 9 kernel module and drbd-utils installed on the nodes?

This error message seems suspicious of a DRBD 8.x kernel module being loaded. LINSTOR requires DRBD 9 installed on LINSTOR satellite nodes.

Found out that I needed to install pve-headers-$(uname -r) then reinstall the drbd packages so that the drbd module is updated. The one document just says to install pve-headers, but that didn’t work.

Thanks for the reply!

1 Like

Glad to learn you resolved the issue.

The one document just says to install pve-headers, but that didn’t work.

Which document was that?

This one.

How to Setup LINSTOR on Proxmox VE - LINBIT

1 Like