Bug 1419063 - OCPHA deployment fails @90% 'error: Docker registry "docker-registry" service exists'
Summary: OCPHA deployment fails @90% 'error: Docker registry "docker-registry" service...
Status: NEW
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: Installation - OpenShift
Version: 1.1
Hardware: All
OS: All
Target Milestone: ---
: ---
Assignee: Dylan Murray
QA Contact: Sudhir Mallamprabhakara
Depends On:
TreeView+ depends on / blocked
Reported: 2017-02-03 15:09 UTC by Landon LaSmith
Modified: 2020-01-08 16:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)
Ansible log from deployment (8.13 MB, text/plain)
2017-02-03 15:09 UTC, Landon LaSmith
no flags Details

Description Landon LaSmith 2017-02-03 15:09:05 UTC
Created attachment 1247461 [details]
Ansible log from deployment

Description of problem: During an OCPHA deployment, the OCP deployment fails during the ansible task [Create default registry] on the 2nd master node with the error:

2017-02-02 17:54:44,403 p=30253 u=foreman | fatal: [ocpha-ocp-master2.example.com]: FAILED! => {"changed": true, "cmd": ["oadm", "registry", "--create=true", "--config=/etc/origin/master/admin.kubeconfig", "--credentials=/etc/origin/master/openshift-registry.kubeconfig", "--images=landon-sat.example.com:5000/default_organization-fusor-ose-docker-registry", "--selector=region=infra", "--replicas=2"], "delta": "0:00:21.488106", "end": "2017-02-02 17:54:43.209297", "failed": true, "rc": 1, "start": "2017-02-02 17:54:21.721191", "stderr": "Flag --credentials has been deprecated, use --service-account to specify the service account the registry will use to make API calls\n error: services \"docker-registry\" already exists\nerror: exit directly", "stdout": "--> Creating registry registry ...\n deploymentconfig \"docker-registry\" created\n--> Failed", "stdout_lines": ["--> Creating registry registry ...", " deploymentconfig \"docker-registry\" created", "--> Failed"], "warnings": []}

QCI Media Version: QCI-1.1-RHEL-7-20170202.t.1

How reproducible: First Occurrence

Steps to Reproduce:
1. Install QCI from iso
2. Create deployments with RHV + OCPHA
3. Start deployment

Actual results: Deployment fails at 90%

Expected results: Deployment succeeds

Additional info: This was on baremetal with 1 engine and 3 hypervisors

Comment 1 Dylan Murray 2017-02-03 15:13:38 UTC

This appears to be either a network hiccup or an issue with Satellite since the first node returns a 404 and the other succeeds.

Comment 3 John Matthews 2017-02-07 19:23:08 UTC
Removing this from 1.1 release

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