Bug 747520 - sqlalchemy-migrate warnings during nova install
Summary: sqlalchemy-migrate warnings during nova install
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: openstack-nova
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mark McLoughlin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 796350 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-20 06:39 UTC by Mark McLoughlin
Modified: 2012-03-08 08:45 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-08 08:45:22 UTC
Type: ---


Attachments (Terms of Use)

Description Mark McLoughlin 2011-10-20 06:39:40 UTC
Installing : openstack-nova-2011.3-4.fc16.noarch                         7/10 
/usr/lib/python2.7/site-packages/migrate/changeset/schema.py:553: SAWarning: <type 'NoneType'> being associated with <class 'sqlalchemy.schema.Column'> object after the <class 'sqlalchemy.schema.Column'> has already been used in a SQL generation; previously generated constructs may contain stale state.
  self.table = None
/usr/lib/python2.7/site-packages/migrate/changeset/schema.py:124: MigrateDeprecationWarning: Passing a Column object to alter_column is deprecated. Just pass in keyword parameters instead.
  MigrateDeprecationWarning

Comment 1 Michael Adeyeye 2011-12-26 10:43:48 UTC
And what's the fix for this bug? I can't continue installation because of it.

[micadeyeye@micadeyeye ~]$ sudo openstack-nova-db-setup
.
.
.
Asking openstack-nova to sync the databse.
/usr/lib/python2.7/site-packages/migrate/changeset/schema.py:551: SAWarning: <type 'NoneType'> being associated with <class 'sqlalchemy.schema.Column'> object after the <class 'sqlalchemy.schema.Column'> has already been used in a SQL generation; previously generated constructs may contain stale state.
  self.table = None
/usr/lib/python2.7/site-packages/migrate/changeset/schema.py:124: MigrateDeprecationWarning: Passing a Column object to alter_column is deprecated. Just pass in keyword parameters instead.
  MigrateDeprecationWarning
Complete!

Comment 2 Pádraig Brady 2011-12-26 11:21:11 UTC
I vaguely remember getting that _warning_ too.
However everything subsequently worked fine.

Comment 3 Mark McLoughlin 2012-01-03 07:29:35 UTC
Yeah, the warning shouldn't be causing openstack-nova-db-setup to fail

Michael - are you sure the script failed?

Comment 4 Pádraig Brady 2012-02-22 23:09:38 UTC
*** Bug 796350 has been marked as a duplicate of this bug. ***

Comment 5 Mark McLoughlin 2012-03-08 08:45:22 UTC
Ok, looks like we won't get around to fixing this on Fedora 16 but it's not an issue on Fedora 17


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