Bug 1317734

Summary: Fail to mask ectd service when installing containerized env
Product: OpenShift Container Platform Reporter: Ma xiaoqiang <xiama>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED ERRATA QA Contact: Ma xiaoqiang <xiama>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: aos-bugs, bleanhar, jokerman, mmccomas, xiama, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-12 16:38:35 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 Ma xiaoqiang 2016-03-15 02:48:05 UTC
Description of problem:
Fail to mask ectd service when installing containerized env



Version-Release number of selected component (if applicable):
openshift-ansible-3.0.57-1.git.0.c633ce7.el7.noarch

How reproducible:
100%


Steps to Reproduce:
1. Install containerized env


Actual results:
EXEC previous known host file not found for openshift-142.lab.sjc.redhat.com
failed: [openshift-142.lab.sjc.redhat.com] => {"changed": true, "cmd": ["systemctl", "mask", "etcd"], "delta": "0:00:00.016366", "end": "2016-03-14 22:06:22.535871", "rc": 1, "start": "2016-03-14 22:06:22.519505", "warnings": []}
stderr: Failed to execute operation: Access denied

Fail to mask the etcd service

Expected results:
Install env successfully

Comment 1 Brenton Leanhardt 2016-03-15 14:12:05 UTC
Could you check the selinux log (/var/log/audit/audit.log) when you see this error and paste the result?

Comment 2 Scott Dodson 2016-03-15 22:06:11 UTC
Access denied is systemd's less than helpful way of saying that a service you're trying to use doesn't exist. I've put together a PR that will address that issue, however I've been running into other un-related problems installing containerized on my two RHEL hosts.

Can you please test this PR? I'm assuming that you're installing containerized=true to RHEL hosts, am I correct?

You can test this PR by cloning and then merging my change

git clone https://github.com/openshift/openshift-ansible
git pull https://github.com/sdodson/openshift-ansible bz1317734

Comment 3 Ma xiaoqiang 2016-03-16 01:01:54 UTC
check on https://github.com/sdodson/openshift-ansible bz1317734

Install containerized env successfully, move this issue to VERIFIED.

Comment 5 errata-xmlrpc 2016-05-12 16:38:35 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:1065