Remove mysql-python

The mysql-python package is no longer maintained. We are using
pymysql instead, so this package does not need to be installed.

The tacker.conf file wasn't set to use pymysql, so we correct
that.

Change-Id: I7346071d52f2b12802af42236af69b362f2f9d9d
This commit is contained in:
Jesse Pretorius 2018-09-15 12:32:53 -06:00
parent 142dadbf29
commit 4f1fe6ead3
2 changed files with 1 additions and 2 deletions

View File

@ -145,7 +145,6 @@ tacker_service_in_ldap: false
## Common pip packages
tacker_pip_packages:
- mysql-python
- networking-sfc
- osprofiler
- PyMySQL

View File

@ -95,7 +95,7 @@ auth_type = {{ tacker_keystone_auth_plugin }}
# be set in the corresponding core plugin '.ini' file. However, it is suggested
# to put the [database] section and its connection attribute in this
# configuration file.
connection = mysql://{{ tacker_galera_user }}:{{ tacker_container_mysql_password }}@{{ tacker_galera_address }}/{{ tacker_galera_database }}?charset=utf8{% if tacker_galera_use_ssl | bool %}&ssl_ca={{ tacker_galera_ssl_ca_cert }}{% endif %}
connection = mysql+pymysql://{{ tacker_galera_user }}:{{ tacker_container_mysql_password }}@{{ tacker_galera_address }}/{{ tacker_galera_database }}?charset=utf8{% if tacker_galera_use_ssl | bool %}&ssl_ca={{ tacker_galera_ssl_ca_cert }}{% endif %}
# Specify drivers for mgmt
mgmt_driver = noop,openwrt