Remove support for Ubuntu Xenial and Debian Stretch

They're broken already, no point in officially supporting them.
Bring support back would require supporting Python 3.5 and other
old packages.

Change-Id: I8012f0cdf2430723379367eb6ab49c3fc0b3d32a
This commit is contained in:
Dmitry Tantsur 2020-06-03 09:52:13 +02:00
parent ccdfa1d02d
commit 979bcae918
16 changed files with 22 additions and 73 deletions

View File

@ -20,7 +20,7 @@ Installation and use of bifrost is split into roughly three steps:
Supported operating systems: Supported operating systems:
* Ubuntu 16.04, 18.04 * Ubuntu 18.04
* Red Hat Enterprise Linux (RHEL) 8 * Red Hat Enterprise Linux (RHEL) 8
* CentOS 8 * CentOS 8
* openSUSE Leap 15.1 * openSUSE Leap 15.1

View File

@ -275,7 +275,7 @@ Bifrost supports the ability for a user to build a custom IPA ramdisk
utilizing diskimage-builder and ironic-python-agent-builder. In order utilizing diskimage-builder and ironic-python-agent-builder. In order
to utilize this feature, the ``download_ipa`` setting must be set to ``false`` to utilize this feature, the ``download_ipa`` setting must be set to ``false``
and the create_ipa_image must be set to "true". By default, the install and the create_ipa_image must be set to "true". By default, the install
playbook will build a Debian stretch based IPA image, if a pre-existing IPA playbook will build a Debian Buster based IPA image, if a pre-existing IPA
image is not present on disk. If you wish to explicitly set a specific release image is not present on disk. If you wish to explicitly set a specific release
to be passed to diskimage-create, then the setting ``dib_os_release`` can be to be passed to diskimage-create, then the setting ``dib_os_release`` can be
set in addition to ``dib_os_element``. set in addition to ``dib_os_element``.

View File

@ -40,7 +40,7 @@ Setup vagrant by:
Configure Vagrant with the correct box:: Configure Vagrant with the correct box::
vagrant box add ubuntu/xenial64 vagrant box add ubuntu/bionic64
Clone bifrost repo:: Clone bifrost repo::

View File

@ -11,11 +11,9 @@ galaxy_info:
- 8 - 8
- name: Ubuntu - name: Ubuntu
versions: versions:
- xenial
- bionic - bionic
- name: Debian - name: Debian
versions: versions:
- stretch
- buster - buster
categories: categories:
- cloud - cloud

View File

@ -59,9 +59,9 @@ dib_os_release can be utilized to set the DIB_RELEASE environment
variable for semi-dynamic disk image creation by a user or the variable for semi-dynamic disk image creation by a user or the
test script. By default, it is not set, but an example if test script. By default, it is not set, but an example if
dib_os_element is set to ``debian``, then a user could choose dib_os_element is set to ``debian``, then a user could choose
the ``stretch`` release. the ``buster`` release.
dib_os_release: stretch dib_os_release: buster
All the other command-line options to disk-image-create or All the other command-line options to disk-image-create or
ramdisk-image-create can be used by the role. The following is a list ramdisk-image-create can be used by the role. The following is a list

View File

@ -11,11 +11,9 @@ galaxy_info:
- 8 - 8
- name: Debian - name: Debian
versions: versions:
- stretch
- buster - buster
- name: Ubuntu - name: Ubuntu
versions: versions:
- xenial
- bionic - bionic
categories: categories:
- cloud - cloud

View File

@ -111,9 +111,9 @@
set_fact: set_fact:
dib_packages_arg: "-p {{dib_packages}}" dib_packages_arg: "-p {{dib_packages}}"
when: dib_packages is defined and dib_packages != "" when: dib_packages is defined and dib_packages != ""
- name: "Set default of Debian Stretch if building debian and not explicitly set, overwride with dib_os_release setting" - name: "Set default of Debian Buster if building debian and not explicitly set, overwride with dib_os_release setting"
set_fact: set_fact:
dib_os_release: "stretch" dib_os_release: "buster"
when: dib_os_element == "debian" and dib_os_release is undefined when: dib_os_element == "debian" and dib_os_release is undefined
- name: "Initialize DIB source-repository variables" - name: "Initialize DIB source-repository variables"
set_fact: set_fact:

View File

@ -11,11 +11,9 @@ galaxy_info:
- 8 - 8
- name: Debian - name: Debian
versions: versions:
- stretch
- buster - buster
- name: Ubuntu - name: Ubuntu
versions: versions:
- xenial
- bionic - bionic
categories: categories:
- cloud - cloud

View File

@ -11,11 +11,9 @@ galaxy_info:
- 8 - 8
- name: Debian - name: Debian
versions: versions:
- stretch
- buster - buster
- name: Ubuntu - name: Ubuntu
versions: versions:
- xenial
- bionic - bionic
categories: categories:
- cloud - cloud

View File

@ -1,36 +0,0 @@
---
init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service
required_packages:
- mariadb-server
- python3-dev
- python3-mysqldb
- python3-pymysql
- python3-setuptools
- libffi-dev
- libxslt1-dev
- libssl-dev
- libxml2-dev
- ipxe
- tftpd-hpa
- tftp-hpa
- xinetd
- parted
- iptables
- bsdmainutils
- ipmitool
- psmisc
- nginx
- wget
- genisoimage
- kpartx
- qemu-utils
- debootstrap
- uuid-runtime
- curl
- dnsmasq
# NOTE(TheJulia): The above entry for dnsmasq must be the last entry in the
# package list as the installation causes name resolution changes that can
# temporarily block packages following it while the system is being
# reconfigured. See: https://review.opendev.org/#/c/223813

View File

@ -1,19 +0,0 @@
---
init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service
required_packages:
- mariadb-server
- python3-dev
- python3-mysqldb
- python3-pymysql
- python3-setuptools
- libffi-dev
- libxslt1-dev
- libssl-dev
- libxml2-dev
- nginx
- uwsgi
- uwsgi-core
# - python-django-uwsgi - This may not be needed
- uwsgi-plugin-python3

View File

@ -6,9 +6,15 @@ galaxy_info:
license: Apache license: Apache
min_ansible_version: 2.1 min_ansible_version: 2.1
platforms: platforms:
- name: EL
versions:
- 8
- name: Ubuntu - name: Ubuntu
versions: versions:
- xenial - bionic
- name: Debian
versions:
- buster
categories: categories:
- cloud - cloud
- cloud:openstack - cloud:openstack

View File

@ -77,9 +77,9 @@
# NOTE(TheJulia): While the next step creates a ramdisk, some elements # NOTE(TheJulia): While the next step creates a ramdisk, some elements
# do not support ramdisk-image-create as they invoke steps to cleanup # do not support ramdisk-image-create as they invoke steps to cleanup
# the ramdisk which causes ramdisk-image-create to believe it failed. # the ramdisk which causes ramdisk-image-create to believe it failed.
- { role: bifrost-create-dib-image, dib_imagename: "{{ http_boot_folder }}/ipa", build_ramdisk: false, dib_os_element: "{{ ipa_dib_os_element|default('debian') }}", dib_os_release: "stretch", dib_elements: "ironic-python-agent-ramdisk {{ ipa_extra_dib_elements | default('') }}", dib_packages: "bsdmainutils", when: create_ipa_image | bool } - { role: bifrost-create-dib-image, dib_imagename: "{{ http_boot_folder }}/ipa", build_ramdisk: false, dib_os_element: "{{ ipa_dib_os_element|default('debian') }}", dib_os_release: "buster", dib_elements: "ironic-python-agent-ramdisk {{ ipa_extra_dib_elements | default('') }}", dib_packages: "bsdmainutils", when: create_ipa_image | bool }
# NOTE(TheJulia): This creates the guest image. # NOTE(TheJulia): This creates the guest image.
- { role: bifrost-create-dib-image, dib_imagetype: "qcow2", dib_imagename: "{{deploy_image}}", dib_os_element: "debian", dib_os_release: "stretch", dib_elements: "vm enable-serial-console simple-init {{ extra_dib_elements|default('') }}", when: create_image_via_dib | bool and not transform_boot_image | bool } - { role: bifrost-create-dib-image, dib_imagetype: "qcow2", dib_imagename: "{{deploy_image}}", dib_os_element: "debian", dib_os_release: "buster", dib_elements: "vm enable-serial-console simple-init {{ extra_dib_elements|default('') }}", when: create_image_via_dib | bool and not transform_boot_image | bool }
- role: bifrost-keystone-client-config - role: bifrost-keystone-client-config
user: "{{ ansible_env.SUDO_USER | default(ansible_user_id) }}" user: "{{ ansible_env.SUDO_USER | default(ansible_user_id) }}"
clouds: clouds:

View File

@ -0,0 +1,6 @@
---
other:
- |
Support for Ubuntu Xenial and Debian Stretch has been officially removed
(Bifrost has been broken on them since Ussuri because of the transition
to Python 3.6).