Bug 1370258

Summary: problems deploying the director with python-requests package
Product: Red Hat OpenStack Reporter: Dave Cain <dcain>
Component: rhosp-directorAssignee: Angus Thomas <athomas>
Status: CLOSED NOTABUG QA Contact: Omri Hochman <ohochman>
Severity: high Docs Contact:
Priority: unspecified    
Version: 9.0 (Mitaka)CC: arkady_kanevsky, cdevine, christopher_dearborn, dbecker, dcain, John_walsh, kasmith, kurt_hey, mburns, morazi, randy_perryman, rhel-osp-director-maint, sreichar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-26 21:30:55 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:
Bug Depends On:    
Bug Blocks: 1305654    

Description Dave Cain 2016-08-25 18:17:31 UTC
Description of problem:
Attempting to deploy/install the OSP Director GA bits just this morning appears to be having problems.  The following is displayed after installing the python-tripleoclient:

 Installing : python-requests-2.10.0-1.el7ost.noarch          101/125Error unpacking rpm package python-requests-210.0-1.el7ost.noarch
 
error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/requests/packages/chardet: cpio: rename
  Installing : python-keystoneauth1-2.4.1-1.el7ost.noarch               102/125
error: python-requests-2.10.0-1.el7ost.noarch: install failed

 Failed:
  python-requests.noarch 0:2.10.0-1.el7ost
 
Complete!

Some of the output when launching any related OpenStack commands:

Traceback (most recent call last):
  File "/usr/bin/openstack", line 6, in <module>
    from openstackclient.shell import main
  File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 32, in <module>
    from openstackclient.common import clientmanager
  File "/usr/lib/python2.7/site-packages/openstackclient/common/clientmanager.py", line 24, in <module>
    import requests
  File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 64, in <module>
    from . import utils
  File "/usr/lib/python2.7/site-packages/requests/utils.py", line 29, in <module>
    from .exceptions import InvalidURL, InvalidHeader, FileModeWarning
ImportError: cannot import name InvalidHeader
## Done.
 

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


How reproducible:
Every time.


Steps to Reproduce:
1. configure repositories 
2. yum -y install python-tripleoclient
3. observe output

Actual results:
Failures.


Expected results:
No failures.


Additional info:

Comment 4 Dave Cain 2016-08-26 21:30:55 UTC
Problem was caused in part by an accessory script in the customer's automation.