Bug 1287777

Summary: Launch CloudForms with a Deployment name containing an underscore "_"
Product: Red Hat Quickstart Cloud Installer Reporter: John Matthews <jmatthew>
Component: Installation - CloudFormsAssignee: Jason Montleon <jmontleo>
Status: CLOSED CURRENTRELEASE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact: Dan Macpherson <dmacpher>
Priority: unspecified    
Version: 1.0CC: apagac, arubin, bthurber
Target Milestone: TP2Keywords: 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 19:07:40 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: 1291836    

Description John Matthews 2015-12-02 16:14:30 UTC
Description of problem:

We changed how CloudForms VMs are launched in the Unified Installer, we now leverage Foreman's ComputeResource capabilities for creating the VM.

As part of this we are forming the hostname of the CloudForms VM based on the deployment name and ran into an issue where if the deployment name contains any characters invalid for a hostname we silently error out.

To verify this BZ:
Ensure that a deployment name with an "_" is functional and CloudForms VM is launched. 
   - Verify this works on RHEV as well as on OSP

Comment 1 Jason Montleon 2016-01-14 18:32:02 UTC
We've put in a temporary fix for this until the final solution of using the labelized name of the deployment for this.

Comment 2 Antonin Pagac 2016-01-27 13:17:41 UTC
It's working for the RHEV+CFME combination.

RHCI-6.0-RHEL-7-20160126.7-RHCI-x86_64-dvd1.iso

Comment 3 Antonin Pagac 2016-02-15 11:43:13 UTC
Works also for RHELOSP+CFME. Marking as verified.

TP2 RC9
RHCI-6.0-RHEL-7-20160208.1-RHCI-x86_64-dvd1.iso
RHCIOOO-7-RHEL-7-20160127.0-RHCIOOO-x86_64-dvd1.iso