Important Update: Cohesity Products Knowledge Base Articles


All Cohesity Knowledge Base Articles are now managed via the Cohesity Support Portal: https://support.cohesity.com/s/searchunify. The Knowledge Base articles available here will not reflect the latest information or may no longer be accessible.

CloudPoint VM instance restore is failing with "Failed to create volume: The volume 'vol-' does not exist."

Article: 100046088
Last Published: 2019-10-25
Ratings: 0 1
Product(s): CloudPoint

Problem

CloudPoint VM instance restore may fail with "Failed to create volume: The volume 'vol-<guid>' does not exist", when plugin credentials does not have sufficient privileges to detect assets.

Error Message

flexsnap-coordinator:
flexsnap-coordinator: Jul 02 13:08:52 80819922a8a3 flexsnap-coordinator[1] Thread-1120321 flexsnap.workflow: ERROR - execute: step restore(aws-ec2-eu-west-2-ami-<guid>) raised Failed to create volume: The volume 'vol-<guid>' does not exist. [src/aws/aws.py:2033]
flexsnap-coordinator: Traceback (most recent call last):
flexsnap-coordinator: File "/opt/VRTScloudpoint/lib/flexsnap/workflow.py", line 498, in execute
flexsnap-coordinator: result = self._action(**args)
flexsnap-coordinator: File "/opt/VRTScloudpoint/lib/flexsnap/coordinator.py", line 6469, in do_asset_action
flexsnap-coordinator: res = obj.do_action(action, params)
flexsnap-coordinator: File "/opt/VRTScloudpoint/lib/flexsnap/coordinator.py", line 2771, in do_action
flexsnap-coordinator: res = agent.send(action, params)
flexsnap-coordinator: File "/opt/VRTScloudpoint/lib/flexsnap/coordinator.py", line 697, in send
flexsnap-coordinator: timeout=self.REQ_TIMEOUT)
flexsnap-coordinator: File "/opt/VRTScloudpoint/bin/flexsnap-coordinator.py", line 47, in send
flexsnap-coordinator: queue, {"action": action, "params": params}, True, timeout=timeout)
flexsnap-coordinator: File "/opt/VRTScloudpoint/lib/flexsnap/connectors/base.py", line 445, in send_request
flexsnap-coordinator: res, affected = req.get_reply(True)
flexsnap-coordinator: File "/opt/VRTScloudpoint/lib/flexsnap/connectors/base.py", line 173, in get_reply
flexsnap-coordinator: raise flexsnap.GenericError.generate(msg)
flexsnap-coordinator: OperationFailed: Failed to create volume: The volume 'vol-<guid>' does not exist. [src/aws/aws.py:2033]

Cause

The error is usually seen because the account doesn't have the necessary permissions to perform all the task.  In this case the permissions for Customer Managed Keys (CMK) are not set correctly. The volume being restore was using custom CMK, and the IAM role attached to CloudPoint host should be added as one of the users of the custom CMK.

Solution

Review the IAM role assigned to CloudPoint for any permission issues.
For a list of permission refer to CloudPoint Administrator Guide:
AWS permissions required by CloudPoint

 

Was this content helpful?