Successful db sync from glance with MySQL 8:

2019-10-04 10:21:14.023 10552 INFO alembic.runtime.migration [-] Context impl 
MySQLImpl.
2019-10-04 10:21:14.024 10552 INFO alembic.runtime.migration [-] Will assume 
non-transactional DDL.
2019-10-04 10:21:14.034 10552 INFO alembic.runtime.migration [-] Context impl 
MySQLImpl.
2019-10-04 10:21:14.034 10552 INFO alembic.runtime.migration [-] Will assume 
non-transactional DDL.
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade  -> liberty, liberty initial
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
/usr/lib/python3/dist-packages/pymysql/cursors.py:170: Warning: (3719, "'utf8' 
is currently an alias for the character set UTF8MB3, but will be an alias for 
UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be 
unambiguous.")
  result = self._query(query)
INFO  [alembic.runtime.migration] Running upgrade liberty -> mitaka01, add 
index on created_at and updated_at columns of 'images' table
INFO  [alembic.runtime.migration] Running upgrade mitaka01 -> mitaka02, update 
metadef os_nova_server
INFO  [alembic.runtime.migration] Running upgrade mitaka02 -> ocata_expand01, 
add visibility to images
INFO  [alembic.runtime.migration] Running upgrade ocata_expand01 -> 
pike_expand01, empty expand for symmetry with pike_contract01
INFO  [alembic.runtime.migration] Running upgrade pike_expand01 -> 
queens_expand01
INFO  [alembic.runtime.migration] Running upgrade queens_expand01 -> 
rocky_expand01, add os_hidden column to images table
INFO  [alembic.runtime.migration] Running upgrade rocky_expand01 -> 
rocky_expand02, add os_hash_algo and os_hash_value columns to images table
INFO  [alembic.runtime.migration] Running upgrade rocky_expand02 -> 
train_expand01, empty expand for symmetry with train_contract01
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade mitaka02 -> ocata_contract01, 
remove is_public from images
INFO  [alembic.runtime.migration] Running upgrade ocata_contract01 -> 
pike_contract01, drop glare artifacts tables
INFO  [alembic.runtime.migration] Running upgrade pike_contract01 -> 
queens_contract01
INFO  [alembic.runtime.migration] Running upgrade queens_contract01 -> 
rocky_contract01
INFO  [alembic.runtime.migration] Running upgrade rocky_contract01 -> 
rocky_contract02
INFO  [alembic.runtime.migration] Running upgrade rocky_contract02 -> 
train_contract01
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
Upgraded database to: train_expand01, current revision(s): train_expand01
Database migration is up to date. No migration needed.
Upgraded database to: train_contract01, current revision(s): train_contract01
Database is synced successfully.
OK
OK


Using test packages from 
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3629

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1846548

Title:
  Glance manage db_sync fails with MySQL 8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glance/+bug/1846548/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to