[BUG] It is nonstop syncing a roletemplate with a clusterrole #45517
Labels
area/rbac
kind/bug
Issues that are defects reported by users or that we know have reached a real release
priority/0
team/collie
the team that is responsible for auth and rbac within rancher
Milestone
Rancher Server Setup
Issue description:
It's nonstop syncing a roletemplate with a clusterrole that are seemingly the same and have the same 'rules:' section.
Business impact:
A lot of logs
Troubleshooting steps:
We compare the rules between the two roles and confirmed that they are same. But, we are seeing this in the logs
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr).
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr).
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr).
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr).
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr).
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr).
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr).
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr).
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:43 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr).
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:44 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:44 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:44 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr).
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:44 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr).
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:44 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:44 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr).
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:44 [INFO] [mgmt-auth-crtb-controller] Updating role rt-4wcnr in namespace c-xkcxk
rancher-74f4d76887-nw9fm rancher 2023/08/26 01:37:44 [INFO] Updating role rt-4wcnr in c-xkcxk because of rules difference with roleTemplate QL-ClusterAdmin (rt-4wcnr)
Actual behavior:
It is comparing the rules when the 2 roles are the same
Expected behavior:
Not comparison
SURE-6824
The text was updated successfully, but these errors were encountered: