CLI recover-instance command may fail when root-device-source parameter is set to image

CLI "recover-instance" command may fail when "root-device-source" parameter is set to "image"

When using the CPM CLI to run the” recover-instance” command and the parameter "root-device-source” is set to “image”, instance recovery may fail with the following error:
{"message": "Failed getting snapshot of root device /<path>. Error: VolumeSnapshotRecord matching query does not exist.", "success": 0}


If you face this issue, please upgrade to latest 2.X.X version
Reference defect number – N2WS-570, fixed in v2.2.0a

Link to Release Notes and the latest patch - https://support.n2ws.com/portal/kb/articles/release-notes-for-the-latest-v2-2-x-cpm-release


    • Related Articles

    • A c5 instance recovery from snapshot may fail

      If CPM didn't backup a c5 instance with initial ami (snapshots only), the recovery may fail with the following error: To recover a c5 instance you will need to use the AWS CLI to create an AMI to be used during recovery. The examples below are ...
    • Exception may occur when trying to recover an instance using CPM CLI

      When trying to recover an instance, volume or DB using CPM_CLI, recovery mail fail with an exception   If you face this issue when performing non-DR recovery, please upgrade to latest 2.X.X version Reference defect number - 83ec3dd251, fixed in ...
    • Cross-account instance recovery with CPM_CLI may not retain instance’s attached volumes

      When performing cross-account instance recovery of an instance with more than one volume, using CPM CLI, CPM may fail to recover the instance’s attached volumes  . The instance will get created only with its root volume and no error message will ...
    • CLI guide and software download for CPM v2.5.0

      CLI v1.2 for CPM v2.5.0 and guide are available for download as attachments to this solution. This program will NOT work with versions of CPM older than v2.5.0. To download the CLI for older versions of CPM please see this link: ...
    • CLI guide and software download for CPM v4.2.0

      CLI v2.2 for CPM v4.2.x and the guide are available for download as attachments to this solution Previous version: CLI guide and software download for CPM v4.1.x Next version: CLI guide and software download for CPM v4.2.1