add rbac replicasets to apps apigroup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
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:
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