Devstack - yet more problems on install

Sean McGinnis sean.mcginnis at gmx.com
Wed Dec 19 22:01:45 UTC 2018


> But now falling over with another one
> 
> ERROR oslo_db.sqlalchemy.exc_filters InternalError: (1071, u'Specified key was too long; max key length is 767 bytes')
> ERROR oslo_db.sqlalchemy.exc_filters
> Error during database migration: (pymysql.err.InternalError) (1071, u'Specified key was too long; max key length is 767 bytes') [SQL: u'\nALTER TABLE quota_usages CHANGE COLUMN resource resource VARCHAR(300)'] (Background on this error at: http://sqlalche.me/e/2j85)
> 
> Base OS is CentOS 7.5.
> 
> I've found this which looks similar - https://review.openstack.org/#/c/626146/ - but I've no idea how to apply it to my Devstack installation.
> 

Yep, you found the right patch. That is a known issue right now and we should
hopefully have the fix merged very shortly.

In the meantime, you could add this to your local.conf:

CINDER_BRANCH=refs/changes/46/626146/3

With that, devstack will pull down that version of the code and you should be
able to get by this failure until we merge the fix. As of this moment, there is
just a pep8 error that is preventing that from merging. That will not impact
the ability to actually run the code.

Once that merges you can take that line out of the local.conf file to just get
the current code from master.

Hope that helps.

Sean




More information about the openstack-discuss mailing list