Jump to: navigation, search

Difference between revisions of "AmphoraImageOnOtherLinux"

(VoyageLinux)
(Introduction)
Line 1: Line 1:
 
== Introduction ==
 
== 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.
+
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. For best results follow for instance http://docs.openstack.org/image-guide/ubuntu-image.html
  
 
== AlpineLinux ==
 
== AlpineLinux ==

Revision as of 20:59, 22 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. For best results follow for instance http://docs.openstack.org/image-guide/ubuntu-image.html

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:
  3. mount -o remount rw / # for some reason the disk is ro
  4. fix fstab
    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 https://review.openstack.org/openstack/octavia /opt/amphora-agent
    4. cd /opt/amphora-agent/
    5. pip install -r requirements.txt
  5. pip install pytz debt-collector netaddr iso8601 monotonic psutil python-dateutil greenlet oslo.concurrency positional python-keystoneclient pyroute2
  6. python setup.py install
  7. mkdir /etc/octavia
  8. cp etc/initd/amphora-agent /etc/init.d/