Bug 1431935
| Summary: | Ansible failed at TASK [openshift_logging : Generate Elasticsearch DeploymentConfig], 'es_pvc_pool' is undefined | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Junqi Zhao <juzhao> | ||||
| Component: | Installer | Assignee: | Jeff Cantrill <jcantril> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.5.0 | CC: | aos-bugs, jokerman, mmccomas, pportant | ||||
| Target Milestone: | --- | Keywords: | Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | No Doc Update | |||||
| Doc Text: |
undefined
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-04-12 19:03:51 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1425312, 1431527 | ||||||
| Attachments: |
|
||||||
https://github.com/openshift/openshift-ansible/pull/3651 Please attach your inventory file in future. This issue occurs because the openshift_logging_es_pvc_size is set to 'G' or some other value that does not begin with a number. @Jeff, Tested with your fix, this error does not exist now. We need to have one new rpm package for openshift-ansible-playbooks. openshift-ansible-playbooks version is still:openshift-ansible-playbooks-3.5.32-1.git.0.42cf266.el7.no, the same version as this defect was submitted. Verified with the following versions, this defect is fixed. openshift-ansible-3.5.35-1.git.0.7aa4728.el7.noarch openshift-ansible-playbooks-3.5.35-1.git.0.7aa4728.el7.noarch 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-2017:0903 |
Created attachment 1262773 [details] ansible running log, 'es_pvc_pool' is undefined Description of problem: Deploy logging stacks via ansible, it faild at TASK [openshift_logging : Generate Elasticsearch DeploymentConfig]. This defect blocks all installations now. TASK [openshift_logging : Generate Elasticsearch DeploymentConfig] ************* task path: /usr/share/ansible/openshift-ansible/roles/openshift_logging/tasks/install_elasticsearch.yaml:37 fatal: [ec2-54-165-114-84.compute-1.amazonaws.com]: FAILED! => { "failed": true } MSG: the field 'vars' has an invalid value, which appears to include a variable that is undefined. The error was: 'es_pvc_pool' is undefined The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_logging/tasks/install_elasticsearch.yaml': line 37, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Generate Elasticsearch DeploymentConfig ^ here to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/common/openshift-cluster/openshift_logging.retry Version-Release number of selected component (if applicable): openshift-ansible-3.5.32-1.git.0.42cf266.el7.noarch openshift-ansible-playbooks-3.5.32-1.git.0.42cf266.el7.noarch How reproducible: Always Steps to Reproduce: 1.Deploy logging stacks via ansible. 2.Check the deployment result Actual results: Deployment failed, failed at TASK [openshift_logging : Generate Elasticsearch DeploymentConfig] Expected results: Deployment should be successful Additional info: Ansible running log attached