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:
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
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.
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.
-
Update the host to the latest packages
apt-get update && apt-get -y dist-upgrade && reboot
-
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
-
Install Octavia
cd /opt git clone https://github.com/rcbops/rpc-octavia.git cd rpc-octavia ./scripts/deploy.sh
-
Build, upload and tag an amphora image before you can use Octavia
-
Update the host to the latest packages
apt-get update && apt-get -y dist-upgrade && reboot
-
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
-
Run tests ./gating/[pre_merge_test|post_merge_test]/[pre|run|post]
-
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