1. 28 Feb, 2017 5 commits
    • Always autorestart edxapp workers. · e9dba38d
      By default supervisor will only automatically restart services when they
      exit code is not 0 or 2.
      Edxapp workers sometimes exit with a code of 0 on certain network
      failures, so make sure they are restarted even if exit code is 0.
      Matjaz Gregoric committed
    • Let edxapp role conditionally install openstack requirements. · 18f0e02d
      Based on the value of COMMON_ENABLE_OPENSTACK_INTEGRATION.
      
      Installing requirements from the openstack role created role ordering
      issues where openstack role had to run after the edxapp role so that the
      required folders and the virtual environment are already created, BUT
      edxapp migrations can also depend on the default file storage, which
      will fail when using openstack storage if openstack requirements haven't
      been installed yet.
      
      Letting edxapp role install the requirements solves this problem.
      Matjaz Gregoric committed
    • Make S3 and SWIFT log syncing independent. · 3b3fb4e4
      While COMMON_OBJECT_STORE_LOG_SYNC and related variables are still
      supported, this patch offers a finer grained control over tracking log
      syncing.
      
      Sometimes you want to host edX on openstack (and therefore need to run
      the openstack role), but you still want to sync tracking logs to S3, so
      it does not make sense to tie the choice of log sync store to the
      presence of either aws or openstack role in the playbook.
      Matjaz Gregoric committed
    • Make aws and openstack roles create their own directories. · c76beecf
      The vhost role used to create directories required by the aws and
      openstack roles based on the value of the VHOST_NAME variable, but that
      turned out to be problematic (see https://github.com/edx/configuration/pull/3519).
      
      Remove the VHOST_NAME variable and make each aws and openstack role
      responsible for creating its own directories.
      Matjaz Gregoric committed
    • Optionally use aws/openstack role in edx_sandbox/edx-stateless. · a3bf71be
      This adds two new variables to common_vars:
      
      - COMMON_ENABLE_AWS_INTEGRATION
      - COMMON_ENABLE_OPENSTACK_INTEGRATION
      
      They are both set to False by default. When set to True, the
      corresponding role (aws/openstack) will be automatically included in
      edx_sandbox.yml and edx-stateless.yml playbooks.
      Matjaz Gregoric committed
  2. 23 Feb, 2017 1 commit
  3. 16 Feb, 2017 1 commit
  4. 15 Feb, 2017 1 commit
  5. 13 Feb, 2017 1 commit
  6. 10 Feb, 2017 1 commit
  7. 07 Feb, 2017 6 commits
  8. 06 Feb, 2017 4 commits
  9. 03 Feb, 2017 5 commits
  10. 02 Feb, 2017 2 commits
  11. 01 Feb, 2017 10 commits
  12. 31 Jan, 2017 1 commit
  13. 27 Jan, 2017 1 commit
  14. 26 Jan, 2017 1 commit