Skip to main content
DR restore fails with INTERNAL65535 error
Updated over 8 months ago

This article applies to:

  • OS: VMware

  • Product edition: Phoenix Cloud

  • Feature category: Restore

Problem description

The restore performed during disaster recovery (DR) of a configured VM fails with an INTERNAL65535 error.

Cause

The name of the VMimport Role to access AWS is not set correctly.

Traceback

018-03-02 18:32:21,908] [ERROR]
awsDRLib<initiate_import_image>: failed with error: An error occurred
(InvalidParameter) when calling the ImportImage operation: The service role
<vmimport> does not exist or does not have sufficient permissions for the
service to continue 
[2018-03-02 18:32:21,908] [ERROR] Error <class 'botocore.exceptions.ClientError'>:An error occurred (InvalidParameter) when calling the ImportImage operation: The service role <vmimport> does not exist or does not have sufficient permissions for the service to continue. Traceback -Traceback (most recent call last): 
File "roboClientLib/boto/awsDRLib.py", line 853, in initiate_import_image 
UnboundLocalError: local variable 'response' referenced before assignment.

Resolution

You must create a role with the name specifically as vmimport while creating VMimport Role to access AWS. The steps involved to create the role are as follows:

  1. Create VMimport Policy to access data backup

  2. Create VMimport Role to access AWS

  3. Create IAM Policy to accessAWS resources

  4. Create IAM Role for Phoenix AWS Proxy

  5. Establish trust relationship for VM import Role

See also

For the detailed procedure on role creation, see Create IAM policies and roles.

Did this answer your question?