Gerrit - gluster/infra-docs GitHub Wiki

We need to upgrade our Gerrit server. It runs on Centos 5. Here's a rough plan of what we plan to do about it

[DONE] Use a separate PostgreSQL instance

  • Risk: Low
  • Planned Automation: PostgreSQL ansible role.
  • Date: Nov 19
  • Setup PostgreSQL on Centos 7 and use a DB on that instance for Gerrit.

Move to a new VM with Centos 7

  • Risk: Medium
  • Planned automation: Gerrit config in Ansible, Apache config in Ansible.
  • Date: Dec 17
  • Create a new VM with Centos 7. Get a staging site working on Centos 7.
  • We need to test replication onto an external server with the right keys to confirm they all work.
  • Once the staging VM is ready, do a quick rsync for /git directory and any config changes
  • Switch out the IP address so we're up and running quickly.

Upgrade Staging with latest Gerrit version

  • Risk: Medium
  • Planned Automation: Gerrit install and setup, python-bugzilla configuration
  • Date: Dec 17
  • Once we've on Centos 7, create a new VM to use as staging.
  • This time upgrade the Gerrit version and make it available for testing for 6 weeks.

Upgrade Gerrit version

  • Risk: Medium
  • Planned Automation
  • Date: Jan 28
  • Once testing is complete, upgrade the Gerrit version in production.