Bug 1666956
Summary: | inconsistent cluster name requirement between installer and terraform | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | liujia <jiajliu> |
Component: | Installer | Assignee: | W. Trevor King <wking> |
Installer sub component: | openshift-installer | QA Contact: | liujia <jiajliu> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | low | ||
Priority: | low | CC: | aabhishe, crawford, wking |
Version: | 4.1.0 | ||
Target Milestone: | --- | ||
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: |
undefined
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-04 10:42:02 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
liujia
2019-01-17 05:20:11 UTC
I've filed [1] to fix this. Or at least get through Terraform. I'm not sure how the rest of the components will handle cluster names with dots in them, but I guess we'll see in CI. [1]: https://github.com/openshift/installer/pull/1089 I'm setting this as "No Doc Update", since we're still in pre-release. *** Bug 1669154 has been marked as a duplicate of this bug. *** Version: # ./openshift-install version ./openshift-install v0.11.0 Steps: 1. Provide required info ? SSH Public Key /root/.ssh/ssh.pub ? Platform aws ? Region us-east-2 ? Base Domain qe.devcluster.openshift.com ? Cluster Name jliu-beta1.test20190129 ? Pull Secret [? for help] 2. Try to create cluster with cluster name set to jliu-beta1.test20190129 INFO Creating cluster... ERROR ERROR Error: module.vpc.aws_lb.api_external: only alphanumeric characters and hyphens allowed in "name": "jliu-beta1.test20190129-ext" ERROR ERROR ERROR ERROR Error: module.vpc.aws_lb.api_internal: only alphanumeric characters and hyphens allowed in "name": "jliu-beta1.test20190129-int" ERROR ERROR ERROR ERROR Error: module.vpc.aws_lb_target_group.api_external: only alphanumeric characters and hyphens allowed in "name" ERROR ERROR ERROR ERROR Error: module.vpc.aws_lb_target_group.api_internal: only alphanumeric characters and hyphens allowed in "name" ERROR ERROR ERROR ERROR Error: module.vpc.aws_lb_target_group.services: only alphanumeric characters and hyphens allowed in "name" ERROR ERROR ERROR Failed to read tfstate: open /tmp/openshift-install-145497610/terraform.tfstate: no such file or directory FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply using Terraform Still get the same error. I noticed #pr1089 was open status. So move the bug status back to wait for the pr merged. Should have been fixed by the recently-landed https://github.com/openshift/installer/pull/1280 And 0.13.0 is out with the fix [1]. [1]: https://github.com/openshift/installer/releases/tag/v0.13.0 This has been MODIFIED for over a month; I'm moving it to ON_QA ;). Version: # ./openshift-install version ./openshift-install v0.16.1 Steps: 1. Provide required info ? SSH Public Key /root/.ssh/ssh.pub ? Platform aws ? Region us-east-2 ? Base Domain qe.devcluster.openshift.com ? Cluster Name jliu-beta1.test20190129 ? Pull Secret [? for help] 2. Try to create cluster with cluster name set to jliu-beta1.test20190129 The cluster was created successfully. Login the web-console https://console-openshift-console.apps.jliu-beta1.test20190129.xxx successfully. 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-2019:0758 |