| Summary: | [ocp-on-osp] Stack failed when using the suffix "_" with stack name | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Gan Huang <ghuang> |
| Component: | Installer | Assignee: | Jan Provaznik <jprovazn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Gan Huang <ghuang> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.3.0 | CC: | aos-bugs, jokerman, jprovazn, mmccomas |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-20 08:38:50 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: | |
|
Description
Gan Huang
2016-10-17 05:23:15 UTC
stackname is used as part of instance hostnames, '_' is not a valid hostname character. We can add a heat stack validation constraint to check for '[a-z0-9-]' characters only. Waiting for v0.9.4 which should include this fix. Fixed in 0.9.4 (sorry for confusion, it was switched from MODIFIED to ON_QA automatically) Verified with 0.9.4 1. Stack name with "_" $ heat stack-create ghuang-auto_1 -t 10800 -e ocp.yaml -f /usr/share/openshift-on-openstack/openshift.yaml ERROR: Property error: : resources.bastion_host.properties.hostname: : Hostname must contain only characters [a-z0-9\-]. 2. lb_hostname with "_" $ heat stack-create ghuang-test1 -t 10800 -e ocp.yaml -f /usr/share/openshift-on-openstack/openshift.yaml ERROR: Property error: : resources.loadbalancer.properties.hostname: : Hostname must contain only characters [a-z0-9\-]. |