rcbops/rpc-octavia

Name: rpc-octavia

Owner: rcbops

Description: Adding tentative support for Octavia to RPC-Openstack

Created: 2017-09-18 16:24:42.0

Updated: 2018-05-09 16:33:16.0

Pushed: 2018-05-17 19:24:04.0

Homepage: null

Size: 117

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

rpc-octavia

This integrated Pike Octavia with Newton RPC-O.

In the future this repo might include script to update/remove things once RPC-O Pike is ready.

Below you will find three prerequisits for installing Octavia:

Octavia SSL Certificates

The system will automatically create the necessary certificates in /var/tmp/certs - to disable this behavior set ansible variable generate_client_cert to False

Please note that the default values in 'vars/certs.yml' are suboptimal and should be reviewed.

In any case make sure to backup the generated certs in a safe place for further use.

For more information refer to Creating the Cryptographic Certificates

Octavia Networking Setup

The AIO configuration aims to setup the necessary bridge and network automatically by overwriting some default files. This is not scalable to production and hence the guide in Setup a Neutron Network for Octavia should be followed.

Octavia Diskimage Creation

As part of the gate tests (pre and run) the system will automatically create an image in <PWD>/amp-image. You can use that image to install in the system as described in Building Octavia Images. It is recommended to use images from an official source if possible.

Additional Information
Apendix
Setup an AIO
  1. Update the host to the latest packages

    apt-get update && apt-get -y dist-upgrade && reboot

  2. Install RPC-O as an AIO

    add-apt-repository ppa:canonical-kernel-team/ppa add-apt-repository ppa:ubuntu-toolchain-r/ppa cd /opt git clone –recursive -b newton https://github.com/rcbops/rpc-openstack.git cd rpc-openstack/ export DEPLOY_AIO=“yes” ./scripts/deploy.sh

  3. Install Octavia

    cd /opt git clone https://github.com/rcbops/rpc-octavia.git cd rpc-octavia ./scripts/deploy.sh

  4. Build, upload and tag an amphora image before you can use Octavia

Run tests (post gate)
  1. Update the host to the latest packages

    apt-get update && apt-get -y dist-upgrade && reboot

  2. Prepare tests (this might go away eventually)

    add-apt-repository ppa:canonical-kernel-team/ppa add-apt-repository ppa:ubuntu-toolchain-r/ppa cd /opt git clone https://github.com/rcbops/rpc-octavia.git cd rpc-octavia

  3. Run tests ./gating/[pre_merge_test|post_merge_test]/[pre|run|post]

  4. Once you ran pre and it failed you might need to run:

    apt-get install libicu55=55.1-7ubuntu0.2 libssl1.0.0=1.0.2g-1ubuntu4.8


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.