opennebula-swap-6.10.5-alt1 Шаги воспроизведения: # oneswap convert alt \ --custom \ --esxi АДРЕС_VMWARE \ --esxi-user ПОЛЬЗОВАТЕЛЬ_VMWARE \ --esxi-pass ПАРОЛЬ \ --delete-after \ --verbose Получаемый результат: Running OpenNebula prechecks... Downloading disks from vCenter storage to local disk % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 32.00G 100 32.00G 0 0 122.8M 0 04:26 04:26 458.6M Downloaded disk #0. Converting disks locally (100.00/100%) Disk 0 converted in 28.75 seconds. Deleting vmdk file Creating Images in OpenNebula Inspecting disk...Done (8.24s) Unsupported guest OS or couldn't find context file for context injection. Please install manually. Allocating image 0 in OpenNebula Waiting for image to be ready. Timeout: 120 seconds. Deleting password files. Deleting vdisks in /var/tmp/alt/conversions Deleting everything in and including /var/tmp/alt undefined local variable or method `img_ids' for #<OneSwapHelper:0x00007ff4f6c00038 @client=#<OpenNebula::Client:0x00007ff4f6bc00a0 @one_auth="oneadmin:mypassword", @one_endpoint="http://localhost:2633/RPC2", @async=false, @one_zmq="tcp://localhost:2101", @server=#<XMLRPC::Client:0x00007ff4f6bc67c0 @http_header_extra={"accept-encoding"=>"identity"}, @ht 2544 sion-id-ref"=>nil, "wsdl_type"=>"xsd:int"}], "wsdl_base"=>"InvalidVmConfig", "wsdl_name"=>"InvalidDeviceSpec"}, "InvalidDiskFormat"=>{"kind"=>"data", "props"=>[], "wsdl_base"=>"InvalidFormat", "wsdl_name"=>"InvalidDiskFormat"}, "InvalidHostState"=>{"kind"=>"data", "props"=>[{"name"=>"host", "is-optional"=>true, "is-array"=>false, "version-id-ref"=>nil, .... Vmomi::VIM:0x00007ff4f6b904e0 ...>, @ref="ha-guest-operations-manager">, :vStorageObjectManager=>#<RbVmomi::VIM::HostVStorageObjectManager:0x00007ff4fa418600 @connection=#<RbVmomi::VIM:0x00007ff4f6b904e0 ...>, @soap=#<RbVmomi::VIM:0x00007ff4f6b904e0 ...>, @ref="ha-vstorage-object-manager">, :cryptoManager=>#<RbVmomi::VIM::CryptoManagerHost:0x00007ff4fa41ff90 @connection=#<RbVmomi::VIM:0x00007ff4f6b904e0 ...>, @soap=#<RbVmomi::VIM:0x00007ff4f6b904e0 ...>, @ref="ha-crypto-manager">}>>, @ref="ha-host">, "summary.runtime.powerState"=>"poweredOff"}> puts img_ids.nil? ? "No Images ID's reported being created".red : "Created images: #{img_ids}".green При этом диск создался: # oneimage show alt_0 IMAGE 2 INFORMATION ID : 2 NAME : alt_0 USER : oneadmin GROUP : oneadmin LOCK : None DATASTORE : default TYPE : OS REGISTER TIME : 07/08 16:26:02 PERSISTENT : No SOURCE : /var/lib/one//datastores/1/dbedf8eea29f77e60ce45b15e406bfe8 PATH : /var/tmp/alt/conversions/alt-disk0.qcow2 FORMAT : qcow2 SIZE : 32G STATE : rdy RUNNING_VMS : 0 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- IMAGE TEMPLATE DEV_PREFIX="sd"
opennebula-swap-6.10.5-alt2 -> sisyphus: Wed Jul 08 2026 Alexander Burmatov <thatman@altlinux> 6.10.5-alt2 - Add missing requirement (ALT #59764). - Assign conversion result to img_ids in convert_vm (ALT #59765).