Comment 6 for bug 1575688

I also got the same error with Ubuntu 16.04, and solved as following:

1) reconfigure utf8m4 to utf8
2) restart mysql daemon
3) drop database glance
4) create database glance
5) try db_sync; it's working.