[BB-3686] Change ANSIBLE_APPSERVER_REQUIREMENTS_PATH to requirements_ansible_2.8.17.txt
Created by: 0x29a
Changes ANSIBLE_APPSERVER_REQUIREMENTS_PATH
to requirements_ansible_2.8.17.txt
and adds migration to update default value in the database.
Currently, when we want to run koa/master Open edX app server, we have to use a separate branch from ansible-playbooks
repo. So, we always need to rebase this branch from master. This PR solves this issue and enables Ansible 2.8.17 for appserver.yml
playbook by default.
With fixes that are already merged in master
, Ansible 2.8.17 has proven to be stable for Ubuntu 16.04 and 20.04, so this change is safe.
JIRA tickets:
Dependencies:
Testing instructions:
- Attach to the stage Ocim screen, and switch window to
bash
. - Checkout branch to
0x29a/bb3686/change_default_appserver_requirements_file
. - Switch window to
ipython
and restart the shell. - Ensure that
settings.ANSIBLE_APPSERVER_REQUIREMENTS_PATH
equals torequirements_ansible_2.8.17.txt
. - Switch window to
bash
and runmake migrate
. - After migration is finished, switch back to
ipython
window and create test instance:production_instance_factory(sub_domain='bb3686')
. - Go to https://stage.manage.opencraft.com/admin/, open settings for the instance with
bb3686
sub-domain. -
You should see that
Ansible appserver requirements path
is equal torequirements_ansible_2.8.17.txt
. - Change
Ansible appserver version
to0x29a/bb3686/separe_requirements_file_for_ansible2.8.17
. - Leave
Openstack server base image
as is. Our goal is to check that everything works for current default release,juniper.3
. - Create app server for this instance and ensure that it provisioned fine.
Reviewers