#1 2018-09-04 14:04:20

zarthan
Member
Registered: 2018-02-25
Posts: 15

Orphaned VM causes erroneous errors.

I had a VM that was listed in the VM database but no longer existed. It caused the backup to show as failed.
The error message is as below. The orphaned VM is VM '140'. In spite of the error messages, the backup was successful and once the offending VM was removed from the database the backup completed and shows success. Just thought you should be aware.

ERROR CLDELSN3, details: [SSL] error: cannot delete snapshot, details: Skipping invalid VM '140' Skipping invalid VM '140'


Error

Last edited by zarthan (2018-09-04 14:10:17)

Offline

#2 2018-09-04 19:21:06

admin
Administrator
Registered: 2017-04-21
Posts: 1,370

Re: Orphaned VM causes erroneous errors.

That error is thrown to the shell when taking a snapshot and it is thusly reported. An orphaned VM must be correctly unregistered for the ESXi database to be consistent. We'll try to detect this special condition to turn it into a general warning instead of an error related to a given VM.

Offline

#3 2018-09-05 20:33:10

zarthan
Member
Registered: 2018-02-25
Posts: 15

Re: Orphaned VM causes erroneous errors.

Just to add a little more information, I only back up a list of VM's, not everything. The error message occurred after each VM backup completed and it listed each VM backup as failed. In spite of the backup being listed as failed, all the backups were successful. 

for future reference
vim-cmd /vmsvc/unregister ID# removed the orphaned VM

Offline

#4 2018-09-05 21:21:36

admin
Administrator
Registered: 2017-04-21
Posts: 1,370

Re: Orphaned VM causes erroneous errors.

Yes, we know that command unregisters a VM, but XSIBackup cannot take decissions in regards to your VM inventory, it's each admin that must keep his VM inventory consistent.

Offline

#5 2018-09-05 21:46:03

zarthan
Member
Registered: 2018-02-25
Posts: 15

Re: Orphaned VM causes erroneous errors.

I wasn't trying to tell you how to fix it. That was in case anyone had a similar problem as in "for future reference". Also not suggesting that XSI make my decisions. I was just filling in details. I do think that the error condition should NOT flag the backup as failed. On the plus side, it did cause me to look into what caused the failure.

Offline

Board footer