Bug 1538995
Summary: | Logging Elasticsearch Volume does not get configured in the Elasticsearch Deployment Config | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Wolfgang Kulhanek <wkulhane> |
Component: | Installer | Assignee: | ewolinet |
Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.7.0 | CC: | aos-bugs, dmoessne, gucore, jokerman, mmccomas |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | 3.9.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: When determining if a PVC should be created for elasticsearch, we were using a legacy variable.
Consequence: We did not correctly evaluate if a PVC was necessary when creating a NFS backed pv.
Fix: Updated to use the newer variable name.
Result: We correctly evaluate if a PVC is necessary
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-28 14:23:11 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
Wolfgang Kulhanek
2018-01-26 10:50:42 UTC
after different tests, i found a workaround. This set of variables works with 3.7.23: openshift_logging_install_logging=True openshift_hosted_logging_deploy=True openshift_hosted_logging_storage_kind=nfs openshift_hosted_logging_storage_nfs_directory=/srv/nfs openshift_hosted_logging_storage_nfs_options='*(rw,root_squash)' openshift_hosted_logging_storage_volume_size=10Gi openshift_hosted_logging_storage_labels={'storage': 'logging'} openshift_logging_es_pvc_storage_class_name='' openshift_hosted_logging_storage_access_modes=['ReadWriteOnce'] openshift_hosted_logging_storage_volume_name=logging # openshift_logging_kibana_hostname=kibana.apps.testgucore.openshift.opentlc.com openshift_logging_es_cluster_size=1 openshift_logging_es_nodeselector={"env":"infra"} openshift_logging_kibana_nodeselector={"env":"infra"} openshift_logging_curator_nodeselector={"env":"infra"} Some are deprecated but NFS PVC for logging is created. We shouldn't need to be setting legacy variables in 3.7, Eric can you take a look at the vars described in comment 0 and comment 1 to see what's missing? Looks like we're doing a comparison with the legacy variable name when it comes to checking if someone is using 'nfs'. Not sure how that was missed before... quick fix that i'll add onto another fix in the same space Verified and pass using openshift-ansible-3.9.1-1.git.0.9862628.el7.noarch. Note that openshift_logging_storage_x variables can only be used for deploy logging alone side with cluster deploy. openshift_logging_storage_kind=nfs openshift_logging_storage_access_modes=['ReadWriteOnce'] openshift_logging_storage_nfs_directory=/srv/nfs openshift_logging_storage_nfs_options='*(rw,root_squash)' openshift_logging_storage_volume_name=logging-es openshift_logging_storage_volume_size=10Gi openshift_logging_storage_labels={'storage': 'logging'} Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0489 |