Giter Club home page Giter Club logo

rt's Introduction

Request Tracker

Build Status

rt is the OCF's ticketing system, used both for internal tickets as well as for our public email lists.

This repo is designed to be an example of a simple OCF service running on Mesos. RT is an ideal service to start with because:

  • All state is isolated into the database, so assuming each instance can access the same DB, they don't need to coordinate in any way.

  • Okay to run multiple instances at once and kill them at any time (unlike other services like IRC which can only tolerate one instance, and don't cope well with that instance randomly dying).

Upgrading

Deploying new major releases of RT involves more work than just building a new Docker image and deploying that on Marathon. Here are some general instructions for updating Request Tracker:

  1. Read the release notes to find out what you might need to change in the RT configuration. In particular, you'll want to read the README and UPGRADING-x.y files in the RT documentation.

  2. Make any necesary configuration changes. Most configuration changes will go into the 99-ocf.pm file. You may also have to change other files as well.

  3. Run make test to perform a smoke test. This will test to ensure that the Docker image can be built and database setup works. Just because you passed the test, though, doesn't mean it necessarily works yet.

  4. Backup and upgrade the database. First, backup the RT database with

    mysqldump -u ocfrt ocfrt > ocfrt.sql
    

    This gives you a backup of the RT database at ocfrt.sql, in case something goes very wrong.

    Next, upgrade the RT database with

    rt-setup-database --action upgrade --dba ocfrt
    

    You'll need the password for the ocfrt account, which you can find under /opt/share/docker/secrets/rt on the hypervisors.

  5. Push your changes to GitHub and let Marathon deploy them. Test to make sure everything is working, and go back and make any changes as necessary.

rt's People

Contributors

abizer avatar bzh-bzh avatar cg505 avatar chriskuehl avatar dkess avatar encadyma avatar ethanhs avatar fawaf avatar ja5087 avatar jvperrin avatar kalissaac avatar kpengboy avatar singingtelegram avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rt's Issues

Add a development mode

It's hard to test changes to RT in a local development environment. It looks like there's a docker-compose.yml file to facilitate this, but it's not clear how to use it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.