Bug 988659

Summary: global name 're' is not defined in ssl_support.py
Product: OpenShift Online Reporter: jackyueq
Component: ContainersAssignee: Vojtech Vitek <vvitek>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: dmcphers, hripps, jackyueq, jhonce, mpatel
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: 2013-07-27 17:16:09 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:

Description jackyueq 2013-07-26 05:34:36 UTC
I'm seeing the following errors during push.






remote: Installing setuptools................................................
remote:   Complete output from command /var/lib/openshift/5...n/virtenv/bin/python -c "#!python
remote: \"\"\"Bootstra...sys.argv[1:])
remote: 
remote: 
remote: 
remote: 
remote: 
remote: 
remote: " --always-copy -U setuptools:
remote:   Searching for setuptools
remote: Reading https://pypi.python.org/simple/setuptools/
remote: Traceback (most recent call last):
remote:   File "<string>", line 278, in <module>
remote:   File "<string>", line 239, in main
remote:   File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1712, in main
remote:   File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage
remote:   File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 1716, in <lambda>
remote:   File "/var/lib/openshift/519969974382ecd388000125/python/opt/lib/python2.7/distutils/core.py", line 152, in setup
remote:     dist.run_commands()
remote:   File "/var/lib/openshift/519969974382ecd388000125/python/opt/lib/python2.7/distutils/dist.py", line 953, in run_commands
remote:     self.run_command(cmd)
remote:   File "/var/lib/openshift/519969974382ecd388000125/python/opt/lib/python2.7/distutils/dist.py", line 972, in run_command
remote:     cmd_obj.run()
remote:   File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 211, in run
remote:   File "build/bdist.linux-x86_64/egg/setuptools/command/easy_install.py", line 434, in easy_install
remote:   File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 454, in fetch_distribution
remote:   File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 303, in find_packages
remote:   File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 617, in scan_url
remote:   File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 190, in process_url
remote:   File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 578, in open_url
remote:   File "build/bdist.linux-x86_64/egg/setuptools/package_index.py", line 758, in open_with_aut
remote:   File "/var/lib/openshift/519969974382ecd388000125/python/opt/lib/python2.7/urllib2.py", line 400, in open
remote:     response = self._open(req, data)
remote:   File "/var/lib/openshift/519969974382ecd388000125/python/opt/lib/python2.7/urllib2.py", line 418, in _open
remote:     '_open', req)
remote:   File "/var/lib/openshift/519969974382ecd388000125/python/opt/lib/python2.7/urllib2.py", line 378, in _call_chain
remote:     result = func(*args)
remote:   File "build/bdist.linux-x86_64/egg/setuptools/ssl_support.py", line 174, in https_open
remote:   File "/var/lib/openshift/519969974382ecd388000125/python/opt/lib/python2.7/urllib2.py", line 1174, in do_open
remote:     h.request(req.get_method(), req.get_selector(), req.data, headers)
remote:   File "/var/lib/openshift/519969974382ecd388000125/python/opt/lib/python2.7/httplib.py", line 958, in request
remote:     self._send_request(method, url, body, headers)
remote:   File "/var/lib/openshift/519969974382ecd388000125/python/opt/lib/python2.7/httplib.py", line 992, in _send_request
remote:     self.endheaders(body)
remote:   File "/var/lib/openshift/519969974382ecd388000125/python/opt/lib/python2.7/httplib.py", line 954, in endheaders
remote:     self._send_output(message_body)
remote:   File "/var/lib/openshift/519969974382ecd388000125/python/opt/lib/python2.7/httplib.py", line 814, in _send_output
remote:     self.send(msg)
remote:   File "/var/lib/openshift/519969974382ecd388000125/python/opt/lib/python2.7/httplib.py", line 776, in send
remote:     self.connect()
remote:   File "build/bdist.linux-x86_64/egg/setuptools/ssl_support.py", line 192, in connect
remote:   File "build/bdist.linux-x86_64/egg/setuptools/ssl_support.py", line 116, in match_hostname
remote:   File "build/bdist.linux-x86_64/egg/setuptools/ssl_support.py", line 98, in _dnsname_to_pat
remote: NameError: global name 're' is not defined

Comment 1 Mrunal Patel 2013-07-26 19:17:23 UTC
Could you try a git push with the force_clean_build marker set?

Comment 2 jackyueq 2013-07-27 17:16:09 UTC
Thanks, bug resolved with force_clean_build marker set.