
While upgrading from Mitaka to Newton, the db-collation-alter playbook attempts to convert the existing db and tables to utf8_general_ci but fails. The reason for this was because the FOREIGN_KEY_CHECKS variable in the playbook was being set/reset only for a particular session (i.e. a play) and once the play got over the variable was again reset to its default value(i.e. 1). This patch ensures that the foreign key checks are indeed disabled throughout the playbook by setting the global variable instead of the local one. Change-Id: Ifed6279fcb5f418c1e1a348739bcd50ade42464f Closes-Bug: #1621983
OpenStack-Ansible
OpenStack-Ansible is an official OpenStack project which aims to deploy production environments from source in a way that makes it scalable while also being simple to operate, upgrade, and grow.
For an overview of the mission, repositories and related Wiki home page, please see the formal Home Page for the project.
For those looking to test OpenStack-Ansible using an All-In-One (AIO) build, please see the Quick Start guide.
For more detailed Installation and Operator documentation, please see the Install Guide.
If OpenStack-Ansible is missing something you'd like to see included, then we encourage you to see the Developer Documentation for more details on how you can get involved.
Developers wishing to work on the OpenStack-Ansible project should always base their work on the latest code, available from the master GIT repository at Source.
If you have some questions, or would like some assistance with
achieving your goals, then please feel free to reach out to us on the OpenStack Mailing Lists
(particularly openstack-operators or openstack-dev) or on IRC in
#openstack-ansible
on the freenode network.