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: "Backup From Snapshot" job fails with error “Failure: flexsnap.OperationFailed: Not able to get the maximum number of persistent disk that we can attach to machine type …”.

Article: 100053534
Last Published: 2024-05-24
Ratings: 0 0
Product(s): NetBackup

Problem

"Backup From Snapshot" jobs fails and in “Job Details” page, user finds the following error:

Error nbcs (pid=<pid>) Error occurred while exporting snapshot for the asset:<unique_id>. Reason: Failure: flexsnap.OperationFailed: Not able to get the maximum number of persistent disk that we can attach to machine type <self-link to a GCP custom machine-type>.

This issue affects "Backup From Snapshot" jobs for GCP cloud VMs.

 

Error Message

Job Details page shows the following error:

Error occurred while exporting snapshot for the asset: <asset_id>. Reason: Failure: flexsnap.OperationFailed: Not able to get the maximum number of persistent disk that we can attach to machine type <self-link to a GCP custom machine-type>.

 

Cause

Here, the Snapshot Manager needs to fetch the number of disks that can be attached to the VM where Snapshot Manager is deployed. In this case, we are not able to fetch this info from GCP.

Note: This issue is specific to GCP cloud only, and not applicable for other clouds

This problem primarily occurs when we try to fetch the required information from GCP about the machine-type of the cloud  VM on which Snapshot Manager is deployed. This can happen if the Snapshot Manager VM has a custom machine-type like e2-custom-2-11520, etc. and not a standard one like e2-standard-8. Resizing of a GCP cloud VM can cause its machine-type to take up a custom value.

Since GCP won’t have the required information on a custom machine-type, we face this error.

 

Solution

For proper functioning, the Snapshot Manager VM needs to have a standard machine-type like e2-standard-8, n2-highcpu-8, etc. For this the user can easily resize the VM to a standard machine-type. For more information, see: Changing the machine type of a VM instance

Note: Currently, to resize a cloud VM in GCP, the VM needs to be restarted.

Applicable for :

CLOUD-GCP-15

Was this content helpful?