Skip to content

cloudbase/arestor

Repository files navigation

Arestor description

Build Status

Arestor is an HTTP framework used to substitute and control cloud providers metadata. It is used in integration with the Cloudbase-init-ci framework, to test Cloudbase-init in a fully controlled environment with various HTTP metadata sources like AWS, OpenStack, CloudStack, MAAS or OpenNebula.

Arestor is the answer to the complex mix of cloud providers specific HTTP metadata implementation and formats. It is very hard to have at our disposal various OpenStack, CloudStack, MAAS deployments with various hardware or configurable requirements, when all we need is just a controlled way in which to access the cloud specific metadata. This way, we can have the instances spawned up using only an OpenStack environment, which considerably simplifies the testing infrastructure.

Arestor quickstart on Ubuntu 16.04

You first need to install Arestor. This is done with pip after you check out the Arestor repo:

~ $ sudo apt-get install redis-server vim git python-dev -y
~ $ git clone https://github.com/cloudbase/arestor.git
~ $ cd arestor
~ $ git checkout feature/resource-management
~ $ pip install virtualenv
~ $ virtualenv .venv/arestor
~ $ source .venv/arestor/bin/activate
~ $ pip install ../arestor
~ $ python setup.py install
~ $ oslo-config-generator --config-file etc/arestor/arestor-config-generator.conf
~ $ mkdir /etc/arestor/
~ $ cp etc/arestor/arestor.conf.sample /etc/arestor/arestor.conf

Running Arestor:

~ $ arestor server start # To start running the Arestor server

Notes

On Windows you will need to install these dependencies, in order for the Arestor installation to be successful:

Make sure the arestor.conf file has been modified properly before trying to run Arestor, otherwise it will run with the default values.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages