Bug 1309679

Summary: "undefined method `id' for nil:NilClass" when deploying CFME on RHELOSP while re-using Satellite and OSPD and doing a deployment of RHEV+CFME at the same time
Product: Red Hat Quickstart Cloud Installer Reporter: Antonin Pagac <apagac>
Component: Installation - CloudFormsAssignee: John Matthews <jmatthew>
Status: CLOSED WONTFIX QA Contact: Dave Johnson <dajohnso>
Severity: unspecified Docs Contact: Dan Macpherson <dmacpher>
Priority: unspecified    
Version: 1.0CC: bthurber
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-15 19:19:44 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:
Attachments:
Description Flags
relevant part from production.log none

Description Antonin Pagac 2016-02-18 13:02:55 UTC
Created attachment 1128216 [details]
relevant part from production.log

Description of problem:
I'm re-using Satellite server with synced content and OSPD with already registered nodes. I'm doing two deployments at the same time, one is RHELOSP+CFME, second one is RHEV+CFME, both with enabled Access insights.
CFME installation on RHELOSP failed:

"
Action:
Actions::Fusor::Deployment::OpenStack::CfmeLaunch

Input:
{"deployment_id"=>3, "locale"=>"en"}

Output:
{}

Exception:
NoMethodError: undefined method `id' for nil:NilClass
"

see attached excerpt from production.log.

Usually I can re-use Satellite and OSPD without any issues, so I suspect this might be due to parallel deployments running.

Version-Release number of selected component (if applicable):
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

How reproducible:
Happened to me once

Steps to Reproduce:
1. Run two deployments at the same time, one for RHEV+CFME, other for RHELOSP+CFME
2. Overcloud installs successfully, UI available, but CFME fails to install
3.

Actual results:
CFME failed to deploy

Expected results:
CFME deployed, UI available

Additional info:

Comment 1 Antonin Pagac 2016-02-18 14:09:58 UTC
I failed to reproduce the issue doing another two deployments. CFME on OSP installed successfully this time.

Comment 2 John Matthews 2016-06-15 19:19:44 UTC
We arent supporting 2 deployments at same time for GA