Bug 1310048

Summary: Container installation with NFS support failed at task Create PersistentVolumes
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: InstallerAssignee: Andrew Butcher <abutcher>
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: abutcher, aos-bugs, jokerman, mmccomas
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:07 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:
Embargoed:

Description Anping Li 2016-02-19 10:33:27 UTC
Description of problem:
Container installation with NFS support failed at task "Create PersistentVolumes"

Version-Release number of selected component (if applicable):
openshift-ansible/master

How reproducible:
always

Steps to Reproduce:
1) enable NFS support in inventory file and enable containerized for each node.
2) ansible-playbook -i config/OSE31nfs /root/openshift-ansible/playbooks/byo/config.yml

Actual results:
TASK: [openshift_persistent_volumes | Deploy PersistentVolume definitions] **** 
ok: [10.3.11.12]

TASK: [openshift_persistent_volumes | Create PersistentVolumes] *************** 
failed: [10.3.11.12] => {"changed": true, "cmd": ["/usr/local/bin/oc", "create", "-f", "/tmp/openshift-ansible-nC4FM3U/persistent-volumes.yml", "--config=/tmp/openshift-ansible-nC4FM3U/admin.kubeconfig"], "delta": "0:00:04.975893", "end": "2016-02-19 08:05:33.320436", "failed": true, "failed_when_result": true, "rc": 0, "start": "2016-02-19 08:05:28.344543", "stdout_lines": ["persistentvolume \"registry1-volume\" created"], "warnings": []}
stderr: 
================================================================================
ATTENTION: You are running oc via a wrapper around 'docker run openshift3/ose'.
This wrapper is intended only to be used to bootstrap an environment. Please
install client tools on another host once you have granted cluster-admin
privileges to a user. 
See https://docs.openshift.com/enterprise/latest/cli_reference/get_started_cli.html
=================================================================================
stdout: persistentvolume "registry1-volume" created

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/root/config.retry

10.3.11.12                 : ok=225  changed=13   unreachable=0    failed=1   
10.3.14.149                : ok=41   changed=4    unreachable=0    failed=0   
10.3.14.157                : ok=41   changed=3    unreachable=0    failed=0   
172.17.91.17               : ok=33   changed=3    unreachable=0    failed=0   
localhost                  : ok=18   changed=0    unreachable=0    failed=0   


Expected results:


Additional info:

Comment 2 Andrew Butcher 2016-02-23 18:12:12 UTC
Proposed fix: https://github.com/openshift/openshift-ansible/pull/1442

Comment 3 Anping Li 2016-02-24 05:17:51 UTC
The error disappear with the new version. so move bug to verified.

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