Bug 1308412 - Fail to install containerized HA master env on RHEL7
Summary: Fail to install containerized HA master env on RHEL7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-15 06:38 UTC by Gaoyun Pei
Modified: 2016-07-04 00:46 UTC (History)
5 users (show)

Fixed In Version: openshift-ansible-3.0.40-1.git.35.7f5463c.el7aos
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-29 12:58:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0311 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise atomic-openshift-utils bug fix update 2016-02-29 17:57:09 UTC

Description Gaoyun Pei 2016-02-15 06:38:35 UTC
Description of problem:
During setting up an HA master env, ansible would mask master service if it's a native way and the host is not Atomic. 

So when installing a containerized HA master on RHEL7 host, ansible still try to mask the atomic-openshift-master service, but failed for it doesn't have atomic-openshift-master.service file. 

Version-Release number of selected component (if applicable):
openshift-ansible-3.0.40-1.git.22.da21865.el7aos.noarch

How reproducible:
Always

Steps to Reproduce:
1.Run 'atomic-openshift-installer install', input 3 masters(Container based) and lb information

Actual results:
TASK: [openshift_master | Mask master service] ******************************** 
failed: [10.66.x.x] => {"changed": true, "cmd": ["systemctl", "mask", "atomic-openshift-master"], "delta": "0:00:00.016835", "end": "2016-02-15 11:28:29.128125", "rc": 1, "start": "2016-02-15 11:28:29.111290", "warnings": []}
stderr: Failed to execute operation: Access denied


Expected results:
Should not mask master service on containerized env.

Additional info:

Comment 3 Gaoyun Pei 2016-02-16 07:57:42 UTC
Verify this bug with openshift-ansible-3.0.41-1.git.0.2446a82.el7aos.noarch

Ansible would not mask master service when it's running a containerized install, and a containerized HA master env could installed.

Comment 5 errata-xmlrpc 2016-02-29 12:58:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:0311


Note You need to log in before you can comment on or make changes to this bug.