Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1621241

Summary: Multiple errors related to examples
Product: OpenShift Container Platform Reporter: Chris Callegari <ccallega>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED NOTABUG QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.11.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-10 19:10:23 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:
Attachments:
Description Flags
log for error 1
none
log for error 2 none

Description Chris Callegari 2018-08-23 14:30:40 UTC
Created attachment 1478238 [details]
inventory file

Description of problem:
There are multiple errors related to examples


Version-Release number of the following components:
$ ansible --version
ansible 2.6.2
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/ccallega/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Feb 20 2018, 09:19:12) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]

$ git describe
openshift-ansible-3.11.0-0.20.0-21-ga597e34ac


How reproducible:
Always

Steps to Reproduce:
1. ansible-playbook -i hosts prerequisites.yml -e @provisioning_vars.yml
2. ansible-playbook -i hosts build_ami.yml -e @provisioning_vars.yml
3. ansible-playbook -i hosts provision_install.yml -e @provisioning_vars.yml

Actual results:
TASK [openshift_examples : Modify registry paths if registry_url is not registry.redhat.io] **********************************************************************
fatal: [ec2-34-227-21-187.compute-1.amazonaws.com]: FAILED! => {"changed": true, "cmd": "find /usr/share/openshift/examples -type f | xargs -n 1 sed -i 's|registry.redhat.io|registry.access.redhat.com|g'", "delta": "0:00:00.006355", "end": "2018-08-23 14:23:03.911650", "msg": "non-zero return code", "rc": 123, "start": "2018-08-23 14:23:03.905295", "stderr": "sed: no input files", "stderr_lines": ["sed: no input files"], "stdout": "", "stdout_lines": []}
	to retry, use: --limit @/home/ccallega/git/openshift-ansible/playbooks/aws/openshift-cluster/provision_install.retry

PLAY RECAP *******************************************************************************************************************************************************
ec2-18-208-181-129.compute-1.amazonaws.com : ok=199  changed=82   unreachable=0    failed=0
ec2-34-207-162-222.compute-1.amazonaws.com : ok=199  changed=82   unreachable=0    failed=0
ec2-34-227-21-187.compute-1.amazonaws.com : ok=353  changed=149  unreachable=0    failed=1
localhost                  : ok=58   changed=2    unreachable=0    failed=0


INSTALLER STATUS *************************************************************************************************************************************************
Initialization             : Complete (0:01:18)
Health Check               : Complete (0:01:36)
etcd Install               : Complete (0:01:53)
Master Install             : Complete (0:09:20)
Master Additional Install  : In Progress (0:00:18)
	This phase can be restarted by running: playbooks/openshift-master/additional_config.yml


Failure summary:


  1. Hosts:    ec2-34-227-21-187.compute-1.amazonaws.com
     Play:     Additional master configuration
     Task:     Modify registry paths if registry_url is not registry.redhat.io
     Message:  non-zero return code



TASK [openshift_examples : Import RHEL streams] ******************************************************************************************************************
failed: [ec2-54-211-241-3.compute-1.amazonaws.com] (item=/usr/share/openshift/examples/image-streams/image-streams-rhel7.json) => {"changed": false, "cmd": ["oc", "create", "--config=/etc/origin/master/admin.kubeconfig", "-n", "openshift", "-f", "/usr/share/openshift/examples/image-streams/image-streams-rhel7.json"], "delta": "0:00:00.142919", "end": "2018-08-23 13:05:10.757647", "failed_when_result": true, "item": "/usr/share/openshift/examples/image-streams/image-streams-rhel7.json", "msg": "non-zero return code", "rc": 1, "start": "2018-08-23 13:05:10.614728", "stderr": "error: the path \"/usr/share/openshift/examples/image-streams/image-streams-rhel7.json\" does not exist", "stderr_lines": ["error: the path \"/usr/share/openshift/examples/image-streams/image-streams-rhel7.json\" does not exist"], "stdout": "", "stdout_lines": []}
failed: [ec2-54-211-241-3.compute-1.amazonaws.com] (item=/usr/share/openshift/examples/image-streams/dotnet_imagestreams.json) => {"changed": false, "cmd": ["oc", "create", "--config=/etc/origin/master/admin.kubeconfig", "-n", "openshift", "-f", "/usr/share/openshift/examples/image-streams/dotnet_imagestreams.json"], "delta": "0:00:00.121401", "end": "2018-08-23 13:05:11.142350", "failed_when_result": true, "item": "/usr/share/openshift/examples/image-streams/dotnet_imagestreams.json", "msg": "non-zero return code", "rc": 1, "start": "2018-08-23 13:05:11.020949", "stderr": "error: the path \"/usr/share/openshift/examples/image-streams/dotnet_imagestreams.json\" does not exist", "stderr_lines": ["error: the path \"/usr/share/openshift/examples/image-streams/dotnet_imagestreams.json\" does not exist"], "stdout": "", "stdout_lines": []}
	to retry, use: --limit @/home/ccallega/git/openshift-ansible/playbooks/aws/openshift-cluster/provision_install.retry

PLAY RECAP *******************************************************************************************************************************************************
ec2-18-206-244-211.compute-1.amazonaws.com : ok=201  changed=84   unreachable=0    failed=0
ec2-34-238-235-207.compute-1.amazonaws.com : ok=201  changed=84   unreachable=0    failed=0
ec2-54-211-241-3.compute-1.amazonaws.com : ok=355  changed=151  unreachable=0    failed=1
localhost                  : ok=58   changed=2    unreachable=0    failed=0


INSTALLER STATUS *************************************************************************************************************************************************
Initialization             : Complete (0:00:59)
Health Check               : Complete (0:02:04)
etcd Install               : Complete (0:02:00)
Master Install             : Complete (0:09:21)
Master Additional Install  : In Progress (0:00:17)
	This phase can be restarted by running: playbooks/openshift-master/additional_config.yml


Failure summary:


  1. Hosts:    ec2-54-211-241-3.compute-1.amazonaws.com
     Play:     Additional master configuration
     Task:     Import RHEL streams
     Message:  All items completed


Expected results:
Complete OCP installation

Additional info:

Comment 1 Chris Callegari 2018-08-23 14:31:20 UTC
Created attachment 1478240 [details]
extra vars

Comment 2 Chris Callegari 2018-08-23 14:35:50 UTC
Created attachment 1478244 [details]
log for error 1

My terminal history lost the beginning of the play

Comment 3 Chris Callegari 2018-08-23 14:36:13 UTC
Created attachment 1478245 [details]
log for error 2

Comment 4 Chris Callegari 2018-09-10 19:10:23 UTC
This appears to be fixed.  Closing...