Article ID: 123205, created on Oct 22, 2014, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo 6.0
  • Virtuozzo containers for Linux

Symptoms

An attempt to create a Virtual machine backup fails with the similar error message:

# prlctl backup test.vm -s root@node2 -v5
Logging in
server uuid={79bd2c43-1d45-545b-8ada-78a53fae43fa}
sessionid={6bb042bf-dcc0-4395-a84c-cf94fa331279}
The virtual machine found: test.vm
root@node2's password:
 <Password has been wiped out for security reasons>
server uuid={65679067-af0e-3478-b45e-4284cdabee61}
sessionid={53308ff6-3a3c-4d0d-a4c9-f7b357246a7a}
The virtual machine found: test.vm
security_level=0
Backing up the VM test.vm
PrlCleanup::register_hook: 1b8d560
EVENT type=100001
EVENT type=100511
....
....    
Failed to backed up the VM: Invalid argument. An invalid argument was passed.
PrlCleanup::unregister_hook: 1b8d560
Logging off
Logging off
PrlHandle_GetType: PRL_ERR_API_WASNT_INITIALIZED

In the /var/log/parallels.log on the source node the following entries can be found:

03-25 12:35:55.532 F /vdisk:386336:76204/ The specified uid ({704718e1-2314-44c8-9087-d78ed36b0f4e}) not found in shot
03-25 12:35:55.532 F /vdisk:386336:76204/ Error executing linked clone [0x80000003]
03-25 12:35:55.532 F /vdisk:386336:76204/ Signal error 0x80000003 to caller from disk manager.
03-25 12:35:55.532 F /vdisk:386336:76204/ Operation failed with code 0x80000003
03-25 12:35:55.532 F /disp:386336:76171/ [backupHardDiskDevices] Failed to prepare temporal copy of /pstorage/vmprivate/test.vm.pvm/harddisk.hdd at /pstorage/vmprivate/test.vm.pvm/backup.{110b153b-048b-4fe5-95f8-f5f18f7d9bae}/har
ddisk.hdd
03-25 12:35:55.533 F /disp:386336:76171/ send ABackupProxyCancelCmd command
03-25 12:35:55.576 F /disp:386336:387918/ Processing command 'DspCmdGetVmConfigById' 2173 (PJOC_SRV_GET_VM_CONFIG)
03-25 12:35:55.730 F /disp:386336:76171/ Vm state was changed from VMS_RUNNING to VMS_DELETING_STATE for vm {1bfef3bb-9775-40d6-a34e-593e62ce91b5} (name='test.vm'), to powerState 0(vpsNormal)
03-25 12:35:55.732 F /disp:386336:76206/ Task '19Task_DeleteSnapshot' with uuid = {101d86bf-ec1d-4102-bcd2-e9101305a0db} was started. Flags = 0x1000

/var/log/parallels.log on the destination node contains similar messages:

03-25 12:40:23.363 F /disp:949882:953261/ Task '25Task_CreateVmBackupTarget' with uuid = {0fe0dd29-b5af-408e-8cb6-919d70d7e690} was started. Flags = 0x800
03-25 12:40:23.363 F /CAuth:949882:953261/ stat64() has returned error: No such file or directory, /backup//{1bfef3bb-9775-40d6-a34e-593e62ce91b5}/{fd4e0faf-c285-4a16-912d-270d88f8f
af1}/base
03-25 12:40:23.364 F /CAuth:949882:953261/ stat64() has returned error: No such file or directory, /backup/{1bfef3bb-9775-40d6-a34e-593e62ce91b5}/{fd4e0faf-c285-4a16-912d-270d88f8fa
f1}/base
03-25 12:40:23.364 F /CAuth:949882:953261/ stat64() has returned error: No such file or directory, /backup/{1bfef3bb-9775-40d6-a34e-593e62ce91b5}/{fd4e0faf-c285-4a16-912d-270d88f8fa
f1}/base
03-25 12:40:23.364 F /disp:949882:949890/ CDspClientManager::getSessionsListByVm: Can't found vm by vmId={1bfef3bb-9775-40d6-a34e-593e62ce91b5}, dirId={fb7370de-94fd-4e41-bf1f-5f1c1
2cbe95c})
03-25 12:40:23.406 F /VmFileList:949882:953258/ < FileCopy first reply: version: 1, platform: 2
03-25 12:40:23.564 F /virtuozzo:953262:953262/ Initialize libvzctl
03-25 12:40:23.652 F /disp:949882:953258/ receive ABackupProxyCancelCmd command
03-25 12:40:23.652 F /prl_backup_server:953262:953262/ Cancelled
03-25 12:40:23.653 F /disp:949882:953261/ /usr/sbin/prl_backup_server exited with code 1
03-25 12:40:23.655 F /disp:949882:953261/ Task '25Task_CreateVmBackupTarget' with uuid = {0fe0dd29-b5af-408e-8cb6-919d70d7e690} was finished with result PRL_ERR_BACKUP_ACRONIS_ERR (
0x80037016) )
03-25 12:40:23.655 F /disp:949882:949890/ CDspClientManager::getSessionsListByVm: Can't found vm by vmId={1bfef3bb-9775-40d6-a34e-593e62ce91b5}, dirId={fb7370de-94fd-4e41-bf1f-5f1c1
2cbe95c})

Others virtual machines on the node can be backed up without any issues.

Cause

One of the virtual hard drives (hdd) is disconnected from the VM:

hdd0 (-) ide:1 image='/pstorage/vmprivate/test.vm.pvm/harddisk.hdd' type='expanded' 230400Mb
hdd1 (+) sata:0 image='/pstorage/vmprivate/test.vm.pvm/harddisk1.hdd' type='expanded' 266240Mb

Resolution

Connect the disk back to the Virtual Machine, e.g:

# prlctl set test.vm --device-set hdd0 --enable

Update the PCS node to Parallels Cloud Server 6.0 Update 7 (6.0.7-2195), starting with this update disconnected VM drives are ignored during the backup creation.

Search Words

Invalid argument

PRL_ERR_API_WASNT_INITIALIZED

full backup failed

Failed to backed up the VM: Invalid argument. An invalid argument was passed.

An invalid argument was passed

backup fail

PrlHandle_GetType: PRL_ERR_API_WASNT_INITIALIZED

c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f

Email subscription for changes to this article
Save as PDF