Bug 1357984
Summary: | Wrong error message when using openshift ansible playbook | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Vikas Laad <vlaad> |
Component: | Installer | Assignee: | Andrew Butcher <abutcher> |
Status: | CLOSED ERRATA | QA Contact: | Gaoyun Pei <gpei> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.3.0 | CC: | abutcher, aos-bugs, gpei, jialiu, jokerman, mmccomas, tdawson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previously, installation would fail with an unrelated error message when openshift_hosted_registry_storage_kind=nfs was specified in the inventory but no nfs hosts were configured via openshift_hosted_registry_storage_host or the nfs host group. Playbooks now output an error message indicating that no storage hosts have been configured.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-27 09:41:05 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
Vikas Laad
2016-07-19 18:11:06 UTC
This has been merged and is in openshift-ansible-3.3.5-1.git.0.af6025b.el7 or newer. Verify this bug with openshift-ansible-3.3.6-1.git.0.5c681f6.el7.noarch.rpm Set openshift_hosted_registry_storage_kind=nfs in the inventory, bu no openshift_hosted_registry_storage_host and [nfs] group host specified. Run the playbook, ansible would fail and prompt no storage host detected. PLAY [Create persistent volumes] *********************************************** TASK [setup] ******************************************************************* ok: [openshift-x.com] TASK [openshift_facts : Detecting Operating System] **************************** fatal: [openshift-x.com]: FAILED! => {"failed": true, "msg": "The conditional check 'persistent_volumes | length > 0 or persistent_volume_claims | length > 0' failed. The error was: {{ hostvars[groups.oo_first_master.0] | oo_persistent_volumes(groups) }}: |failed no storage host detected"} 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-2016:1933 |