Bug 1586366
| Summary: | openshift_cloudprovider_kind is undefined if vsphere cloudprovider is enabled | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Gan Huang <ghuang> |
| Component: | Installer | Assignee: | Russell Teague <rteague> |
| Status: | CLOSED ERRATA | QA Contact: | Gan Huang <ghuang> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.10.0 | CC: | aos-bugs, jokerman, mmccomas |
| Target Milestone: | --- | Keywords: | TestBlocker |
| Target Release: | 3.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Any task files which are dynamically included must use include_tasks instead of import_tasks due to the dynamic nature of the include.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-30 19:17:19 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: | 1548163, 1572873 | ||
This is blocking the test with Vsphere cloudprovider. Commits pushed to master at https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansible/commit/d9a49a450747759891c6cb5f6d8412cdb92dabb6 Bug 1586366 - Use include_tasks for dynamic task file includes Any task files which are dynamically included must use include_tasks instead of import_tasks due to the dynamic nature of the include. https://github.com/openshift/openshift-ansible/commit/a76d50eb57e920e0521ce6ae19cb3bf0bcb69682 Merge pull request #8654 from mtnbikenc/fix-1586366 Bug 1586366 - Use include_tasks for dynamic task file includes Verified in openshift-ansible-3.10.0-0.63.0.git.0.961c60d.el7.noarch.rpm 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:1816 |
Description of problem: If enabling vsphere cloudprivider, installer failed at: TASK [openshift_cloud_provider : include the defined cloud provider files] ***** task path: /home/slave2/workspace/Run-Ansible-Playbooks-Nextge/private-openshift-ansible/roles/openshift_cloud_provider/tasks/main.yml:13 fatal: [qe-ghuang-master-etcd-nfs-1.0605-l37.qe.rhcloud.com]: FAILED! => { "failed": true, "reason": "'openshift_cloudprovider_kind' is undefined" } fatal: [qe-ghuang-node-registry-router-1.0605-l37.qe.rhcloud.com]: FAILED! => { "failed": true, "reason": "'openshift_cloudprovider_kind' is undefined" Version-Release number of the following components: openshift-ansible-3.10.0-0.60.0.git.0.bf95bf8.el7.noarch.rpm ansible-2.4.4.0-1.el7ae.noarch How reproducible: always Steps to Reproduce: 1. Trigger installation against Vsphere with cloudprovider enabled Actual results: Error out: "'openshift_cloudprovider_kind' is undefined" Expected results: Additional info: Please attach logs from ansible-playbook with the -vvv flag