← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1621138] Re: block_device_mappings column is not large enough in table build_requests

 

Reviewed:  https://review.openstack.org/366955
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=80795f2dc58d7210fb8a1564632e4dd34fbeaae3
Submitter: Jenkins
Branch:    master

commit 80795f2dc58d7210fb8a1564632e4dd34fbeaae3
Author: Ken Burger <burgerk@xxxxxxxxxx>
Date:   Wed Sep 7 21:07:10 2016 -0500

    Increase BDM column in build_requests table
    
    When deploying with a very large number of volumes the
    block_device_mappings column is not sufficient.  The column
    needs to be increased to MEDIUMTEXT size to support this use case.
    
    Change-Id: Ia34d06429c1f8f0a8259616bcba0c349c4c9aa33
    Closes-Bug: #1621138


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1621138

Title:
  block_device_mappings column is not large enough in table
  build_requests

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  When deploying with several volumes the block_device_mappings column
  in table build_requests can run out of space causing the below error.

  2016-09-07 01:22:24.936 23522 ERROR oslo_db.sqlalchemy.exc_filters Traceback (most recent call last):
  2016-09-07 01:22:24.936 23522 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
  2016-09-07 01:22:24.936 23522 ERROR oslo_db.sqlalchemy.exc_filters     context)
  2016-09-07 01:22:24.936 23522 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
  2016-09-07 01:22:24.936 23522 ERROR oslo_db.sqlalchemy.exc_filters     cursor.execute(statement, parameters)
  2016-09-07 01:22:24.936 23522 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 174, in execute
  2016-09-07 01:22:24.936 23522 ERROR oslo_db.sqlalchemy.exc_filters     self.errorhandler(self, exc, value)
  2016-09-07 01:22:24.936 23522 ERROR oslo_db.sqlalchemy.exc_filters   File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
  2016-09-07 01:22:24.936 23522 ERROR oslo_db.sqlalchemy.exc_filters     raise errorclass, errorvalue
  2016-09-07 01:22:24.936 23522 ERROR oslo_db.sqlalchemy.exc_filters DataError: (1406, "Data too long for column 'block_device_mappings' at row 1")

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1621138/+subscriptions


References