Bug 1254294

Summary: rhev deployment hangs when changing the datacenter/cluster name
Product: Red Hat Quickstart Cloud Installer Reporter: Dave Johnson <dajohnso>
Component: Installation - RHEVAssignee: Jason Montleon <jmontleo>
Status: VERIFIED --- QA Contact:
Severity: high Docs Contact: Dan Macpherson <dmacpher>
Priority: unspecified    
Version: 1.0CC: bthurber, jmatthew, jmontleo, tsanders, tshefi
Target Milestone: betaKeywords: 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: 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 Dave Johnson 2015-08-17 16:04:22 UTC
Description of problem:
===============================
change the dc/cluster name and the deploy rhev task hangs


Version-Release number of selected component (if applicable):
=============================================================
beta candidate


How reproducible:
=====================


Steps to Reproduce:
====================
1.   deploy beta candidate iso
2.   install sat
3.   discover hosts
4.   deploy rhev with different dc/cluster name


Actual results:
================
task hangs, it says suspended but the overall job status stays in running

Actions::Fusor::Deployment::Rhev::WaitForDataCenter (suspended) [ 81115.20s / 4802.96s


Expected results:
================
custom named dc/cluster created and used


Additional info:

Comment 1 Jason Montleon 2015-08-21 15:15:43 UTC
Believe we just need to specify dc_name here like so:
{ :name => "dc_name", :value => deployment.rhev_database_name },

Doing some testing and will submit a PR if that corrects it.

Comment 3 Jason Montleon 2015-08-21 22:13:15 UTC
https://github.com/fusor/fusor/pull/322

Comment 4 Tzach Shefi 2015-08-23 10:09:54 UTC
This exact same problem hit my deployment last week. 
Deployment had successfully deployed  rhev on hosts, then I had deleted both hosts, and redeployed rhev this time I'd changed default DC name only to have it fail at 95% WaitForDataCenter. 
Media ID 1439475247.560921 , 13 Aug 2015.
While debugging came across this bz. 

I've now downloaded latest rhci iso Aug 21, manually added line from Jason's comment#3, as it's not included yet. 

Will try to build a new deployment including DC change and report back.

Comment 5 John Matthews 2015-08-26 14:53:10 UTC
Need this fix for deploying CFME with the updated data center name change

https://github.com/fusor/fusor/pull/330

Comment 7 Dave Johnson 2015-09-01 18:55:47 UTC
good 2 go with 0829