This message was deleted.
# general
a
This message was deleted.
a
You upgraded K8s in the Rancher management cluster to 1.26? Yeah, that might break things. We don't support it yet.
h
Yes unfortunately we did. Is there a timeline for 1.26 support?
Or would an upgrade to rancher 2.7.x solve this issue?
a
I can't comment on specific dates for 1.26 support. Rancher 2.7 doesn't support it either. You'll likely need to restore your Rancher instance to a new cluster running a supported version.
h
@agreeable-oil-87482 thanks a lot for your information. Would it be enough to set up a new cluster with a new rancher instance and restore the etcd from my rancher managed cluster? Because I think that would be easier than restore the whole rancher instance.
a
The preferred way is to use the rancher backup operator. A pure etcd backup to a new cluster will probably cause you issues as you'll have new nodes with different IPs etc
h
I tried to restore it to a new cluster with GKE 1.24 and followed the migration guide. But the restore process is logging a lot of errors... What could be wrong here?
Copy code
INFO[2023/06/07 09:27:27] Getting GVR for ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User of resource u-mo773yttt4-view 
ERRO[2023/06/07 09:27:27] Invalid ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User, either of the fields is incorrect: APIVersion or Kind 
ERRO[2023/06/07 09:27:27] Error getting ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User for object u-mo773yttt4-view(of <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterroles): no matches for kind "User" in version "<http://management.cattle.io/v3|management.cattle.io/v3>" 
WARN[2023/06/07 09:27:27] Resource u-mo773yttt4-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterroles has invalid ownerRefs, adding it to restore queue by dropping the ownerRefs 
INFO[2023/06/07 09:27:27] Checking ownerRefs for resource u-t6fh4 of type <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=userattributes 
INFO[2023/06/07 09:27:27] Getting GVR for ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User of resource u-t6fh4 
ERRO[2023/06/07 09:27:27] Invalid ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User, either of the fields is incorrect: APIVersion or Kind 
ERRO[2023/06/07 09:27:27] Error getting ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User for object u-t6fh4(of <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=userattributes): no matches for kind "User" in version "<http://management.cattle.io/v3|management.cattle.io/v3>" 
WARN[2023/06/07 09:27:27] Resource u-t6fh4 of type <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=userattributes has invalid ownerRefs, adding it to restore queue by dropping the ownerRefs 
INFO[2023/06/07 09:27:27] Checking ownerRefs for resource user-lf6zx of type <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=userattributes 
INFO[2023/06/07 09:27:27] Getting GVR for ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User of resource user-lf6zx 
ERRO[2023/06/07 09:27:27] Invalid ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User, either of the fields is incorrect: APIVersion or Kind 
ERRO[2023/06/07 09:27:27] Error getting ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User for object user-lf6zx(of <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=userattributes): no matches for kind "User" in version "<http://management.cattle.io/v3|management.cattle.io/v3>" 
WARN[2023/06/07 09:27:27] Resource user-lf6zx of type <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=userattributes has invalid ownerRefs, adding it to restore queue by dropping the ownerRefs 
INFO[2023/06/07 09:27:27] Checking ownerRefs for resource grb-u-rdgkjlzxrc-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings 
INFO[2023/06/07 09:27:27] Getting GVR for ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User of resource grb-u-rdgkjlzxrc-view 
ERRO[2023/06/07 09:27:27] Invalid ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User, either of the fields is incorrect: APIVersion or Kind 
ERRO[2023/06/07 09:27:27] Error getting ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User for object grb-u-rdgkjlzxrc-view(of <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings): no matches for kind "User" in version "<http://management.cattle.io/v3|management.cattle.io/v3>" 
WARN[2023/06/07 09:27:27] Resource grb-u-rdgkjlzxrc-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings has invalid ownerRefs, adding it to restore queue by dropping the ownerRefs 
INFO[2023/06/07 09:27:27] Checking ownerRefs for resource grb-u-vjiimnibmm-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings 
INFO[2023/06/07 09:27:27] Getting GVR for ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User of resource grb-u-vjiimnibmm-view 
ERRO[2023/06/07 09:27:27] Invalid ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User, either of the fields is incorrect: APIVersion or Kind 
ERRO[2023/06/07 09:27:27] Error getting ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User for object grb-u-vjiimnibmm-view(of <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings): no matches for kind "User" in version "<http://management.cattle.io/v3|management.cattle.io/v3>" 
WARN[2023/06/07 09:27:27] Resource grb-u-vjiimnibmm-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings has invalid ownerRefs, adding it to restore queue by dropping the ownerRefs 
INFO[2023/06/07 09:27:27] Checking ownerRefs for resource grb-u-wtsfz7ti5f-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings 
INFO[2023/06/07 09:27:27] Getting GVR for ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User of resource grb-u-wtsfz7ti5f-view 
ERRO[2023/06/07 09:27:27] Invalid ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User, either of the fields is incorrect: APIVersion or Kind 
ERRO[2023/06/07 09:27:27] Error getting ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User for object grb-u-wtsfz7ti5f-view(of <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings): no matches for kind "User" in version "<http://management.cattle.io/v3|management.cattle.io/v3>" 
WARN[2023/06/07 09:27:27] Resource grb-u-wtsfz7ti5f-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings has invalid ownerRefs, adding it to restore queue by dropping the ownerRefs 
INFO[2023/06/07 09:27:27] Checking ownerRefs for resource cattle-impersonation-u-6zxt525j5o of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings 
INFO[2023/06/07 09:27:27] Getting GVR for ownerRef <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Kind=ClusterRole of resource cattle-impersonation-u-6zxt525j5o 
INFO[2023/06/07 09:27:27] Checking ownerRefs for resource grb-u-b5q9b-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings 
INFO[2023/06/07 09:27:27] Getting GVR for ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User of resource grb-u-b5q9b-view 
ERRO[2023/06/07 09:27:27] Invalid ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User, either of the fields is incorrect: APIVersion or Kind 
ERRO[2023/06/07 09:27:27] Error getting ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User for object grb-u-b5q9b-view(of <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings): no matches for kind "User" in version "<http://management.cattle.io/v3|management.cattle.io/v3>" 
WARN[2023/06/07 09:27:27] Resource grb-u-b5q9b-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings has invalid ownerRefs, adding it to restore queue by dropping the ownerRefs 
INFO[2023/06/07 09:27:27] Checking ownerRefs for resource grb-ffmhn of type <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=globalrolebindings 
INFO[2023/06/07 09:27:27] Getting GVR for ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=GlobalRole of resource grb-ffmhn 
ERRO[2023/06/07 09:27:27] Invalid ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=GlobalRole, either of the fields is incorrect: APIVersion or Kind 
ERRO[2023/06/07 09:27:27] Error getting ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=GlobalRole for object grb-ffmhn(of <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=globalrolebindings): no matches for kind "GlobalRole" in version "<http://management.cattle.io/v3|management.cattle.io/v3>" 
WARN[2023/06/07 09:27:27] Resource grb-ffmhn of type <http://management.cattle.io/v3|management.cattle.io/v3>, Resource=globalrolebindings has invalid ownerRefs, adding it to restore queue by dropping the ownerRefs 
INFO[2023/06/07 09:27:27] Checking ownerRefs for resource grb-u-qz6d7uys6q-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings 
INFO[2023/06/07 09:27:27] Getting GVR for ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User of resource grb-u-qz6d7uys6q-view 
ERRO[2023/06/07 09:27:27] Invalid ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User, either of the fields is incorrect: APIVersion or Kind 
ERRO[2023/06/07 09:27:27] Error getting ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User for object grb-u-qz6d7uys6q-view(of <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings): no matches for kind "User" in version "<http://management.cattle.io/v3|management.cattle.io/v3>" 
WARN[2023/06/07 09:27:27] Resource grb-u-qz6d7uys6q-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings has invalid ownerRefs, adding it to restore queue by dropping the ownerRefs 
INFO[2023/06/07 09:27:27] Checking ownerRefs for resource u-vpepj3iaf6-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterroles 
INFO[2023/06/07 09:27:27] Getting GVR for ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User of resource u-vpepj3iaf6-view 
ERRO[2023/06/07 09:27:27] Invalid ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User, either of the fields is incorrect: APIVersion or Kind 
ERRO[2023/06/07 09:27:27] Error getting ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=User for object u-vpepj3iaf6-view(of <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterroles): no matches for kind "User" in version "<http://management.cattle.io/v3|management.cattle.io/v3>" 
WARN[2023/06/07 09:27:27] Resource u-vpepj3iaf6-view of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterroles has invalid ownerRefs, adding it to restore queue by dropping the ownerRefs 
INFO[2023/06/07 09:27:27] Checking ownerRefs for resource cattle-globalrolebinding-grb-n5pzn of type <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings 
INFO[2023/06/07 09:27:27] Getting GVR for ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=GlobalRoleBinding of resource cattle-globalrolebinding-grb-n5pzn 
ERRO[2023/06/07 09:27:27] Invalid ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=GlobalRoleBinding, either of the fields is incorrect: APIVersion or Kind 
ERRO[2023/06/07 09:27:27] Error getting ownerRef <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=GlobalRoleBinding for object cattle-globalrolebinding-grb-n5pzn(of <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>, Resource=clusterrolebindings): no matches for kind "GlobalRoleBinding" in version "<http://management.cattle.io/v3|management.cattle.io/v3>"