[root@controller ~]# su -s /bin/sh -c "glance-manage db_sync" glance
Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.
/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:1241: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade
expire_on_commit=expire_on_commit, _conf=conf)
日志显示 错误
tail -f /var/log/glance/api.log
2017-10-21 23:48:19.034 4610 ERROR glance File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1124, in _request_authentication
2017-10-21 23:48:19.034 4610 ERROR glance auth_packet = self._read_packet()
2017-10-21 23:48:19.034 4610 ERROR glance File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 991, in _read_packet
2017-10-21 23:48:19.034 4610 ERROR glance packet.check_error()
2017-10-21 23:48:19.034 4610 ERROR glance File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 393, in check_error
2017-10-21 23:48:19.034 4610 ERROR glance err.raise_mysql_exception(self._data)
2017-10-21 23:48:19.034 4610 ERROR glance File "/usr/lib/python2.7/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
2017-10-21 23:48:19.034 4610 ERROR glance raise errorclass(errno, errval)
2017-10-21 23:48:19.034 4610 ERROR glance OperationalError: (pymysql.err.OperationalError) (1044, u"Access denied for user 'glance'@'%' to database 'glance\xa0\xa0'")
2017-10-21 23:48:19.034 4610 ERROR glance
我已经按照要求授权,不知怎么出现这个权限错误 |