Peter Lomakin a9b8de3766 Update readme description
Add installation manual for CentOS and fix
steps for application deploying and running under Ubuntu.

Changed default port for webui from 8000 to 8008 to run it near other
web applications.

Removed old Procfile for production.

Change-Id: I1472bf2e726078b3d12a7b978cb10ebe8cb8cc09
Closes-Bug: #1256920
2013-12-02 17:46:13 +04:00
2013-11-21 18:00:27 +04:00
2013-10-23 14:26:31 +04:00
2013-10-23 14:50:12 +04:00
2013-12-02 17:46:13 +04:00
2013-10-23 14:50:12 +04:00
2013-10-17 13:46:19 +04:00
2013-10-17 23:49:05 +04:00
2013-12-02 17:46:13 +04:00
2013-12-02 17:46:13 +04:00

Rubick

Rubick is a tool to analyze OpenStack installation for possible problems. It consists of two processes:

  1. Discovery - find all OpenStack components and collect information about them.
  2. Analyze - perform various checks of discovered data to ensure consistency and conformance to best practices.

Installation

Completely environment in VirtualBox via Vagrant

  1. Install vagrant(MacOS, Windows, Ubuntu) - http://downloads.vagrantup.com/tags/v1.3.3 and latest version of Virtualbox
  2. $ vagrant up && vagrant provision
  3. After that you can access application on http://host_machine_ip:8008/
  4. For testing purposes of your application you can install latest-devstack installation via vagrant. We strongly recommend you to use this repo: https://github.com/lorin/devstack-vm. There are a lot of choices for devstack installation for Rubick to validate: with or without neutron\swift\security_groups\tempest etc.
  5. After that youll get full worked environment with Rubick and OpenStack.

Manual installation and running

For Ubuntu:

$ git clone https://github.com/stackforge/rubick && cd rubick
$ sudo apt-get install build-essential mongodb-server redis-server python-pip
$ sudo pip install -r requirements.txt
$ honcho start

For CentOS:

Follow the official documentation to take enable EPEL repo in your system: http://fedoraproject.org/wiki/EPEL/FAQ#How_can_I_install_the_packages_from_the_EPEL_software_repository After that install dependencies and run an application.

$ git clone https://github.com/stackforge/rubick && cd rubick
$ sudo yum install build-essential mongodb-server redis-server python-pip
$ sudo pip install -r requirements.txt
$ honcho start

Note: If you use fuel-pm node as a rubicks destination node, you'll need to return CentOS base repositaries in the yum settings.

Note2: All steps for manual deployment and running the app you can find here: /vagrant/cookbooks/openstack-validator/recipes/default.rb

Rubick usage

Open http://host_machine_ip:8008/ with web-browser, host_machine_ip - address your application is installed. Add new cluster by pushing the button “Add cluster” and fill the fields:

  1. “Cluster name” - with name of your cluster (e.g. local_devstack )
  2. “Description” - with description (e.g. VBox installation of devstack)
  3. “Ip Address“ - with username@host:port (e.g. vagrant@192.168.27.100)
  4. “SSH key“ - with ssh-key to access the virual machine (e.g. can be find in the directory ~/.vagrant.d/insecure_private_key for Vagrant nodes)
  5. Press “Create”

After that you can select your cluster to run validations or select the rulest before validation.

Rubick Command Line usage examples

$ python rubick/cli.py -h
$ python rubick/cli.py -l -v http://<host>:8008
$ python rubick/cli.py -a -n 'New_cluster_name' -d 'New description' -H 'root@10.10.3.1:2022' -k ~/.ssh/id_rsa http://<host>:8008

Note: Your public key must be without passphrase.

Hacking

To check project on compliance to PEP8 run command use: tox -v.

Description
RETIRED, Rule-based diagnostics of configuration of OpenStack platform
Readme 6.3 MiB