Skip to content

Flask web app for Gluster cluster over Rackspace cloud.

Notifications You must be signed in to change notification settings

nigelbabu/softserve

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Softserve

Web application for self serving fixed duration VMs to carry out debugging in Gluster project. The served VMs will get automatically removed after a fixed number of hours (4 hrs, can be changed lately).

Installation

  • Before you start installation make sure you have a working installation of python2
  • Create and activate virtualenv
  • In your virtualenv run pip install -r requirements.txt
  • Now you are all ready with the installation and development

Goals

  • Launch the VMs as per the need of the user.
  • Tear down automatically after a specific number of hours. This is a requirement so that the machine time is used judicially and tied down to a specific bug
  • Allow users who are in the Gluster organization on Github to request VMs.
  • Users should be able to upload their SSH public key and they will get access to the machines when it is created.
  • Maximum allowance of 20 VMs at a time across all the user.
  • Send the notification to the user half an hour before terminating the VM ( when meeting the deadline of the 4 hours)

Usage

  • Run migrations and setup database python manage.py db upgrade
  • To run the softserve app on localhost run python manage.py runserver
  • Create application.cfg and add DEBUG=True to it to enable debug mode for your flask app
  • By default fstat reads and writes the data into sqlite but it can be overriden in your application.cfg

TODO

  • Add the deleting functionality in the code
  • Write down the test cases

About

Flask web app for Gluster cluster over Rackspace cloud.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 74.5%
  • HTML 13.2%
  • CSS 12.3%