|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
− | == Introduction ==
| + | /removed |
− | Disk Image Builder builds Ubuntu, Fedora, and other images and this should be preferred because it ensures the latest version of Octavia is used and deployed. Some installations (notably devstack on memory challenged machines) require a smaller footprint. This page explore the step which need to be taken to create amphora imaged with alternate Linux.
| |
− | | |
− | == AlpineLinux ==
| |
− | Couldn't find an cloud-init package so passing...
| |
− | | |
− | == VoyageLinux ==
| |
− | Home Page: http://linux.voyage.hk/features
| |
− | | |
− | VoyageLinux is based on Debian which makes it very promising as an amphora VM.
| |
− | | |
− | In your VM tool of choice (vmware, virtual box, ):
| |
− | # Download, install VoyageLinux on a HDD (Size=2GB) by following http://linux.voyage.hk/content/getting-started-live-cd-v010x
| |
− | # In a freshly booted system:
| |
− | # mount -o remount rw / # for some reason the disk is ro
| |
− | # fix fstab
| |
− | ## apt-get update
| |
− | ## Install the following packages:
| |
− | ### libffi-dev libssl-dev
| |
− | ### haproxy keepalived git python-pip gcc python-dev
| |
− | ## git https://review.openstack.org/openstack/octavia /opt/amphora-agent
| |
− | ## cd /opt/amphora-agent/
| |
− | ## pip install -r requirements.txt
| |
− | # pip install pytz debt-collector netaddr iso8601 monotonic psutil python-dateutil greenlet oslo.concurrency positional python-keystoneclient pyroute2
| |
− | # python setup.py install
| |
− | # mkdir /etc/octavia
| |
− | # cp etc/initd/amphora-agent /etc/init.d/
| |