Bug 1262387
Summary: | Logic around creating datacenters and clusters seems broken | ||
---|---|---|---|
Product: | Red Hat Quickstart Cloud Installer | Reporter: | Matt Reid <mreid> |
Component: | Installation - RHEV | Assignee: | Fabian von Feilitzsch <fabian> |
Status: | CLOSED ERRATA | QA Contact: | Tasos Papaioannou <tpapaioa> |
Severity: | medium | Docs Contact: | Dan Macpherson <dmacpher> |
Priority: | unspecified | ||
Version: | 1.0 | CC: | apagac, bthurber, jmatthew, smallamp, tpapaioa |
Target Milestone: | ga | Keywords: | Triaged |
Target Release: | 1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-13 16:21:56 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: | 1342594 |
Description
Matt Reid
2015-09-11 14:01:02 UTC
If you rename the datacenter you must rename the cluster as well. We simply need to enforce this. From what I could see the default cluster is tied to the default datacenter and can't be moved. This is still a problem in compose RHCI-6.0-RHEL-7-20151104.t.0. I can submit a deployment with database and cluster name set to "Default " (trailing space). The deployment then fails when the RHEV task is at 95.8%, with "Error undefined method `[]' for nil:NilClass". If I try to enter a name like "Default 1", then I get the expected warning text "must contain only 'A-Z', 'a-z', '0-9', '_' or '-' characters" and the Next button is disabled. I can also enter database and cluster names with leading spaces, so it looks like we need to add a check for leading and trailing spaces. I can't replicate this in the development environment, I think this commit by cchase fixed it: https://github.com/fusor/fusor/commit/903cf2d986fe8396ae4f778c0e5c03721ac347b1 When I add a space to the beginning/end of the cluster or data center name, I get the validation error "must contain only 'A-Z', 'a-z', '0-9', '_' or '-' characters". Please re-test, we think this is now addressed. Verified on QCI-1.2-RHEL-7-20160705.t.1. 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/RHEA-2016:1862 |