Bug 1370256

Summary: ansible variable deployment_type=enterprise causes advanced installer to fail
Product: OpenShift Container Platform Reporter: Bob Kozdemba <bkozdemb>
Component: InstallerAssignee: aos-install
Installer sub component: openshift-installer QA Contact: Gaoyun Pei <gpei>
Status: CLOSED WONTFIX Docs Contact:
Severity: low    
Priority: low CC: aos-bugs, bkozdemb, bleanhar, jokerman, mmccomas, plarsen
Version: 3.2.1   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-25 15:51:21 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:

Description Bob Kozdemba 2016-08-25 18:11:42 UTC
Description of problem:
If 'deployment_type=enterprise' is used in ansible inventory file, the install will fail. It appears this was not properly deprecated and should be set to'deployment_type=openshift-enterprise' as per the examples shipped with 3.2.1.13.

Version-Release number of selected component (if applicable):
3.2.1.13 (rpm-based install)

How reproducible:
100%

Steps to Reproduce:
1. Set deployment_type=enterprise in inventory ansible inventory file.
2. Run the advanced installer
3.

Actual results:
Installer detects OpenShift version as 0.0 and will fail rpm package matching.

Expected results:
Correct version should be detected.

Additional info:
Perhaps ansible should report an error to the caller that the value of 'enterprise' is no longer supported or promote the value to be 'openshift-enterprise'

Comment 1 Peter Larsen 2016-08-25 18:17:26 UTC
Where do you see deployment_type=enterprise as a valid option? Docs and the samples all say 'openshift-enterprise' ?

Comment 2 Bob Kozdemba 2016-08-25 19:39:23 UTC
The deployment_type=enterprise option appears in example inventory files from legacy documentation and blogs.

One example is https://docs.openshift.com/enterprise/3.0/install_config/install/advanced_install.html#single-master-multi-node

Comment 3 Peter Larsen 2016-08-25 19:48:11 UTC
(In reply to Bob Kozdemba from comment #2)
> The deployment_type=enterprise option appears in example inventory files
> from legacy documentation and blogs.
> 
> One example is
> https://docs.openshift.com/enterprise/3.0/install_config/install/
> advanced_install.html#single-master-multi-node

That's a 3.0 docs - do you have anything in the 3.2 docs you filed the BZ against?