Jump to: navigation, search

Difference between revisions of "AmphoraImageOnOtherLinux"

(ArchLinux)
(VoyageLinux)
Line 16: Line 16:
 
## Install the following packages:
 
## Install the following packages:
 
### libffi-dev libssl-dev
 
### libffi-dev libssl-dev
### haproxy keepalived git python-pip gcc
+
### haproxy keepalived git python-pip gcc python-dev
 
## git /opt/amphora-agent https://review.openstack.org/openstack/octavia
 
## git /opt/amphora-agent https://review.openstack.org/openstack/octavia
 
## cd /opt/amphora-agent/
 
## cd /opt/amphora-agent/
 
## pip install -r requirements.txt
 
## 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
 
## python setup.py install

Revision as of 22:56, 18 March 2016

Introduction

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, ):

  1. Download, install VoyageLinux on a HDD (Size=2GB) by following http://linux.voyage.hk/content/getting-started-live-cd-v010x
  2. In a freshly booted system:
    1. apt-get update
    2. Install the following packages:
      1. libffi-dev libssl-dev
      2. haproxy keepalived git python-pip gcc python-dev
    3. git /opt/amphora-agent https://review.openstack.org/openstack/octavia
    4. cd /opt/amphora-agent/
    5. pip install -r requirements.txt
  3. pip install pytz debt-collector netaddr iso8601 monotonic psutil python-dateutil greenlet oslo.concurrency positional python-keystoneclient pyroute2
    1. python setup.py install