Mistral config guide has wrong DB connection URL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
High
|
Hardik Jasani |
Bug Description
Mistral config guide instructs to install python-mysqldb driver for MySQL based databases. But, corresponding DB url conf has mysql+pymysql driver. This causes mistral-server process to crash as soon as it is launched.
$ pip install mysql-python
Configure connection in Mistral config:
[database]
connection = mysql+pymysql:
This page has several grammatical errors too.
Link: https:/
-----
16770 2018-04-10 17:25:59.852 14498 CRITICAL Mistral [-] Unhandled error: ImportError: No module named pymysql
16771 2018-04-10 17:25:59.852 14498 ERROR Mistral Traceback (most recent call last):
16772 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16773 2018-04-10 17:25:59.852 14498 ERROR Mistral sys.exit(main())
16774 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16775 2018-04-10 17:25:59.852 14498 ERROR Mistral launch_
16776 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16777 2018-04-10 17:25:59.852 14498 ERROR Mistral LAUNCH_
16778 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16779 2018-04-10 17:25:59.852 14498 ERROR Mistral server = api_service.
16780 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16781 2018-04-10 17:25:59.852 14498 ERROR Mistral self.app = app.setup_app()
16782 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16783 2018-04-10 17:25:59.852 14498 ERROR Mistral db_api_
16784 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16785 2018-04-10 17:25:59.852 14498 ERROR Mistral IMPL.setup_db()
16786 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16787 2018-04-10 17:25:59.852 14498 ERROR Mistral models.
16788 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16789 2018-04-10 17:25:59.852 14498 ERROR Mistral return _get_facade(
16790 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16791 2018-04-10 17:25:59.852 14498 ERROR Mistral **dict(
16792 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16793 2018-04-10 17:25:59.852 14498 ERROR Mistral slave_connectio
16794 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16795 2018-04-10 17:25:59.852 14498 ERROR Mistral engine_args, maker_args)
16796 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16797 2018-04-10 17:25:59.852 14498 ERROR Mistral sql_connection=
16798 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16799 2018-04-10 17:25:59.852 14498 ERROR Mistral return wrapped(*args, **kwargs)
16800 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16801 2018-04-10 17:25:59.852 14498 ERROR Mistral engine = sqlalchemy.
16802 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16803 2018-04-10 17:25:59.852 14498 ERROR Mistral return _sqlalchemy_
16804 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16805 2018-04-10 17:25:59.852 14498 ERROR Mistral return strategy.
16806 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16807 2018-04-10 17:25:59.852 14498 ERROR Mistral dbapi = dialect_
16808 2018-04-10 17:25:59.852 14498 ERROR Mistral File "/home/
16809 2018-04-10 17:25:59.852 14498 ERROR Mistral return __import_
16810 2018-04-10 17:25:59.852 14498 ERROR Mistral ImportError: No module named pymysql
Changed in mistral: | |
assignee: | nobody → Hardik Jasani (hjasani) |
status: | New → In Progress |
Changed in mistral: | |
importance: | Undecided → High |
Changed in mistral: | |
milestone: | none → rocky-1 |
Fix proposed to branch: master /review. openstack. org/560015
Review: https:/