-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
False
-
False
-
NEW
-
VERIFIED
-
-
Logging (LogExp) - Sprint 214
Description of problem:
Creating a clusterlogging/instance, set 2 or more namespaces in retentionPolicy.application.namespaceSpec, then check the logs in ES, only the first project's logs are removed per the minAge.
Version-Release number of selected component (if applicable):
elasticsearch-operator.5.4.0-68
How reproducible:
Always
Steps to Reproduce:
1. create some projects to generate logs
2. create cl/instance with:
logStore: elasticsearch: nodeCount: 3 redundancyPolicy: SingleRedundancy resources: requests: cpu: 1 memory: 2Gi storage: size: 20Gi storageClassName: standard retentionPolicy: application: maxAge: 3h namespaceSpec: - minAge: 10m namespace: project-1 - minAge: 20m namespace: project-2 - minAge: 20m namespace: qitang pruneNamespacesInterval: 10m audit: maxAge: 1d infra: maxAge: 3h type: elasticsearch
3. wait for 1 hour, check the logs in app* indices
Actual results:
Only the first project's logs are removed following the minAge, other projects' logs are not removed
Expected results:
Additional info: