Solved

EC2 Full Instance restore failing

  • 12 August 2021
  • 4 replies
  • 1115 views

Userlevel 2
Badge +8

Hello - we are testing full instance restores of EC2 and VMware to EC2.  Both VMs fail with the following error:  

Import task failed. FirstBootFailure: This import request failed because the instance failed to boot and establish network connectivity..Please refer http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/VMImportTroubleshooting.html for further troubleshooting.

Am I to assume this is something with the source instance or possibly the permissions to finish the import?  We created all the necessary roles and applied them to the user we created.  The other thought is Windows licensing?

My user in my test environment is assigned the admin role (I know - insecure) and my restore finished successfully.  I also created and assigned the vmimport role to this user.

Any pointers on this would be appreciated!

Commserve and VSA are running in AWS so I don’t think we have firewall issues.  Backups run just fine.

Thanks!

Melissa

icon

Best answer by Melissa Adams 23 August 2021, 22:09

View original

4 replies

Userlevel 7
Badge +23

Hey @Melissa Adams 

You could be right re: licensing, that is one of the things it tries to do after boot, is apply the AWS volume license.

When you receive the FirstBootFailure error message, it means that your virtual disk image was unable to perform one of the following steps:

  • Boot up and start Windows.

  • Install Amazon EC2 networking and disk drivers.

  • Use a DHCP-configured network interface to retrieve an IP address.

  • Activate Windows using the Amazon EC2 Windows volume license.

 

You could try another VM or try a linux VM to rule that out. But alternatively, I would recommend sidestepping the vm-import process all-together if you can. The HotAdd restore method is way...waaaay faster and easier if you meet all the requirements.

https://documentation.commvault.com/11.24/essential/96427_hotadd_restores.html

 

 

Userlevel 2
Badge +8

@Damian Andre we are working with Johar today to look at permissions and possibly review the source VM.  We will be using LiveSync as well for on prem to AWS so this has to be working.

Userlevel 2
Badge +8

@Damian Andre  we have a solution to this kind of.  The issue was the customer is using IMDS v2 and has v1 disabled, which is what Commvault is expecting for metadata.  We were able to get log files to Dev and they asked the right questions which led to the IMDS discussion.  Dev is working on a patch/code to interact with IMDS v2.  Here is the link to AWs on V2 (it’s much more secure):

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html

Thanks

Melissa

Userlevel 7
Badge +23

Thanks @Melissa Adams - very helpful!

I was not aware of IMDS, but now i know ;)

 

Reply