https://rancher.com/ logo
#general
Title
# general
l

loud-lawyer-79863

11/24/2022, 4:00 PM
So I deleted by accident some empty rancher managed namespace on our rancher cluster (so I thought ! but actually super important ns https://github.com/rancher/rancher/issues/33119 ) Trying to restore a backup but it is able to restore everything except what looks like what I deleted ... Anyone ever seen this ?
Copy code
ERRO[2022/11/24 15:38:43] Error restoring resource grb-cn99w of type <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=globalrolebindings: restoreResource: err updating resource <http://GlobalRoleBinding.management.cattle.io|GlobalRoleBinding.management.cattle.io> "grb-cn99w" is invalid: metadata.deletionGracePeriodSeconds: Invalid value: 0: field is immutable 
ERRO[2022/11/24 15:38:45] Error restoring cluster-scoped resources [error restoring grb-lr9qh of type <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=globalrolebindings: restoreResource: err updating resource <http://GlobalRoleBinding.management.cattle.io|GlobalRoleBinding.management.cattle.io> "grb-lr9qh" is invalid: metadata.deletionGracePeriodSeconds: Invalid value: 0: field is immutable error restoring grb-cn99w of type <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=globalrolebindings: restoreResource: err updating resource <http://GlobalRoleBinding.management.cattle.io|GlobalRoleBinding.management.cattle.io> "grb-cn99w" is invalid: metadata.deletionGracePeriodSeconds: Invalid value: 0: field is immutable] 
ERRO[2022/11/24 15:40:03] Error restoring cluster-scoped resources [error restoring grb-lr9qh of type <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=globalrolebindings: restoreResource: err updating resource <http://GlobalRoleBinding.management.cattle.io|GlobalRoleBinding.management.cattle.io> "grb-lr9qh" is invalid: metadata.deletionGracePeriodSeconds: Invalid value: 0: field is immutable error restoring grb-cn99w of type <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=globalrolebindings: restoreResource: err updating resource <http://GlobalRoleBinding.management.cattle.io|GlobalRoleBinding.management.cattle.io> "grb-cn99w" is invalid: metadata.deletionGracePeriodSeconds: Invalid value: 0: field is immutable] 
ERRO[2022/11/24 15:40:03] error syncing 'restore-rzrb6': handler restore: error restoring cluster-scoped resources, check logs for exact error, requeuing
13 Views