Bug 1580256
| Summary: | Failed to build AMI because clusterid is not set | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Wenkai Shi <weshi> |
| Component: | Installer | Assignee: | Chris Callegari <ccallega> |
| Status: | CLOSED ERRATA | QA Contact: | sheng.lao <shlao> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.10.0 | CC: | aos-bugs, bleanhar, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | 3.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Release Note | |
| Doc Text: |
Added openshift_clusterid override to example inventory in AWS README
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-11 07:20:00 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
Wenkai Shi
2018-05-21 06:02:19 UTC
1. Test result: Failed 2. Environment: #git describe openshift-ansible-3.11.0-0.11.0-106-gc01e5ef 3. Analysis: 1) find all references from the repo, with command: # grep -r openshift_clusterid 2) I can't find any code to define the variable of openshift_clusterid 3) but, when i reading this tip from the error message,I think this variable, openshift_clusterid, must be set with the cloudprovider. But we don't have a document to declare it, then will lead the customers to the wrong place. https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_sanitize_inventory/tasks/main.yml#L35 The correct key is called openshift_aws_clusterid. Please make sure the key and value exist in your extra_vars file. I ask my companion,he says that the 'clusterid', in title, it comes from the output message of ansible play-book: TASK [openshift_sanitize_inventory : Ensure clusterid is set along with the cloudprovider] So it's clear now. He filed this bug, because the word 'clusterid', in that ansible message, is confusing, and there is no sentence to declare: what is 'clusterid', in this document: https://github.com/openshift/openshift-ansible/tree/master/playbooks/aws So, please, update the document to clarify the openshift_clusterid. Thanks! openshift_clusterid added to README example https://github.com/openshift/openshift-ansible/pull/9635 fixed at: openshift-ansible-3.11.0-0.19.0-2-g0e60053 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:2652 |