Skip to content

Virtual machine expiration tool for OpenNebula

License

Notifications You must be signed in to change notification settings

the-berta-project/berta

Repository files navigation

Berta

Berta

Build Status Coverage Status Maintainability Gem Version

Berta cleans cloud from unused vms. She sets expiration to all virtual machines and when expiration is close she will notify owners. Berta is developed as ruby gem.

Getting started

Installation

From rubygems:

gem install berta

From source:

git clone https://github.com/the-berta-project/berta.git
cd berta
gem install bundler
bundle install

Configuration

Config files can be located in:

  • ~/.berta/berta.yml
  • /etc/berta/berta.yml
  • PATH_TO_GEM_DIR/config/berta.yml

Execution

Berta needs access to opennebula backend. To do that she needs to know opennebula secret and endpoint. This can be specified in config file, as command line options or by creating one_auth file in ~/.one. To run berta simply type:

berta
# or if backend and secret are not set
berta --opennebula-secret=<secret> --opennebula-endpoint=<endpoint>