Remove Ubuntu Trusty Support

OpenStack projects in general have stopped testing on Trusty
in Newton. The Ubuntu distribution is not implementing any
of the required distribution binaries that OpenStack depends
on for Newton and above on Trusty.

As a result of these factors, OpenStack-Ansible is dropping
Trusty support in Ocata.

Change-Id: I65801948506f5631689a6ef748dad26f13df3c12
Related-Bug: #1644349
This commit is contained in:
Jesse Pretorius 2016-12-08 10:27:47 +00:00 committed by Jesse Pretorius (odyssey4me)
parent 38c54f3cf2
commit de98fc113c
9 changed files with 14 additions and 26 deletions

View File

@ -25,7 +25,6 @@ Install one of the following supported operating systems on the deployment
hosts: hosts:
* `Ubuntu server 16.04 (Xenial Xerus) LTS 64-bit <http://releases.ubuntu.com/16.04/>`_ * `Ubuntu server 16.04 (Xenial Xerus) LTS 64-bit <http://releases.ubuntu.com/16.04/>`_
* `Ubuntu server 14.04 (Trusty Tahr) LTS 64-bit <http://releases.ubuntu.com/14.04/>`_
Configure at least one network interface to access the Internet or suitable Configure at least one network interface to access the Internet or suitable
local repositories. local repositories.

View File

@ -11,16 +11,9 @@ Software requirements
Ensure that all hosts within an OpenStack-Ansible (OSA) environment meet the Ensure that all hosts within an OpenStack-Ansible (OSA) environment meet the
following minimum requirements: following minimum requirements:
* Ubuntu 16.04 LTS (Xenial Xerus) or Ubuntu 14.04 LTS (Trusty Tahr) * Ubuntu 16.04 LTS (Xenial Xerus)
* OpenStack-Ansible is tested regularly against the latest point releases of * Linux kernel version ``3.13.0-34-generic`` or later is required.
Ubuntu 16.04 LTS and Ubuntu 14.04 LTS.
* Linux kernel version ``3.13.0-34-generic`` or later is required.
* For Trusty hosts, you must enable the ``trusty-backports`` or the
repositories in ``/etc/apt/sources.list`` or
``/etc/apt/sources.list.d/``. For detailed instructions, see the
`Ubuntu documentation <https://help.ubuntu.com/community/
UbuntuBackports#Enabling_Backports_Manually>`_.
* Secure Shell (SSH) client and server that support public key * Secure Shell (SSH) client and server that support public key
authentication authentication

View File

@ -13,7 +13,6 @@ Install one of the following supported operating systems on the
target host: target host:
* Ubuntu server 16.04 (Xenial Xerus) LTS 64-bit * Ubuntu server 16.04 (Xenial Xerus) LTS 64-bit
* Ubuntu server 14.04 (Trusty Tahr) LTS 64-bit
Configure at least one network interface to access the Internet or Configure at least one network interface to access the Internet or
suitable local repositories. suitable local repositories.

View File

@ -54,9 +54,8 @@ packages. We advise mirroring the repositories that host these packages.
Ubuntu repositories to mirror: Ubuntu repositories to mirror:
- trusty - xenial
- trusty-updates - xenial-updates
- trusty-backports
Galera-related repositories to mirror: Galera-related repositories to mirror:

View File

@ -214,8 +214,8 @@ following jobs:
* ``gate-openstack-ansible-linters-ubuntu-xenial``: This job executes * ``gate-openstack-ansible-linters-ubuntu-xenial``: This job executes
the `Lint Tests`_. the `Lint Tests`_.
* ``gate-openstack-ansible-openstack-ansible-aio-ubuntu-trusty``: where * ``gate-openstack-ansible-openstack-ansible-aio-ubuntu-xenial``: where
``aio`` is the scenario, ``ubuntu`` is the distribution, and ``trusty`` ``aio`` is the scenario, ``ubuntu`` is the distribution, and ``xenial``
is the version of the distribution. is the version of the distribution.
The same test is executed against multiple distribution versions, and The same test is executed against multiple distribution versions, and

View File

@ -22,10 +22,9 @@
- name: Check for a supported Operating System - name: Check for a supported Operating System
assert: assert:
that: that:
- ansible_distribution_release | lower == 'trusty' or - (ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial') or
ansible_distribution_release | lower == 'xenial' or (ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7')
"{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}" == "redhat-7" msg: "The only supported platforms for this release are Ubuntu 16.04 LTS (Xenial) and CentOS 7 (WIP)"
msg: "The only supported platforms for this release are Ubuntu 14.04 LTS (Trusty), Ubuntu 16.04 LTS (Xenial) and CentOS 7 (WIP)"
roles: roles:
- role: "openstack_hosts" - role: "openstack_hosts"
tags: tags:

View File

@ -22,7 +22,7 @@ galaxy_info:
platforms: platforms:
- name: Ubuntu - name: Ubuntu
versions: versions:
- trusty - xenial
categories: categories:
- cloud - cloud
- openstack - openstack

View File

@ -16,10 +16,9 @@
- name: Check for a supported Operating System - name: Check for a supported Operating System
assert: assert:
that: that:
- ansible_distribution | lower == 'ubuntu' - (ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial') or
- ansible_distribution_release | lower == 'trusty' or (ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7')
ansible_distribution_release | lower == 'xenial' msg: "The only supported platforms for this release are Ubuntu 16.04 LTS (Xenial) and CentOS 7 (WIP)"
msg: "The only supported platforms for this release are Ubuntu 14.04 LTS (Trusty) and Ubuntu 16.04 LTS (Xenial)"
tags: tags:
- check-operating-system - check-operating-system

View File

@ -83,7 +83,7 @@ repo_build_git_cache: {{ repo_build_git_cache }}
# The container backing store is set to 'overlayfs' to speed up the # The container backing store is set to 'overlayfs' to speed up the
# AIO build time. # AIO build time.
lxc_container_backing_store: "{{ ((ansible_kernel | version_compare('3.18.0-0-generic', '<')) or (ansible_distribution_release | lower == 'trusty')) | ternary('dir', 'overlayfs') }}" lxc_container_backing_store: "{{ (ansible_kernel | version_compare('3.18.0-0-generic', '<')) | ternary('dir', 'overlayfs') }}"
## Enable LBaaSv2 in the AIO ## Enable LBaaSv2 in the AIO
neutron_plugin_base: neutron_plugin_base: