OpenStackCharms

Revision 9 as of 2016-02-18 07:54:11

Clear message

Charm Use: OpenStack Origin

The majority of OpenStack charms support the configuration option 'openstack-origin'. This option allows the charm to source various different releases of OpenStack from the Ubuntu distribution, the Ubuntu Cloud Archive and from various other sources.

Ubuntu

To use the version of OpenStack that shipped as part of an Ubuntu release, simple set:

openstack-origin: distro

This format also supports testing of charms with versions of OpenStack in the SRU process:

openstack-origin: distro-proposed

As a reference, here are the mappings between OpenStack release and Ubuntu release:

Ubuntu Release

Ubuntu Codename

OpenStack Release

12.04

Precise

Essex

14.04

Trusty

Icehouse

15.04

Vivid

Kilo

15.10

Wily

Liberty

16.04

Xenial

Mitaka

NOTE: Xenial/Mitaka is still in development.

Ubuntu Cloud Archive

The Ubuntu Cloud Archive provides backports of OpenStack releases to Ubuntu 14.04 LTS and to Ubuntu 12.04 LTS.

Ubuntu 14.04

Supported values for Ubuntu 14.04 LTS include:

openstack-origin: cloud:trusty-juno
openstack-origin: cloud:trusty-kilo
openstack-origin: cloud:trusty-liberty

Again, proposed updates in the stable release update process may also be tested:

openstack-origin: cloud:trusty-juno/proposed
openstack-origin: cloud:trusty-kilo/proposed
openstack-origin: cloud:trusty-liberty/proposed

Ubuntu 12.04

Supported values for Ubuntu 12.04 LTS include:

openstack-origin: cloud:precise-icehouse

Again, proposed updates in the stable release update process may also be tested:

openstack-origin: cloud:precise-icehouse/proposed

Using PPA's

The openstack-origin option also supports use of PPA's, however the name of the PPA must include the release codename of the OpenStack release it contains, for example:

openstack-origin: ppa:james-page/liberty-testing

Using 'deb...' source entries

The openstack-origin option also supports direct entry of 'deb...' source entries, with an optional GPG key for authentication of packages, for example:

openstack-origin: "deb http://ppa.launchpad.net/james-page/liberty-testing/ubuntu trusty main|448413DC"

The above example manual configures the sources file with the equivalent of the example given for PPA's. Again the provided value must contain the release of OpenStack that the archive contains.