Bug 1261653
Summary: | Deployment with a space in the name fails during RHEV deployment | ||
---|---|---|---|
Product: | Red Hat Quickstart Cloud Installer | Reporter: | Matt Reid <mreid> |
Component: | Installation - RHEV | Assignee: | Erik Nelson <ernelson> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dave Johnson <dajohnso> |
Severity: | unspecified | Docs Contact: | Dan Macpherson <dmacpher> |
Priority: | unspecified | ||
Version: | 1.0 | CC: | apagac, arubin, bthurber, ernelson, jesusr, jmatthew, jmontleo, nperic |
Target Milestone: | TP2 | 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-10-03 18:59:45 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: | 1278053, 1291836 |
Description
Matt Reid
2015-09-09 21:01:13 UTC
Plan is to update fusor_server so when it calls out to external scripts it quotes the parameters correctly to handle spaces An exclamation point in the name was fine, but a single quote forced a failed deployment as well. I saw a similar error due to a '+' in the deployment name. My one was: ovirtsdk.infrastructure.errors.RequestError: status: 400 reason: Bad Request detail: Can not add VM. The given name contains special characters. Only lower-case and upper-case letters, numbers, '_', '-', '.' are allowed. [E] Error running command: /usr/share/fusor_ovirt/bin/ovirt_create_vm_from_template.py --api_host <retracted> --api_pass <retracted> --vm_template_name apagac-rhevm+cfme4-cfme-template --cluster_name Default --vm_name apagac-rhevm+cfme4-cfme I named the deployment: apagac-rhevm+cfme4 I'd suggest, since special characters seem to be causing problems in numerous areas that we limit deployment names to a-z A-Z 0-9 _ - Is there a downside to limiting the deployment name to these characters? I would prefer to see us accept spaces in deployment names, and swap them out for underscores on the backend (or however we can handle it). As far as I know, that's what Satellite does for most of its underlying parts. If I create an org in Satellite, I can use a name of "My Org" and it will assign it a label of "My_Org". It's a lot more natural to use a space for a name. Special characters would be nice, if they want to use + or & or something (like the above comment), but probably not as critical. Temporarily patching to disallow spaces. I can't create deployment with space in the name. Other characters to consider are beyond the scope of this bug, so marking as verified. RHCI-6.0-RHEL-7-20160122.t.1-RHCI-x86_64-dvd1.iso |