Name: rpc-hummingbird
Owner: rcbops
Description: Hummingbird, it's like Swift, but faster!
Created: 2017-12-11 21:27:05.0
Updated: 2018-05-21 17:38:45.0
Pushed: 2018-05-21 17:38:44.0
Homepage: null
Size: 20908
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
rpc-hummingbird
deploys Hummingbird as an RPC stand-alone platform in a uniform,
managed, and tested way to ensure version consistency and testing.
By adding automated tests, rpc-hummingbird
provides a way to manage tested
versions of hansible
used in RPC deployments.
rpc-hummingbird
is a thin wrapper around the hansible
repo.
rpc-hummingbird
manages the versions of ansible and hansible
by providing:
hansible
and hummingbird releases.hummingbird bench
.Deploying rpc-hummingbird
uses boostrap.sh
, hansible
, default
group_vars
, and a pre-created playbook.
NOTE: Anything that can be configured with hansible
is configurable with
rpc-hummingbird
.
We do not recommend or use containers for rpc-hummingbired
production deployments.
Containers are setup and used as part of the run_tests.sh
(AIO) testing
strategy only. The default playbooks are not set up to build containers or
configure any of the required container specific roles.
The inventory should consist of the following:
hummingbird
hosts, pointing to the storage nodesmonitoring
host, pointing at the monitoring nodersyslog_all
host, pointing to the existing rsyslog logging server.Configure the following inventory:
An entry in the hummingbird
section with a service_ip
for each host.
Configure a variables file including the following hansible
vars:
Devices, storage_devs
for each host.
Given raw device set disks setup_storage: False
Set the hash prefix hash_prefix
Set the hash suffix hash_suffix
Auth Methoduse_temp_auth
Any other hansible
settings you want to configure.
Run the bootstrap-ansible.sh
inside the scripts directory:
ripts/bootstrap-ansible.sh
This configures ansible at a pre-tested version and clones the required role repositories:
hansible
rsyslog_client
openstack-ansible-plugins
(hansible aio
uses the container template plugin from here).
Run the hansible
playbook from the playbooks directory:
/rpc-hummingbird-ansible-runtime/bin/ansible-playbook -i <link to your inventory file> playbooks/deploy-hummingbird.yml -e @<link to your vars file>
Your deployment should be successful.
NOTE: If there are any errors, troubleshoot as a standard hansible
deployment.
For MaaS integration, perform the following export commands.
Otherwise just use ./run_tests.sh
to build the AIO.
rt PUBCLOUD_USERNAME=<username>
rt PUBCLOUD_API_KEY=<api_key>