Bug 1275777 - Packstack installation of RHOS 5 fails running keystone-manage db-sync
Summary: Packstack installation of RHOS 5 fails running keystone-manage db-sync
Keywords:
Status: CLOSED DUPLICATE of bug 1265306
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-migrate
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 5.0 (RHEL 7)
Assignee: Michael Bayer
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-27 17:17 UTC by Matthew Booth
Modified: 2016-04-18 06:57 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-28 13:36:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
keystone.log containing relevant stack trace (77.76 KB, text/plain)
2015-10-28 09:22 UTC, Matthew Booth
no flags Details

Description Matthew Booth 2015-10-27 17:17:20 UTC
Description of problem:
I am attempting to install RHOS 5 on RHEL 7 with packstack. Installation fails when 'keystone-manage db_sync' returns a non-zero exit code. keystone.log is attached to this bug. The last bit of the stack trace is:

  File "/usr/lib/python2.7/site-packages/migrate/changeset/ansisql.py", line 278, in get_constraint_name
    return self.preparer.quote(ret, cons.quote)
  File "<string>", line 2, in quote
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/deprecations.py", line 106, in warned
    return fn(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/schema.py", line 90, in quote
    return self.name.quote
AttributeError: 'unicode' object has no attribute 'quote'

Version-Release number of selected component (if applicable):
python-sqlalchemy-0.9.8-1.el7.x86_64
python-keystone-2014.1.5-2.el7ost.noarch

How reproducible:
Always

Additional info:
RHEL 7 is configured to use:

http://download.devel.redhat.com/nightly/latest-RHEL-7/compose/Server/x86_64/os

RHOS 5 is configured with:

rhos-release 5-rhel-7

Comment 2 Matthew Booth 2015-10-28 09:22:39 UTC
Created attachment 1087174 [details]
keystone.log containing relevant stack trace

Comment 3 Matthew Booth 2015-10-28 09:40:43 UTC
This problem goes away when downgrading to python-sqlalchemy-0.8.4-2.el7ost.x86_64. This may represent a potential packaging problem with RHOS 5 on a future release of RHEL 7.

Comment 4 Matthew Booth 2015-10-28 10:56:16 UTC
There are 4 packages in total which have versions in RHEL which are newer than the version in OSP5:

python-sqlalchemy-0.8.4-2.el7ost
python-greenlet-0.4.2-1.el7ost
python-requests-2.3.0-3.el7ost
python-urllib3-1.8.2-5.el7ost

AFAIK, only python-sqlalchemy actually breaks it, though. Also note that python-greenlet has the same library version packaged differently in RHEL and OSP.

Comment 5 Michael Bayer 2015-10-28 13:31:13 UTC
this is the same issue as bz#1265306

Comment 6 Michael Bayer 2015-10-28 13:36:28 UTC

*** This bug has been marked as a duplicate of bug 1265306 ***


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