Bug 1419063

Summary: OCPHA deployment fails @90% 'error: Docker registry "docker-registry" service exists'
Product: Red Hat Quickstart Cloud Installer Reporter: Landon LaSmith <llasmith>
Component: Installation - OpenShiftAssignee: Dylan Murray <dymurray>
Status: NEW --- QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1CC: bthurber, dymurray, jmatthew, qci-bugzillas
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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
Ansible log from deployment none

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
http://pastebin.test.redhat.com/452153

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