kubeservice-stack / OpsCenter

Observability stack: include metrics, logging, tracing monitoring and alerting!
4 stars 2 forks source link

cannot update resource alertmanagers/status subresource #30

Closed dongjiang1989 closed 1 year ago

dongjiang1989 commented 1 year ago

/kind bug

prometheus-operator error

level=error ts=2023-07-27T06:43:36.392082175Z caller=klog.go:116 component=k8s_client_runtime func=ErrorDepth msg="status \"monitoring/metrics-kube-prometheus-st-alertmanager\" failed: failed to update status subresource: alertmanagers.monitoring.coreos.com \"metrics-kube-prometheus-st-alertmanager\" is forbidden: User \"system:serviceaccount:monitoring:metrics-kube-prometheus-st-operator\" cannot update resource \"alertmanagers/status\" in API group \"monitoring.coreos.com\" in the namespace \"monitoring\""
level=info ts=2023-07-27T07:00:16.392549097Z caller=operator.go:787 component=alertmanageroperator key=monitoring/metrics-kube-prometheus-st-alertmanager msg="update alertmanager status"
level=error ts=2023-07-27T07:00:16.403187037Z caller=klog.go:116 component=k8s_client_runtime func=ErrorDepth msg="status \"monitoring/metrics-kube-prometheus-st-alertmanager\" failed: failed to update status subresource: alertmanagers.monitoring.coreos.com \"metrics-kube-prometheus-st-alertmanager\" is forbidden: User \"system:serviceaccount:monitoring:metrics-kube-prometheus-st-operator\" cannot update resource \"alertmanagers/status\" in API group \"monitoring.coreos.com\" in the namespace \"monitoring\""
level=info ts=2023-07-27T07:16:56.404154014Z caller=operator.go:787 component=alertmanageroperator key=monitoring/metrics-kube-prometheus-st-alertmanager msg="update alertmanager status"
level=error ts=2023-07-27T07:16:56.416188525Z caller=klog.go:116 component=k8s_client_runtime func=ErrorDepth msg="status \"monitoring/metrics-kube-prometheus-st-alertmanager\" failed: failed to update status subresource: alertmanagers.monitoring.coreos.com \"metrics-kube-prometheus-st-alertmanager\" is forbidden: User \"system:serviceaccount:monitoring:metrics-kube-prometheus-st-operator\" cannot update resource \"alertmanagers/status\" in API group \"monitoring.coreos.com\" in the namespace \"monitoring\""
level=info ts=2023-07-27T07:33:36.416721053Z caller=operator.go:787 component=alertmanageroperator key=monitoring/metrics-kube-prometheus-st-alertmanager msg="update alertmanager status"
level=error ts=2023-07-27T07:33:36.427192479Z caller=klog.go:116 component=k8s_client_runtime func=ErrorDepth msg="status \"monitoring/metrics-kube-prometheus-st-alertmanager\" failed: failed to update status subresource: alertmanagers.monitoring.coreos.com \"metrics-kube-prometheus-st-alertmanager\" is forbidden: User \"system:serviceaccount:monitoring:metrics-kube-prometheus-st-operator\" cannot update resource \"alertmanagers/status\" in API group \"monitoring.coreos.com\" in the namespace \"monitoring\""
level=info ts=2023-07-27T07:50:16.427899647Z caller=operator.go:787 component=alertmanageroperator key=monitoring/metrics-kube-prometheus-st-alertmanager msg="update alertmanager status"
level=error ts=2023-07-27T07:50:16.439044001Z caller=klog.go:116 component=k8s_client_runtime func=ErrorDepth msg="status \"monitoring/metrics-kube-prometheus-st-alertmanager\" failed: failed to update status subresource: alertmanagers.monitoring.coreos.com \"metrics-kube-prometheus-st-alertmanager\" is forbidden: User \"system:serviceaccount:monitoring:metrics-kube-prometheus-st-operator\" cannot update resource \"alertmanagers/status\" in API group \"monitoring.coreos.com\" in the namespace \"monitoring\""
level=info ts=2023-07-27T08:06:56.440389234Z caller=operator.go:787 component=alertmanageroperator key=monitoring/metrics-kube-prometheus-st-alertmanager msg="update alertmanager status"
level=error ts=2023-07-27T08:06:56.455442843Z caller=klog.go:116 component=k8s_client_runtime func=ErrorDepth msg="status \"monitoring/metrics-kube-prometheus-st-alertmanager\" failed: failed to update status subresource: alertmanagers.monitoring.coreos.com \"metrics-kube-prometheus-st-alertmanager\" is forbidden: User \"system:serviceaccount:monitoring:metrics-kube-prometheus-st-operator\" cannot update resource \"alertmanagers/status\" in API group \"monitoring.coreos.com\" in the namespace \"monitoring\""
level=info ts=2023-07-27T08:23:36.455658447Z caller=operator.go:787 component=alertmanageroperator key=monitoring/metrics-kube-prometheus-st-alertmanager msg="update alertmanager status"
dongjiang1989 commented 1 year ago

@imlense PTAL