Bug 1317734 - Fail to mask ectd service when installing containerized env
Summary: Fail to mask ectd service when installing containerized env
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Scott Dodson
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-15 02:48 UTC by Ma xiaoqiang
Modified: 2016-07-04 00:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 16:38:35 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1065 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise atomic-openshift-utils bug fix update 2016-05-12 20:32:56 UTC

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


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