problem with migration from local zfs pool to drbd pool

KlintEstwood

New Member
Sep 28, 2020
2
0
1
40
On some virtual machines, the disk does not move to the dbd pool
Proxmox v. 6.2-11 linstor v 1.4
error
TASK ERROR: storage migration failed: error during cfs-locked 'storage-hdpool' operation: API Return-Code: 500. Message: Could not create resource definition vm-118-disk-1 from resource group hd_group, because: [{"ret_code":19922945,"message":"Volume definition with number '0' successfully created in resource definition 'vm-118-disk-1'.","obj_refs":{"RscGrp":"hd_group","RscDfn":"vm-118-disk-1","VlmNr":"0"}},{"ret_code":20447233,"message":"New resource definition 'vm-118-disk-1' created.","details":"Resource definition 'vm-118-disk-1' UUID is: cf05c0cc-768b-406b-9a4e-dc58e5e54fb1","obj_refs":{"RscGrp":"hd_group","UUID":"cf05c0cc-768b-406b-9a4e-dc58e5e54fb1","RscDfn":"vm-118-disk-1"}},{"ret_code":20185089,"message":"Successfully set property key(s): StorPoolName","obj_refs":{"RscDfn":"vm-118-disk-1","RscGrp":"hd_group"}},{"ret_code":20185089,"message":"Successfully set property key(s): StorPoolName","obj_refs":{"RscDfn":"vm-118-disk-1","RscGrp":"hd_group"}},{"ret_code":20185089,"message":"Successfully set property key(s): StorPoolName","obj_refs":{"RscDfn":"vm-118-disk-1","RscGrp":"hd_group"}},{"ret_code":21233665,"message":"Resource 'vm-118-disk-1' successfully autoplaced on 3 nodes","details":"Used nodes (storage pool name): 'pve1 (hdpool)', 'pve2 (hdpool)', 'pve3 (hdpool)'","obj_refs":{"RscDfn":"vm-118-disk-1","RscGrp":"hd_group"}},{"ret_code":4611686018448631570,"message":"Resource-definition property 'DrbdOptions/Resource/quorum' updated from 'null' to 'majority' by auto-quorum","obj_refs":{"RscDfn":"vm-118-disk-1","RscGrp":"hd_group"}},{"ret_code":4611686018448631570,"message":"Resource-definition property 'DrbdOptions/Resource/on-no-quorum' updated from 'null' to 'io-error' by auto-quorum","obj_refs":{"RscDfn":"vm-118-disk-1","RscGrp":"hd_group"}},{"ret_code":-4611686018406153242,"message":"(Node: 'pve2') Failed to adjust DRBD resource vm-118-disk-1","error_report_ids":["5F71AA63-F21CA-000003"],"obj_refs":{"RscDfn":"vm-118-disk-1","RscGrp":"hd_group"}},{"ret_code":-4611686018406153242,"message":"(Node: 'pve3') Failed to adjust DRBD resource vm-118-disk-1","error_report_ids":["5F71AA68-11037-000003"],"obj_refs":{"RscDfn":"vm-118-disk-1","RscGrp":"hd_group"}},{"ret_code":21233667,"message":"Created resource 'vm-118-disk-1' on 'pve1'","obj_refs":{"RscDfn":"vm-118-disk-1","RscGrp":"hd_group"}}] at /usr/share/perl5/PVE/Storage/Custom/LINSTORPlugin.pm line 284. PVE::Storage::Custom::LINSTORPlugin::alloc_image("PVE::Storage::Custom::LINSTORPlugin", "hdpool", HASH(0x55d42a6943a8), 118, "raw", undef, 169870336) called at /usr/share/perl5/PVE/Storage.pm line 824 eval {...} called at /usr/share/perl5/PVE/Storage.pm line 824 PVE::Storage::__ANON__() called at /usr/share/perl5/PVE/Cluster.pm line 614 eval {...} called at /usr/share/perl5/PVE/Cluster.pm line 582 PVE::Cluster::__ANON__("storage-hdpool", undef, CODE(0x55d42a475398)) called at /usr/share/perl5/PVE/Cluster.pm line 659 PVE::Cluster::cfs_lock_storage("hdpool", undef, CODE(0x55d42a475398)) called at /usr/share/perl5/PVE/Storage/Plugin.pm line 461 PVE::Storage::Plugin::cluster_lock_storage("PVE::Storage::Custom::LINSTORPlugin", "hdpool", 1, undef, CODE(0x55d42a475398)) called at /usr/share/perl5/PVE/Storage.pm line 829 PVE::Storage::vdisk_alloc(HASH(0x55d42a52cf40), "hdpool", 118, "raw", undef, 169870336) called at /usr/share/perl5/PVE/QemuServer.pm line 6840 PVE::QemuServer::clone_disk(HASH(0x55d42a52cf40), 118, 1193965, "scsi0", HASH(0x55d42a510808), undef, 118, "hdpool", ...) called at /usr/share/perl5/PVE/API2/Qemu.pm line 3259 eval {...} called at /usr/share/perl5/PVE/API2/Qemu.pm line 3247 PVE::API2::Qemu::__ANON__("UPID:pve1:002D4F65:015C4AB7:5F71AB35:qmmove:118:root\@pam:") called at /usr/share/perl5/PVE/RESTEnvironment.pm line 610 eval {...} called at /usr/share/perl5/PVE/RESTEnvironment.pm line 601 PVE::RESTEnvironment::fork_worker(PVE::RPCEnvironment=HASH(0x55d42a463998), "qmmove", 118, "root\@pam", CODE(0x55d42a682438)) called at /usr/share/perl5/PVE/API2/Qemu.pm line 3301 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 215 eval {...} called at /usr/share/perl5/PVE/Tools.pm line 215 PVE::Tools::lock_file_full("/var/lock/qemu-server/lock-118.conf", 10, 0, CODE(0x55d42a69b548)) called at /usr/share/perl5/PVE/AbstractConfig.pm line 302 PVE::AbstractConfig::__ANON__("PVE::QemuConfig", 118, 10, 0, CODE(0x55d42a69ab10)) called at /usr/share/perl5/PVE/AbstractConfig.pm line 322 PVE::AbstractConfig::lock_config_full("PVE::QemuConfig", 118, 10, CODE(0x55d42a69ab10)) called at /usr/share/perl5/PVE/AbstractConfig.pm line 330 PVE::AbstractConfig::lock_config("PVE::QemuConfig", 118, CODE(0x55d42a69ab10)) called at /usr/share/perl5/PVE/API2/Qemu.pm line 3304 PVE::API2::Qemu::__ANON__(HASH(0x55d42a66e510)) called at /usr/share/perl5/PVE/RESTHandler.pm line 453 PVE::RESTHandler::handle("PVE::API2::Qemu", HASH(0x55d42847e5d0), HASH(0x55d42a66e510)) called at /usr/share/perl5/PVE/HTTPServer.pm line 177 eval {...} called at /usr/share/perl5/PVE/HTTPServer.pm line 140 PVE::HTTPServer::rest_handler(PVE::HTTPServer=HASH(0x55d42a4639e0), "192.168.1.59", "POST", "/nodes/pve1/qemu/118/move_disk", HASH(0x55d42a5422e8), HASH(0x55d42a517948), "extjs") called at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 746 eval {...} called at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 720 PVE::APIServer::AnyEvent::handle_api2_request(PVE::HTTPServer=HASH(0x55d42a4639e0), HASH(0x55d42a50c060), HASH(0x55d42a5422e8), "POST", "/api2/extjs/nodes/pve1/qemu/118/move_disk") called at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 974 eval {...} called at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 966 PVE::APIServer::AnyEvent::handle_request(PVE::HTTPServer=HASH(0x55d42a4639e0), HASH(0x55d42a50c060), HASH(0x55d42a5422e8), "POST", "/api2/extjs/nodes/pve1/qemu/118/move_disk") called at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1373 PVE::APIServer::AnyEvent::__ANON__(AnyEvent::Handle=HASH(0x55d429c18380), "disk=scsi0&storage=hdpool") called at /usr/lib/x86_64-linux-gnu/perl5/5.28/AnyEvent/Handle.pm line 1505 AnyEvent::Handle::__ANON__(AnyEvent::Handle=HASH(0x55d429c18380)) called at /usr/lib/x86_64-linux-gnu/perl5/5.28/AnyEvent/Handle.pm line 1315 AnyEvent::Handle::_drain_rbuf(AnyEvent::Handle=HASH(0x55d429c18380)) called at /usr/lib/x86_64-linux-gnu/perl5/5.28/AnyEvent/Handle.pm line 2015 AnyEvent::Handle::__ANON__() called at /usr/lib/x86_64-linux-gnu/perl5/5.28/AnyEvent/Loop.pm line 248 AnyEvent::Loop::one_event() called at /usr/lib/x86_64-linux-gnu/perl5/5.28/AnyEvent/Impl/Perl.pm line 46 AnyEvent::CondVar::Base::_wait(AnyEvent::CondVar=HASH(0x55d429c4c4e8)) called at /usr/lib/x86_64-linux-gnu/perl5/5.28/AnyEvent.pm line 2026 AnyEvent::CondVar::Base::recv(AnyEvent::CondVar=HASH(0x55d429c4c4e8)) called at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1660 PVE::APIServer::AnyEvent::run(PVE::HTTPServer=HASH(0x55d42a4639e0)) called at /usr/share/perl5/PVE/Service/pvedaemon.pm line 52 PVE::Service::pvedaemon::run(PVE::Service::pvedaemon=HASH(0x55d42a45ef00)) 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(0x55d42a45ef00)) called at /usr/share/perl5/PVE/Daemon.pm line 391 eval {...} called at /usr/share/perl5/PVE/Daemon.pm line 380 PVE::Daemon::__ANON__(PVE::Service::pvedaemon=HASH(0x55d42a45ef00), undef) called at /usr/share/perl5/PVE/Daemon.pm line 552 eval {...} called at /usr/share/perl5/PVE/Daemon.pm line 550 PVE::Daemon::start(PVE::Service::pvedaemon=HASH(0x55d42a45ef00), undef) called at /usr/share/perl5/PVE/Daemon.pm line 661 PVE::Daemon::__ANON__(HASH(0x55d4234e7fa0)) called at /usr/share/perl5/PVE/RESTHandler.pm line 453 PVE::RESTHandler::handle("PVE::Service::pvedaemon", HASH(0x55d42a45f248), HASH(0x55d4234e7fa0)) called at /usr/share/perl5/PVE/RESTHandler.pm line 865 eval {...} called at /usr/share/perl5/PVE/RESTHandler.pm line 848 PVE::RESTHandler::cli_handler("PVE::Service::pvedaemon", "pvedaemon start", "start", ARRAY(0x55d42381bbb0), ARRAY(0x55d42a45f8f0), undef, undef, undef) called at /usr/share/perl5/PVE/CLIHandler.pm line 591 PVE::CLIHandler::__ANON__(ARRAY(0x55d4234e81c8), CODE(0x55d423864790), undef) called at /usr/share/perl5/PVE/CLIHandler.pm line 668 PVE::CLIHandler::run_cli_handler("PVE::Service::pvedaemon", "prepare", CODE(0x55d423864790)) called at /usr/bin/pvedaemon line 27
 
new error
TASK ERROR: storage migration failed: mirroring error: drive-scsi0: mirroring has been cancelled