Bug 999400

Summary: Can not successfully install plugin for python app after add plugin to setting.py and git push
Product: OpenShift Online Reporter: weiwei jiang <wjiang>
Component: ContainersAssignee: Rob Millner <rmillner>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: mfisher, mpatel, wsun
Target Milestone: ---Keywords: UpcomingRelease
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-29 12:54:19 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:

Description weiwei jiang 2013-08-21 09:22:49 UTC
Description of problem:
After add plugin to setting.py, git push will display a error "error: Could not find suitable distribution"

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

How reproducible:
always

Steps to Reproduce:
1. Create a python app
2. Add plugin to setting.py
        install_requires=[#'CherryPy',
                          #'mysql-connector-python',
                          'pymongo',
                          #'psycopg2',                                   
                          #'Django>=1.4', 
3.Git push back  to the the gear.

Actual results:
remote: Installed /var/lib/openshift/521461a103ef64263a000106/app-root/runtime/repo
remote: Processing dependencies for YourAppName==1.0
remote: Searching for pymongo
remote: Reading http://mirror.openshift.com/mirror/python/web/simple/pymongo/
remote: No local packages or download links found for pymongo
remote: error: Could not find suitable distribution for Requirement.parse('pymongo')
remote:  - Done processing setup.py
remote: Starting application py33
To ssh://521461a103ef64263a000106.rhcloud.com/~/git/py33.git/
   ee21e94..4db565c  master -> master

Expected results:
should be installed without errors

Additional info:

Comment 1 Rob Millner 2013-08-21 17:37:39 UTC
It appears as though our mirror is either offline or broken.  Tests that worked just fine yesterday are now broken on the same error.

Comment 2 Rob Millner 2013-08-21 20:12:35 UTC
Reverting mirror change:
https://github.com/openshift/origin-server/pull/3456

Comment 3 Rob Millner 2013-08-21 23:55:12 UTC
Pull request to test the mirror first before using:
https://github.com/openshift/origin-server/pull/3460

Comment 4 openshift-github-bot 2013-08-22 04:20:03 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/b010a5749ddc20564beefa06002aa5cab77b025c
Bug 999400 - test the mirror to see if its up, if not then use external.

Comment 5 weiwei jiang 2013-08-22 07:41:36 UTC
Test on devenv_3685 and will be installed successfully.
So, verified this, thx