2020-01-22 15:06:39 |
abdelfattah saafan |
description |
Brief Description
-----------------
Need to add replicasets to metricbeat clusterroles to allow collecting state_statefulset metricset.
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
Expected Behavior
----------------
The system is able to collect state_statefulset 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
Test Activity
-------------
Regression Testing, Developer Testing |
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 |
|