** Description changed: Brief Description ----------------- - Need to add replicasets to metricbeat clusterroles to allow collecting state_statefulset metricset. + Metricbeat couldn't collect state_replicaset due to the missing RBAC role definition Severity -------- Provide the severity of the defect. Minor ------------------ - 1. Add state_statefulset to metricbeat kubernetes deployment. - 2. build new sysinv patch. - 3. apply the new patch to the system. - 4. install stx-monitor app. - 5. lunch Kibana and search for state_statefulset and notice the error message: - - Failed to list *v1.StatefulSet: replicasets.apps is forbidden: User "system:serviceaccount:monitor:mon-metricbeat" cannot list resource "replicasets" in API group "apps" at the cluster scope ecs.version:1.1.0 tags:beats_input_codec_plain_applied host.name:controller-1 + 1. Add state_statefulset to metricbeat kubernetes deployment. + 2. build new sysinv patch. + 3. apply the new patch to the system. + 4. install stx-monitor app. + 5. lunch Kibana and notice the error message: + + Failed to list *v1.StatefulSet: replicasets.apps is forbidden: User + "system:serviceaccount:monitor:mon-metricbeat" cannot list resource + "replicasets" in API group "apps" at the cluster scope ecs.version:1.1.0 + tags:beats_input_codec_plain_applied host.name:controller-1 Expected Behavior ---------------- - The system is able to collect state_statefulset metricset successfully. + The system is able to collect state_replicaset metricset successfully. --------------- Intermittent System Configuration -------------------- Two Node, Virtual Box Branch/Pull Time/Commit ----------------------- 2020-01-16_20-00-00 Logs --- - See the output in Kibana when searching for state_statefulset + See the output in Kibana when searching for state_replicaset Test Activity ------------- Regression Testing, Developer Testing
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to totem in Ubuntu. https://bugs.launchpad.net/bugs/1860532 Title: add rbac replicasets to apps apigroup Status in totem package in Ubuntu: New Bug description: Brief Description ----------------- Metricbeat couldn't collect state_replicaset due to the missing RBAC role definition Severity -------- Provide the severity of the defect. Minor ------------------ 1. Add state_statefulset to metricbeat kubernetes deployment. 2. build new sysinv patch. 3. apply the new patch to the system. 4. install stx-monitor app. 5. lunch Kibana and notice the error message: Failed to list *v1.StatefulSet: replicasets.apps is forbidden: User "system:serviceaccount:monitor:mon-metricbeat" cannot list resource "replicasets" in API group "apps" at the cluster scope ecs.version:1.1.0 tags:beats_input_codec_plain_applied host.name:controller-1 Expected Behavior ---------------- The system is able to collect state_replicaset metricset successfully. --------------- Intermittent System Configuration -------------------- Two Node, Virtual Box Branch/Pull Time/Commit ----------------------- 2020-01-16_20-00-00 Logs --- See the output in Kibana when searching for state_replicaset Test Activity ------------- Regression Testing, Developer Testing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1860532/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp