The object has already been deleted or has not been complete

VMware specific discussions

The object has already been deleted or has not been complete

Veeam Logoby craigstrand » Mon Aug 13, 2012 7:11 pm

" The object has already been deleted or has not been completely created" I get this error when backing up a host that was upgraded from ESX 4.1 to ESXi 5.0. Other posts say to edit the Hosts table directly for the easiest fix, but provide no instructions on how to do so. Anyone have instructions to do this?

Ticket number ID#5210387
craigstrand
Lurker
 
Posts: 1
Liked: never
Joined: Tue Aug 10, 2010 8:08 pm
Full Name: Craig Strand

Re: The object has already been deleted or has not been comp

Veeam Logoby Vitaliy S. » Mon Aug 13, 2012 8:10 pm

Our support team will send you this script after reviewing the debug log files and making sure you are having the known issue. Thanks!
Vitaliy S.
Veeam Software
 
Posts: 19539
Liked: 1097 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: The object has already been deleted or has not been comp

Veeam Logoby hannisch » Wed Aug 29, 2012 10:20 am

Have the same issue, after upgrade from esx 4.1 to esxi 5.0, by doing a fresh install, while retaining the old hostname (only ip changed) I got the same error, by doing a replication job. Regarding this problem I got a ....failed to login to "ESXIHOST5" by SSH error entering the credentials and I have Under infrastructure ->Manged Servers ->VMware vSpere -> vCenter Servers ->VCS-> a duplicate entry of the new host.
Ticket ID: 5213022
hannisch
Enthusiast
 
Posts: 26
Liked: 5 times
Joined: Thu Dec 15, 2011 8:14 pm
Full Name: Sven Hannisch

Re: The object has already been deleted or has not been comp

Veeam Logoby ohuetz » Wed Sep 05, 2012 9:55 am

Is there any solution to avoid this error? I had it twice with update from 3.5 to 5.0U1 and 4.1 to 5.0U1 both with Veeam Backup 6.1.
ohuetz
Influencer
 
Posts: 14
Liked: never
Joined: Wed Mar 30, 2011 3:53 pm
Full Name: Oliver Huetz

Re: The object has already been deleted or has not been comp

Veeam Logoby hannisch » Wed Sep 05, 2012 10:12 am 2 people like this post

Meanwhile I replaced another host. I did this way:

1) Remove host from VCS
2) Rescan VCS in B&R
3) Remove old Host entry from Veeam DB (Hosts Table)
4) Rescan VCS in B&R
5) Install new host and add to VCS
6) Rescan VCS in B&R

This worked for me.
hannisch
Enthusiast
 
Posts: 26
Liked: 5 times
Joined: Thu Dec 15, 2011 8:14 pm
Full Name: Sven Hannisch

Re: The object has already been deleted or has not been comp

Veeam Logoby Tobias_Elfstrom » Sat Sep 15, 2012 5:34 am

Had the same sort of issue when I moved VM's and Hosts to a new vCenter.
Removing the hosts from the dbo.hosts tabled and rescaning within the VBR made the backups work again. Great tip, thanks!
Tobias_Elfstrom
Enthusiast
 
Posts: 84
Liked: 8 times
Joined: Wed Jul 04, 2012 6:32 am
Full Name: Tobias Elfstrom

Re: The object has already been deleted or has not been comp

Veeam Logoby dellock6 » Tue Oct 30, 2012 10:44 pm

I'm reopening this thread since after a crash of vCenter we had to recreate it...
Long story short, now I'm seeing random errors like this one, not in all our ESXi to be honest. I took a look at the database, is it correct saying the script basically open dbo.hosts table and removed all hosts having type=6 ? Cause I'm seeing also type=3 as proxy/repositories and 1 for Veeam server.
Oh, and there is also a "zombie" repository I removed some time ago, is it something that can happen?

Luca.
Luca Dell'Oca
EMEA Cloud Architect @ Veeam Software

@dellock6
http://www.virtualtothecore.com
vExpert 2011-2012-2013-2014-2015-2016
Veeam VMCE #1
dellock6
Veeam Software
 
Posts: 5047
Liked: 1330 times
Joined: Sun Jul 26, 2009 3:39 pm
Location: Varese, Italy
Full Name: Luca Dell'Oca

Re: The object has already been deleted or has not been comp

Veeam Logoby Vitaliy S. » Wed Oct 31, 2012 8:31 am

Cannot say for sure, as I didn't see this script, but it's better to consult with our support team before applying any changes to our configuration database manually.
Vitaliy S.
Veeam Software
 
Posts: 19539
Liked: 1097 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: The object has already been deleted or has not been comp

Veeam Logoby joergr » Mon Nov 26, 2012 12:14 pm

Same as Luca. Had to recreate vCenter Server. It´s not possible to scan the vcenter from within b+r6.5 again unless you manually kill the hosts out of the database. this has to be addressed. The rediscover process should remove orphaned hosts from within an old vcenter where they no longer exist.

Best regards,
Joerg
joergr
Expert
 
Posts: 377
Liked: 39 times
Joined: Tue Jun 08, 2010 2:01 pm
Full Name: Joerg Riether

Re: The object has already been deleted or has not been comp

Veeam Logoby joergr » Mon Nov 26, 2012 2:05 pm

Wow, now i am thinking positive again - i never thought what crazy sql scripts i am still be able to write after all these years ;-)

But maybe it would be possible to set this as a feature request, just to be sure you can also kill esxi objects when doing a rescan in the database. automatically adding works like a charm, btw - when running a vc rescan missing hosts are written to the hosts db.

Best regards,
Joerg
joergr
Expert
 
Posts: 377
Liked: 39 times
Joined: Tue Jun 08, 2010 2:01 pm
Full Name: Joerg Riether

Re: The object has already been deleted or has not been comp

Veeam Logoby dellock6 » Tue Nov 27, 2012 1:57 pm

It would be useful for sure!!
And, another one, being able to decide how frequently we can rescan the vcenter tree for changes. Right now is 24 hours and is fine for the vast majority of customers, but in our environment we change ESXi frequently, and a sysadmin sometimes forgets to run a manual rescan of the hosts, and when DRS kicks in, VMs moving to newly added nodes fails in being backed up.
the error disappears the next run, but in that time we loose a restore point and thus violating our SLAs for customers.

Luca.
Luca Dell'Oca
EMEA Cloud Architect @ Veeam Software

@dellock6
http://www.virtualtothecore.com
vExpert 2011-2012-2013-2014-2015-2016
Veeam VMCE #1
dellock6
Veeam Software
 
Posts: 5047
Liked: 1330 times
Joined: Sun Jul 26, 2009 3:39 pm
Location: Varese, Italy
Full Name: Luca Dell'Oca

Re: The object has already been deleted or has not been comp

Veeam Logoby connelp » Tue Dec 11, 2012 8:19 am

Hmmm, I had exactly the same problem last night.

We have three ESXi hosts. I have upgraded 2 from 4.1 to 5 (will upgrade the final one today) and I have come in to find 80% of my jobs have failed.

Just to clarify then, when I have upgraded the final ESXi host should I:

[*]Delete the relevant entries in the dbo.Hosts table
[*]Rescan for my hosts in 'Infrastructure'

Has anyone had to do anything else, like delete and re-add VMs into jobs?

Or should I just raise a call with support?
connelp
Influencer
 
Posts: 22
Liked: never
Joined: Mon Oct 08, 2012 7:48 am

Re: The object has already been deleted or has not been comp

Veeam Logoby joergr » Tue Dec 11, 2012 8:23 am

No, please don´t do that, if you are not highly sql experienced. VEEAM Support will create a sql script for you, if you have an active support contract. Please open a support ticket.

Best regards,
Joerg
joergr
Expert
 
Posts: 377
Liked: 39 times
Joined: Tue Jun 08, 2010 2:01 pm
Full Name: Joerg Riether

Re: The object has already been deleted or has not been comp

Veeam Logoby connelp » Tue Dec 11, 2012 8:32 am

Ah OK, thanks for warning me!

I'm quite confident deleting entries from tables but I don't want to ruin my B+R 6.5 installation.

I'd better upgrade my final host and contact support then.
connelp
Influencer
 
Posts: 22
Liked: never
Joined: Mon Oct 08, 2012 7:48 am

Re: The object has already been deleted or has not been comp

Veeam Logoby joergr » Tue Dec 11, 2012 8:35 am

Yep, that will work ;-)

Best regards,
Joerg
joergr
Expert
 
Posts: 377
Liked: 39 times
Joined: Tue Jun 08, 2010 2:01 pm
Full Name: Joerg Riether

Next

Return to VMware vSphere



Who is online

Users browsing this forum: btmaus and 13 guests