Bug 1370258 - problems deploying the director with python-requests package
Summary: problems deploying the director with python-requests package
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 9.0 (Mitaka)
Hardware: x86_64
OS: All
unspecified
high
Target Milestone: ---
: ---
Assignee: Angus Thomas
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks: 1305654
TreeView+ depends on / blocked
 
Reported: 2016-08-25 18:17 UTC by Dave Cain
Modified: 2016-08-26 21:30 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-26 21:30:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.