Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1519814

Summary: Non-default indexes are being removed from kibana
Product: OpenShift Container Platform Reporter: Lukas Svaty <lsvaty>
Component: LoggingAssignee: Lukas Vlcek <lvlcek>
Status: CLOSED DEFERRED QA Contact: Anping Li <anli>
Severity: low Docs Contact:
Priority: high    
Version: 3.6.1CC: aos-bugs, rmeggins
Target Milestone: ---   
Target Release: 3.9.z   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-20 18:56:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Svaty 2017-12-01 13:46:07 UTC
Description of problem:
Once elasticsearch gets first samples, it will create a daily index.
However, this index is successfully added to kibana. This is true only for first 2 namespaces, others are being periodically removed from kibana.


oc exec -c elasticsearch logging-es-data-master-nqtljwo8-2-ppb0k -- indices

shows all the indices that have samples correctly.


Version-Release number of selected component (if applicable):
openshift-ansible-callback-plugins-3.6.173.0.75-1.git.0.0a44128.el7.noarch
openshift-ansible-3.6.173.0.75-1.git.0.0a44128.el7.noarch
openshift-ansible-filter-plugins-3.6.173.0.75-1.git.0.0a44128.el7.noarch
openshift-ansible-playbooks-3.6.173.0.75-1.git.0.0a44128.el7.noarch
openshift-ansible-lookup-plugins-3.6.173.0.75-1.git.0.0a44128.el7.noarch
openshift-ansible-docs-3.6.173.0.75-1.git.0.0a44128.el7.noarch
openshift-ansible-roles-3.6.173.0.75-1.git.0.0a44128.el7.noarch


How reproducible:
1/1 can provide environment

Steps to Reproduce:
1. Add 6 namespaces to vars.yaml
openshift_logging_mux_namespaces:
    - "ovirt-metrics-test-engine"
    - "ovirt-logs-test-engine"
    - "ovirt-metrics-test-engine2"
    - "ovirt-logs-test-engine2"
    - "ovirt-metrics-test-engine3"
    - "ovirt-logs-test-engine3"

2. Deploy Viaq with these namespaces
3. Configure ovirt engine metrics to use index test-engine3
4. Connect engine to it
5. In kibana index is not visible
6. Add index manually in kibana -> Settings -> indices
7. After some time ~30min, index is removed from kibana

Actual results:
Index not available in kibana, after adding it manually it is being removed.

Expected results:

Indices for all namespaces should be pre-created in kibana on first samples that get to elasticsearch causing it to create es daily index.

Additional info:
-> irc: lsvaty

Comment 2 Stephen Cuppett 2019-11-20 18:56:40 UTC
OCP 3.6-3.10 is no longer on full support [1]. Marking CLOSED DEFERRED. If you have a customer case with a support exception or have reproduced on 3.11+, please reopen and include those details. When reopening, please set the Target Release to the appropriate version where needed.

[1]: https://access.redhat.com/support/policy/updates/openshift