Bug 1443423 - [3.1] containerized install exits when openshift_image_tag is not set and the latest openshift3/ose is not a 3.1 image.
Summary: [3.1] containerized install exits when openshift_image_tag is not set and the...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.1.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Scott Dodson
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-19 08:48 UTC by Johnny Liu
Modified: 2017-06-09 02:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-09 02:04:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Johnny Liu 2017-04-19 08:48:35 UTC
Description of problem:
Tracking issue described in https://bugzilla.redhat.com/show_bug.cgi?id=1442346#c5

Version-Release number of selected component (if applicable):
openshift-ansible-3.0.100-1.git.0.95611a0.el7aos.noarch

How reproducible:
Always

Steps to Reproduce:
1. Not set openshift_image_tag in inventory host file.
2. Make sure the latest image on registry is not a 3.1 image.
3. Before installation, install docker-excluder on all the hosts (3.1 only support docker-1.8.2)
4. Trigger a containerized install on RHEL host.

Actual results:
installer exits.

<--snip-->
TASK: [openshift_docker | set_fact ] ****************************************** 
ok: [openshift-104.lab.sjc.redhat.com] => {"ansible_facts": {"has_image_tag_fact": "False", "is_containerized": "True"}}

TASK: [openshift_docker | Set version when containerized] ********************* 
changed: [openshift-104.lab.sjc.redhat.com] => {"changed": true, "cmd": ["docker", "run", "--rm", "openshift3/ose", "version"], "delta": "0:00:54.991404", "end": "2017-04-19 03:10:29.104796", "rc": 0, "start": "2017-04-19 03:09:34.113392", "stderr": "Unable to find image 'openshift3/ose:latest' locally\nTrying to pull repository registry.access.stage.redhat.com/openshift3/ose ... latest: Pulling from openshift3/ose\nef612c978d09: Pulling fs layer\nd63a0d7e67ae: Pulling fs layer\n5385c04c2690: Pulling fs layer\n78f0c10e3a6d: Pulling fs layer\nd63a0d7e67ae: Verifying Checksum\nd63a0d7e67ae: Download complete\nef612c978d09: Verifying Checksum\nef612c978d09: Download complete\n78f0c10e3a6d: Verifying Checksum\n78f0c10e3a6d: Download complete\nef612c978d09: Pull complete\nd63a0d7e67ae: Pull complete\n5385c04c2690: Verifying Checksum\n5385c04c2690: Download complete\n5385c04c2690: Pull complete\n78f0c10e3a6d: Pull complete\nDigest: sha256:d2141116caeb290d3b130cadd8b937a41356307054d697cc51836a2dfde70652\nStatus: Downloaded newer image for registry.access.stage.redhat.com/openshift3/ose:latest", "stdout": "openshift v3.5.5.5\nkubernetes v1.5.2+43a9be4\netcd 3.1.0", "warnings": []}

TASK: [openshift_docker | set_fact ] ****************************************** 
skipping: [openshift-104.lab.sjc.redhat.com]

TASK: [openshift_docker | set_fact ] ****************************************** 

ok: [openshift-104.lab.sjc.redhat.com] => {"ansible_facts": {"l_image_tag": "v3.5.5.5"}}

TASK: [openshift_docker | set_fact ] ****************************************** 
skipping: [openshift-104.lab.sjc.redhat.com]
<--snip-->
TASK: [openshift_docker_facts | set_fact ] ************************************ 
ok: [openshift-104.lab.sjc.redhat.com] => {"ansible_facts": {"l_common_version": "3.5.5.5"}}

TASK: [openshift_docker_facts | set_fact ] ************************************ 
skipping: [openshift-104.lab.sjc.redhat.com]

TASK: [openshift_docker_facts | Set docker version to be installed] *********** 
skipping: [openshift-104.lab.sjc.redhat.com]

TASK: [openshift_docker_facts | Set docker version to be installed] *********** 
ok: [openshift-104.lab.sjc.redhat.com] => {"ansible_facts": {"docker_version": "1.9.1"}}
<--snip-->
<--snip-->
TASK: [docker | Install docker] *********************************************** 
failed: [openshift-104.lab.sjc.redhat.com] => {"changed": false, "failed": true, "rc": 0, "results": []}
msg: No Package matching 'docker-1.9.1' found available, installed or updated

FATAL: all hosts have already failed -- aborting
<--snip-->


Expected results:
installation should be completed successfully.

Additional info:

Comment 1 Scott Dodson 2017-06-09 02:04:37 UTC
As this issue only affects 3.1 installs and setting the openshift_image_tag value works around this issue we will not be fixing this bug.


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