PowerProtect Data Manager: Unable to Restore Namespace Using Velero as imagestreamtags.image.openshift.io is Not Found
Summary: Unable to restore namespace using Velero as imagestreamtags.image.openshift.io is not found.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
- Restore to the original namespace works without errors.
- Restore to a new namespace receives errors as seen in the following example:
api.battlecloud.metaage.demo.com.tw.controller.log: 2023-08-31T03:22:35.362Z INFO: [b72459c5b0190a7c;881dc818092a6c36] RestoreJob: battlecloud-demo: RestoreVeleroNamespaceTask: time="2023-08-31T03:22:32Z" level=info msg="Resource 'imagestreamtags.image.openshift.io' will be restored into namespace 'battlecloud-demo20230831'" logSource="/remote-source/velero/app/pkg/restore/restore.go:1920" restore=velero-ppdm/c33a9fdf-ea99-570a-97b1-a43e0ac5d379-2023-08-31-11-20-43-battlecloud-demo20230831 .... api.battlecloud.metaage.demo.com.tw.controller.log: 2023-08-31T03:22:35.363Z INFO: [b72459c5b0190a7c;881dc818092a6c36] RestoreJob: battlecloud-demo: RestoreVeleroNamespaceTask: time="2023-08-31T03:22:33Z" level=info msg="Executing item action for imagestreamtags.image.openshift.io" logSource="/remote-source/velero/app/pkg/restore/restore.go:1153" restore=velero-ppdm/c33a9fdf-ea99-570a-97b1-a43e0ac5d379-2023-08-31-11-20-43-battlecloud-demo20230831 ... api.battlecloud.metaage.demo.com.tw.controller.log: 2023-08-31T03:22:35.363Z ERROR: [b72459c5b0190a7c;881dc818092a6c36] RestoreJob: battlecloud-demo: RestoreVeleroNamespaceTask: time="2023-08-31T03:22:34Z" level=error msg="Namespace battlecloud-demo20230831, resource restore error: imagestreamtags.image.openshift.io \"battle-demo-with-pvc:latest\" not found" logSource="/remote-source/velero/app/pkg/controller/restore_controller.go:510" restore=velero-ppdm/c33a9fdf-ea99-570a-97b1-a43e0ac5d379-2023-08-31-11-20-43-battlecloud-demo20230831 api.battlecloud.metaage.demo.com.tw.controller.log: 2023-08-31T03:22:35.363Z ERROR: [b72459c5b0190a7c;881dc818092a6c36] RestoreJob: battlecloud-demo: RestoreVeleroNamespaceTask: time="2023-08-31T03:22:33Z" level=error msg="Error retrieving cluster version of battlecloud-demo20230831/battle-demo:latest: imagestreamtags.image.openshift.io \"battle-demo:latest\" not found" logSource="/remote-source/velero/app/pkg/restore/restore.go:1285" restore=velero-ppdm/c33a9fdf-ea99-570a-97b1-a43e0ac5d379-2023-08-31-11-20-43-battlecloud-demo20230831 api.battlecloud.metaage.demo.com.tw.controller.log: 2023-08-31T03:22:35.363Z ERROR: [b72459c5b0190a7c;881dc818092a6c36] RestoreJob: battlecloud-demo: RestoreVeleroNamespaceTask: time="2023-08-31T03:22:34Z" level=error msg="Namespace battlecloud-demo20230831, resource restore error: imagestreamtags.image.openshift.io \"battle-demo-with-pvc:latest\" not found" logSource="/remote-source/velero/app/pkg/controller/restore_controller.go:510" restore=velero-ppdm/c33a9fdf-ea99-570a-97b1-a43e0ac5d379-2023-08-31-11-20-43-battlecloud-demo20230831
- Restore to an existing namespace gets the same error as above, but the
imagestreamtagswas restored to the namespace, and a second attempt of restore succeeds.
Cause
Investigation with the Red Hat Velero team and image registry team found the following:
The
The
imagestreamtags API can be problematic during restore where the API allows imagestreamtags to be created. This is even though the associated images are missing. A subsequent GET request may fail because GET requires the image to be present.Resolution
Workaround for PowerProtect Data Manager user:
- Perform the restore to an existing namespace, instead of a new namespace.
Although PowerProtect Data Manager reported that the first restore failed, Velero restored all the resources in the namespace.
OpenShift automatically syncs up the
imagestreamtags and the associated images.
- A second restore completes successfully.
Affected Products
PowerProtect Data ManagerArticle Properties
Article Number: 000218951
Article Type: Solution
Last Modified: 22 Jan 2026
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.