Snapshot of a VM fails with "The missing asset continues to be subscribed to a Protection plan or Policy" error.
Problem
The snapshot of the VM fails with the error: The missing asset <asset_id> continues to be subscribed to the Protection Plan
.
OR
The missing asset <asset_id> continues to be subscribed to a Protection plan or Policy
.
Error Message
In the Job Details output:
Dec 12, 2023 12:19:50 PM - begin Persistent Frozen Image: Create Snapshot
Dec 12, 2023 12:19:50 PM - Info nbcs (pid=13999) Taking crash consistent snapshot.
Dec 12, 2023 12:19:50 PM - Info nbcs (pid=13999) Start
Dec 12, 2023 12:19:51 PM - Error nbcs (pid=13999) Failed to create snapshot for asset: aws-ec2-us-east-2-i-xxxxxxxxxxxxxxxxxxxx
Dec 12, 2023 12:19:51 PM - Error nbcs (pid=13999) The missing asset aws-ec2-us-east-2-i-xxxxxxxxxxxxxxxxxxxxx continues to be subscribed to the Protection Plan.
Dec 12, 2023 12:19:51 PM - Info nbcs (pid=13999) End
Dec 12, 2023 12:19:51 PM - Error nbcp (pid=13999) Operation failed. Root Cause Identifier: CLOUD-ALL-2, refer Root Cause report: article.100061269 for more details.
Dec 12, 2023 12:19:51 PM - Error nbcs (pid=13999) Failed to create snapshot for asset: aws-ec2-us-east-2-i-09bf8009857ab0164
Dec 12, 2023 12:19:51 PM - Error nbpem (pid=16798) backup of client aws-ec2-us-east-2-i-xxxxxxxxxxxxxxxxxxxxxx exited with status 156 (snapshot error encountered)
Operation Status: 156
Dec 12, 2023 12:19:51 PM - end Persistent Frozen Image: Create Snapshot; elapsed time 0:00:01
Dec 12, 2023 12:19:51 PM - begin Persistent Frozen Image: Stop On Error
Operation Status: 0
Dec 12, 2023 12:19:51 PM - end Persistent Frozen Image: Stop On Error; elapsed time 0:00:00
Operation Status: 156
Dec 12, 2023 12:19:51 PM - end Child Job; elapsed time 0:00:01
Dec 12, 2023 12:19:51 PM - Info nbjm (pid=16746) Successfully updated preferred configuration ID for Asset: aws-ec2-us-east-2-i-xxxxxxxxxxxxxxxxxxxx
Dec 12, 2023 12:19:51 PM - Info nbjm (pid=16746) Successfully updated last backup status for Asset: aws-ec2-us-east-2-i-xxxxxxxxxxxxxx
snapshot error encountered(156)
In the flexsnap.log file:
d3b9d0f4a30894f848a2b68c686a06882be86b0241fdb41a96a25d3aa42fd939: "2023-12-12T10:18:18.381566021+00:00 Dec 12 10:18:18 flexsnap-coordinator flexsnap-coordinator[8] Thread-9791 flexsnap.coordinator: WARNING - create_snapshot: The missing asset aws-ec2-us-east-2-i-xxxxxxxxxxxxxxxxx continues to be subscribed to the Protection Plan."
d3b9d0f4a30894f848a2b68c686a06882be86b0241fdb41a96a25d3aa42fd939: "2023-12-12T10:18:18.381566021+00:00 Dec 12 10:18:18 flexsnap-coordinator flexsnap-coordinator[8] Thread-9791 flexsnap.connectors.base: ERROR - Request failed unexpectedly"
d3b9d0f4a30894f848a2b68c686a06882be86b0241fdb41a96a25d3aa42fd939: "2023-12-12T10:18:18.381566021+00:00 Traceback (most recent call last):"
d3b9d0f4a30894f848a2b68c686a06882be86b0241fdb41a96a25d3aa42fd939: "2023-12-12T10:18:18.381566021+00:00 File ""/opt/VRTScloudpoint/lib/flexsnap/connectors/base.py"", line 112, in run"
d3b9d0f4a30894f848a2b68c686a06882be86b0241fdb41a96a25d3aa42fd939: "2023-12-12T10:18:18.381566021+00:00 func(self, user_id, **converted_values)"
d3b9d0f4a30894f848a2b68c686a06882be86b0241fdb41a96a25d3aa42fd939: "2023-12-12T10:18:18.381566021+00:00 File ""/opt/VRTScloudpoint/bin/flexsnap-coordinator.py"", line 748, in handle_create_snapshot"
d3b9d0f4a30894f848a2b68c686a06882be86b0241fdb41a96a25d3aa42fd939: "2023-12-12T10:18:18.381566021+00:00 res = svc.coord.create_snapshot(id, snap_params, consistent,"
d3b9d0f4a30894f848a2b68c686a06882be86b0241fdb41a96a25d3aa42fd939: "2023-12-12T10:18:18.381566021+00:00 File ""/opt/VRTScloudpoint/lib/flexsnap/coordinator.py"", line 7937, in create_snapshot"
d3b9d0f4a30894f848a2b68c686a06882be86b0241fdb41a96a25d3aa42fd939: "2023-12-12T10:18:18.381566021+00:00 raise flexsnap.AssetAlreadyDeleted("
d3b9d0f4a30894f848a2b68c686a06882be86b0241fdb41a96a25d3aa42fd939: "2023-12-12T10:18:18.381566021+00:00 flexsnap.AssetAlreadyDeleted: The missing asset aws-ec2-us-east-2-i-xxxxxxxxxxxxxxxxx continues to be subscribed to the Protection Plan."
25a551244dec902adc08e68130784bc15d33e5dde7d8433fedb98a7ef9b7d354: "2023-12-12T10:18:18.386137537+00:00 Dec 12 10:18:18 flexsnap-api-gateway flexsnap-api-gateway[8] MainThread flexsnap.apis.base: ERROR - Error in RMQ response for action: createSnapshot"
25a551244dec902adc08e68130784bc15d33e5dde7d8433fedb98a7ef9b7d354: "2023-12-12T10:18:18.386137537+00:00 Dec 12 10:18:18 flexsnap-api-gateway flexsnap-api-gateway[8] MainThread flexsnap.apis.base: ERROR - Exception: /opt/VRTScloudpoint/lib/flexsnap/coordinator.py:7937, type: flexsnap.AssetAlreadyDeleted"
25a551244dec902adc08e68130784bc15d33e5dde7d8433fedb98a7ef9b7d354: "2023-12-12T10:18:18.386137537+00:00 Dec 12 10:18:18 flexsnap-api-gateway flexsnap-api-gateway[8] MainThread tornado.general: WARNING - 403 POST /cloudpoint/api/v6/assets/aws-ec2-us-east-2-i-xxxxxxxxxxxxxxxxx/snapshots/ (10.89.0.43): The missing asset aws-ec2-us-east-2-i-xxxxxxxxxxxxxxxxx continues to be subscribed to the Protection Plan."
Cause
The asset listed in the error is either missing or has been deleted prior to the attempt to create a snapshot as part of the execution of the Protection plan or Policy.
Solution
Unsubscribe the deleted asset from the Protection Plan or remove the asset from the Policy to avoid further job failures.
Applicable for:
CLOUD-ALL-2