From 4f1fe6ead349a42db73ca53334831d34b719d332 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Sat, 15 Sep 2018 12:32:53 -0600 Subject: [PATCH] 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 --- defaults/main.yml | 1 - templates/tacker.conf.j2 | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index de37ab1..82e9b3e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -145,7 +145,6 @@ tacker_service_in_ldap: false ## Common pip packages tacker_pip_packages: - - mysql-python - networking-sfc - osprofiler - PyMySQL diff --git a/templates/tacker.conf.j2 b/templates/tacker.conf.j2 index 2c3879f..b73d4f7 100644 --- a/templates/tacker.conf.j2 +++ b/templates/tacker.conf.j2 @@ -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