더북(TheBook)

23. MariaDB를 재시작하고 keystone-manage db_sync 명령어를 이용해 실행합니다. 그러나 이번에도 오류가 발생합니다. 메시지의 내용을 보면 현재 데이터베이스의 버전이 맞지 않는다고 합니다.

root@controller:/etc/mysql/mariadb.conf.d# cd
root@controller:~# su -s /bin/sh -c “keystone-manage dbsync” keystone
2016-05-31 03:37:14.285 21266 CRITICAL keystone [-] DbMigrationError: The
database is not under version control, but has tables. Please stamp the current
version of the schema manually.
2016-05-31 03:37:14.285 21266 ERROR keystone Traceback (most recent call last):
2016-05-31 03:37:14.285 21266 ERROR keystone   File “/usr/bin/keystone-manage”,
line 10, in <module>
2016-05-31 03:37:14.285 21266 ERROR keystone     sys.exit(main())
2016-05-31 03:37:14.285 21266 ERROR keystone   File “/usr/lib/python2.7/dist-
packages/keystone/cmd/manage.py”, line 47, in main
2016-05-31 03:37:14.285 21266 ERROR keystone     cli.main(argv=sys.argv, config

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.