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.
Eventually there will be community generated disk images for download upstream though it is stringly recommended to build your own images to have tighter control over security patches, etc. Refer to Building Octavia Iamges
-
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]