Bug 1299742 - Fail to install containerized environment with non-root user
Summary: Fail to install containerized environment with non-root user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Andrew Butcher
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
: 1312768 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-19 07:37 UTC by Ma xiaoqiang
Modified: 2016-07-04 00:46 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-29 12:57:33 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 Ma xiaoqiang 2016-01-19 07:37:15 UTC
Description of problem:
Fail to install containerized environment with non-root user

Version-Release number of selected component (if applicable):
openshift-ansible-3.0.35-1.git.0.6a386dd.el7aos.noarch

How reproducible:
always

Steps to Reproduce:
1. Install contaierized environment on rhel7 or atomic with non-root user
<--snip-->
ansible_ssh_user=install
deployment_type=openshift-enterprise
ansible_sudo=true
containerized=true
<--snip-->

Actual results:
TASK: [openshift_master | Create the policy file if it does not already exist] *** 
failed: [openshift-138.lab.eng.nay.redhat.com] => {"cmd": "oadm create-bootstrap-policy-file --filename=/etc/origin/master/policy.json", "failed": true, "rc": 2}
msg: [Errno 2] No such file or directory

FATAL: all hosts have already failed -- aborting


Expected results:
Install environment successfully.

Additional info:

Comment 1 Brenton Leanhardt 2016-01-20 13:20:42 UTC
For QE,

Would you mind testing this using master from https://github.com/openshift/openshift-ansible ?

You can use the same Ansible inventory generated by atomic-openshift-installer but instead of having it start the ansible run simply run it manually and point it to the byo config playbook.

Comment 4 Ma xiaoqiang 2016-01-22 00:49:42 UTC
yeah, the master branch works fine.

Comment 5 Brenton Leanhardt 2016-01-22 13:56:17 UTC
Great.  We'll include this in an upcoming ASYNC advisory once we get 3.1.1 out the door.

Comment 7 errata-xmlrpc 2016-02-29 12:57:33 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

Comment 8 Gaoyun Pei 2016-03-04 03:23:25 UTC
*** Bug 1312768 has been marked as a duplicate of this bug. ***


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