Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ oc exec $(oc get pods -n openshift-migration -o name | grep velero) -n openshift-migration -- ./velero restore describe ccc7c2d0-6017-11eb-afab-85d0007f5a19-x4lbf
Name: ccc7c2d0-6017-11eb-afab-85d0007f5a19-x4lbf
Namespace: openshift-migration
Labels: app.kubernetes.io/part-of=openshift-migration
migmigration=31a0f7ab-6550-4ded-89a8-1584c2e5b7e7
migration-final-restore=31a0f7ab-6550-4ded-89a8-1584c2e5b7e7
migration.openshift.io/migmigration-name=ccc7c2d0-6017-11eb-afab-85d0007f5a19
migration.openshift.io/migplan-name=gvktest
migration.openshift.io/migrated-by-migmigration=31a0f7ab-6550-4ded-89a8-1584c2e5b7e7
migration.openshift.io/migrated-by-migplan=638536d3-f09c-4e44-955f-907efe1e17bf
Annotations: migration.openshift.io/migmigration-type=final
Phase: PartiallyFailed (run 'velero restore logs ccc7c2d0-6017-11eb-afab-85d0007f5a19-x4lbf' for more information)
Started: 2021-01-26 20:48:35 +0000 UTC
Completed: 2021-01-26 20:48:38 +0000 UTC
Warnings:
Velero: <none>
Cluster: could not restore, customresourcedefinitions.apiextensions.k8s.io "gvkdemoes.konveyor.openshift.io" already exists. Warning: the in-cluster version is different than the backed-up version.
Namespaces:
gvk-demo: could not restore, rolebindings.authorization.openshift.io "system:deployers" already exists. Warning: the in-cluster version is different than the backed-up version.
could not restore, rolebindings.authorization.openshift.io "system:image-builders" already exists. Warning: the in-cluster version is different than the backed-up version.
could not restore, rolebindings.authorization.openshift.io "system:image-pullers" already exists. Warning: the in-cluster version is different than the backed-up version.
could not restore, rolebindings.rbac.authorization.k8s.io "system:deployers" already exists. Warning: the in-cluster version is different than the backed-up version.
could not restore, rolebindings.rbac.authorization.k8s.io "system:image-builders" already exists. Warning: the in-cluster version is different than the backed-up version.
could not restore, rolebindings.rbac.authorization.k8s.io "system:image-pullers" already exists. Warning: the in-cluster version is different than the backed-up version.
Errors:
Velero: <none>
Cluster: <none>
Namespaces:
gvk-demo: error restoring gvkdemoes.konveyor.openshift.io/gvk-demo/gvk-demo: the server could not find the requested resource
Backup: ccc7c2d0-6017-11eb-afab-85d0007f5a19-r8bzk
Namespaces:
Included: all namespaces found in the backup
Excluded: <none>
Resources:
Included: *
Excluded: nodes, events, events.events.k8s.io, backups.velero.io, restores.velero.io, resticrepositories.velero.io
Cluster-scoped: auto
Namespace mappings: <none>
Label selector: <none>
Restore PVs: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment