cluster-operator icon indicating copy to clipboard operation
cluster-operator copied to clipboard

storageos operator missing pods/log permission

Open esara opened this issue 6 years ago • 0 comments

$ kubectl logs -f storageos-cluster-operator-598bbc4d79-k66qj -n storageos-operator 2019-09-07T02:46:03.279Z INFO storageos.job Creating a new DaemonSet {"Request.Namespace": "default", "Request.Name": "storageos-job"} 2019-09-07T02:46:03.342Z DEBUG kubebuilder.controller Successfully Reconciled {"controller": "job-controller", "request": "default/storageos-job"} 2019-09-07T02:46:03.478Z INFO storageos.job No DaemonSets found 2019-09-07T02:46:03.889Z INFO storageos.job Failed to get logs from pod {"pod": "storageos-job-daemonset-job-7876t", "error": "pods "storageos-job-daemonset-job-7876t" is forbidden: User "system:serviceaccount:storageos-operator:storageoscluster-operator-sa" cannot get resource "pods/log" in API group "" in the namespace "default""} 2019-09-07T02:46:03.891Z INFO storageos.job Failed to get logs from pod {"pod": "storageos-job-daemonset-job-lswzv", "error": "pods "storageos-job-daemonset-job-lswzv" is forbidden: User "system:serviceaccount:storageos-operator:storageoscluster-operator-sa" cannot get resource "pods/log" in API group "" in the namespace "default""} 2019-09-07T02:46:03.892Z INFO storageos.job Failed to get logs from pod {"pod": "storageos-job-daemonset-job-p4wvl", "error": "pods "storageos-job-daemonset-job-p4wvl" is forbidden: User "system:serviceaccount:storageos-operator:storageoscluster-operator-sa" cannot get resource "pods/log" in API group "" in the namespace "default""}

esara avatar Sep 07 '19 02:09 esara