vCloud restores may complete with "The requested operation was partially successful" when VM Discovery is enabled.

Article: 100046117
Last Published: 2021-06-04
Ratings: 0 0
Product(s): NetBackup

Problem

When performing vCloud restore, the restore operation may complete with Status 1 "The requested operation was partially successful" due to vCloud taking ownership of the VM/vCloud before NetBackup can move/rename the VM/vApp.  As a result the VM can be found in a vApp name "Discovered Windows_restore_<bprd_pid>_<ctime>_<GUID>.

Error Message

Job Details:
Info bpVMutil (pid=45917) INF - vCloudLogger: vCloudClient::addVmToExistingvApp: Error (400) - BAD_REQUEST received: [ <GUID> ] Cannot import VM Windows_restore_<bprd_pid>_<ctime> (vm-#####) since it is already managed by vCloud. (../vcdclient_vCloudClient.cpp:5937)

bpVMutil:
14:28:48.916 [45917.45917] <2> virtlogcallback: vCloudLogger: vCloudClient::addVmToExistingvApp: Import to existing vApp failed, not attemping to restore configration (../vcdclient_vCloudClient.cpp:5975)
14:28:48.916 [45917.45917] <16> importToExistingvApp: Could not add to existing vApp to vCloud Server <vCloud_Server>

14:29:18.959 [45917.45917] <2> bpVMutil main: EXIT STATUS 11: system call failed

bprd:
14:29:18.964 [6860.6860] <4> bprd.sfr: do_import_to_vapp: Import to new vApp returned 11
14:29:18.964 [6860.6860] <2> set_job_details: Tfile (74524): LOG 1564489758 8 bprd.sfr 6860 Import vApp to vCloud <vCloud_Server> failed
14:29:18.964 [6860.6860] <2> send_job_file: job ID 74524, ftype = 3 msg len = 80, msg = LOG 1564489758 8 bprd.sfr 6860 Import vApp to vCloud <vCloud_Server> failed
14:29:18.964 [6860.6860] <2> log_sfr_restore_status: Logging Import vApp to vCloud <vCloud_Server> failed
14:29:18.965 [6860.6860] <4> db_error_add_to_file: do_import_to_vapp: import to vApp failed on <Backup_Host> with 11
14:29:18.965 [6860.6860] <16> bprd.sfr: do_import_to_vapp: import to vApp failed on <Backup_Host> with 11
14:29:18.965 [6860.6860] <4> bprd.sfr: sfr: resetting error to EC_conditional_success from 1, anysuccess or anyconditional > 0 or other errors
14:29:18.965 [6860.6860] <4> bprd.sfr: sfr: returning 1, vcd_import 1
14:29:18.969 [6860.6860] <2> jmcomm_ReleaseAllResourcesForJob: releaseAllResources returns [805]
14:29:18.969 [6860.6860] <2> jmcomm_ReleaseAllResourcesForJob: returning
14:29:18.969 [6860.6860] <16> free_allocated_resources: Free resource allocations failed.

Cause

NetBackup does not support the vCloud Director 8.20, 9.0 and 10 feature called "Automatic discovery and import of vCenter VMs."  This causes vCloud to take control of the VM resulting in NetBackup failing to Import the VM to appropriate vApp.

Solution

Disable "Automatic discovery and import of vCenter VMs" in vCloud.
https://pubs.vmware.com/vcd-820/index.jsp?topic=%2Fcom.vmware.vcloud.admin.doc%2FGUID-068B8D3E-11B4-4B67-A653-B374AFD98303.html

Was this content helpful?