add rbac replicasets to apps apigroup

Bug #1860532 reported by abdelfattah saafan
8
This bug affects 1 person
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: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

description: updated
affects: totem (Ubuntu) → ubuntu
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.