← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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")

** Affects: nova
     Importance: Undecided
     Assignee: Kenneth Burger (burgerk)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Kenneth Burger (burgerk)

-- 
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):
  New

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


Follow ups