openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #20526
Re: nova client support for restore from soft delete ?
On Jan 29, 2013, at 8:55 AM, "Day, Phil" <philip.day@xxxxxx> wrote:
> Hi Folks,
>
> Does the nova client provide support to restore a soft deleted instance (and if not, what is the process for pulling an instance back from the brink) ?
If you have reclaim_instance_interval set then you can restore instances via an admin api command. If not then you are not going to have much luck reclaiming the insance becasue the drive will be deleted. If by some chance you have the backing files still, then you should be able to fix the db and do a hard reboot on the instance to get it to come back up. Fixing the db is mostly about setting deleted=False but keep in mind that you will also have to manually restore the vif and reassociate the fixed ip which hopefully hasn't been associated to a new instance.
Vish
Follow ups
References