Bug 1318518

Summary: Ansible installer for AWS fails because yum repository isn't reachable
Product: OpenShift Container Platform Reporter: Jianwei Hou <jhou>
Component: InstallerAssignee: Troy Dawson <tdawson>
Status: CLOSED WORKSFORME QA Contact: Ma xiaoqiang <xiama>
Severity: high Docs Contact:
Priority: high    
Version: 3.2.0CC: aos-bugs, bleanhar, jialiu, jokerman, mmccomas, xtian
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-04-06 14:54:29 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:
Bug Depends On:    
Bug Blocks: 1313560    

Description Jianwei Hou 2016-03-17 06:49:38 UTC
Description of problem:
Install OSE on AWS, the installation failed with error

```
TASK: [qe_registry_bootstrap | Install docker] ******************************** 
failed: [ec2-54-164-100-146.compute-1.amazonaws.com] => {"failed": true}
msg: Error from repoquery: ['/usr/bin/repoquery', '--show-duplicates', '--plugins', '--quiet', '-q', '--disablerepo', '', '--enablerepo', '', '--qf', '%{name}-%{version}-%{release}.%{arch}', 'docker']: failure: repodata/repomd.xml from aos: [Errno 256] No more mirrors to try.
https://mirror.openshift.com/enterprise/enterprise-3.2/latest/RH7-RHAOS-3.2/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Could not match packages: failure: repodata/repomd.xml from aos: [Errno 256] No more mirrors to try.
https://mirror.openshift.com/enterprise/enterprise-3.2/latest/RH7-RHAOS-3.2/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
```

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install latest ose with ansible installer

Actual results:
Installation failed because https://mirror.openshift.com/enterprise/enterprise-3.2/latest/RH7-RHAOS-3.2/x86_64/os/repodata/repomd.xml was not accessible

Expected results:
The mirrors should be accessible.

Additional info:

Comment 3 Scott Dodson 2016-03-18 18:50:52 UTC
After the PR request above was merged we reverted back to the old behavior, so I've reverted the PR. The old locations should work now.

Comment 4 Johnny Liu 2016-03-21 07:09:56 UTC
Verified this bug with latest aos-ansible repo, it works now.