Support debian 11 "bullseye"

Change-Id: Iebf15915ac6cd1c6a575923bf1b4828fab7b1385
This commit is contained in:
Riccardo Pittau 2021-08-27 09:57:02 +02:00
parent e2928841ec
commit a2a9b7267b
9 changed files with 28 additions and 15 deletions

View File

@ -16,13 +16,15 @@ Supported operating systems
* CentOS Stream 8 * CentOS Stream 8
* Ubuntu 20.04 "Focal" * Ubuntu 20.04 "Focal"
* Debian 10 "Buster" * Debian 11 "Bullseye"
2nd tier support (limited testing or known issues): 2nd tier support (limited testing):
* Ubuntu 18.04 "Bionic" * Ubuntu 18.04 "Bionic"
* Debian 10 "Buster
Tested in the Bifrost CI, but no longer tested in the ironic upstream CI. Tested in the Bifrost CI only as non-voting jobs (does not block CI in case
of failure).
* RHEL 8 and regular CentOS 8 * RHEL 8 and regular CentOS 8

View File

@ -231,7 +231,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 Buster based IPA image, if a pre-existing IPA playbook will build a Debian Bullseye 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

@ -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 ``buster`` release. the ``bullseye`` release.
dib_os_release: buster dib_os_release: bullseye
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

@ -108,9 +108,9 @@
when: when:
- dib_packages is defined - dib_packages is defined
- dib_packages | length > 0 - dib_packages | length > 0
- name: "Set default of Debian Buster if building debian and not explicitly set, overwride with dib_os_release setting" - name: "Set default of Debian Bullseye if building debian and not explicitly set, override with dib_os_release setting"
set_fact: set_fact:
dib_os_release: "buster" dib_os_release: "bullseye"
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

@ -10,9 +10,8 @@ grub_efi_binary: /usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed
shim_efi_binary: /usr/lib/shim/shimx64.efi.signed shim_efi_binary: /usr/lib/shim/shimx64.efi.signed
required_packages: required_packages:
- mariadb-server - mariadb-server
- python-dev - python3-dev
- python-mysqldb - python3-mysqldb
- python-configparser
- libffi-dev - libffi-dev
- libxslt1-dev - libxslt1-dev
- libssl-dev - libssl-dev
@ -28,7 +27,7 @@ required_packages:
- uuid-runtime - uuid-runtime
- curl - curl
- socat - socat
- python-pip - python3-pip
- gcc - gcc
- dnsmasq - dnsmasq
- apache2-utils - apache2-utils

View File

@ -3,9 +3,8 @@ init_dest_dir: /lib/systemd/system/
mysql_service_name: mysql mysql_service_name: mysql
required_packages: required_packages:
- mariadb-server - mariadb-server
- python-dev - python3-dev
- python-mysqldb - python3-mysqldb
- python-configparser
- libffi-dev - libffi-dev
- libxslt1-dev - libxslt1-dev
- libssl-dev - libssl-dev

View File

@ -0,0 +1,4 @@
---
features:
- |
Debian Bullseye (11.0) is now supported as a base operating system.

View File

@ -154,11 +154,17 @@
test_driver: redfish test_driver: redfish
use_vmedia: true use_vmedia: true
#NOTE(rpittau): remove buster support in Z or later
- job: - job:
name: bifrost-integration-tinyipa-debian-buster name: bifrost-integration-tinyipa-debian-buster
parent: bifrost-integration-tinyipa parent: bifrost-integration-tinyipa
nodeset: debian-buster nodeset: debian-buster
- job:
name: bifrost-integration-tinyipa-debian-bullseye
parent: bifrost-integration-tinyipa
nodeset: debian-bullseye
- job: - job:
name: bifrost-integration-tinyipa-opensuse-15 name: bifrost-integration-tinyipa-opensuse-15
parent: bifrost-integration-tinyipa parent: bifrost-integration-tinyipa

View File

@ -11,6 +11,7 @@
- bifrost-integration-tinyipa-centos-8 - bifrost-integration-tinyipa-centos-8
- bifrost-integration-tinyipa-keystone-ubuntu-focal - bifrost-integration-tinyipa-keystone-ubuntu-focal
- bifrost-integration-tinyipa-keystone-centos-8 - bifrost-integration-tinyipa-keystone-centos-8
- bifrost-integration-tinyipa-debian-bullseye
- bifrost-integration-redfish-vmedia-uefi-ubuntu-focal - bifrost-integration-redfish-vmedia-uefi-ubuntu-focal
- bifrost-integration-redfish-vmedia-uefi-centos-8 - bifrost-integration-redfish-vmedia-uefi-centos-8
- bifrost-upgrade-ubuntu-focal - bifrost-upgrade-ubuntu-focal
@ -22,6 +23,7 @@
voting: false voting: false
- bifrost-integration-tinyipa-fedora-latest: - bifrost-integration-tinyipa-fedora-latest:
voting: false voting: false
#NOTE(rpittau): remove buster support in Z or later
- bifrost-integration-tinyipa-debian-buster: - bifrost-integration-tinyipa-debian-buster:
voting: false voting: false
- bifrost-integration-redfish-uefi-fedora-latest: - bifrost-integration-redfish-uefi-fedora-latest:
@ -61,6 +63,7 @@
- bifrost-integration-tinyipa-centos-8 - bifrost-integration-tinyipa-centos-8
- bifrost-integration-tinyipa-keystone-ubuntu-focal - bifrost-integration-tinyipa-keystone-ubuntu-focal
- bifrost-integration-tinyipa-keystone-centos-8 - bifrost-integration-tinyipa-keystone-centos-8
- bifrost-integration-tinyipa-debian-bullseye
- bifrost-integration-redfish-vmedia-uefi-ubuntu-focal - bifrost-integration-redfish-vmedia-uefi-ubuntu-focal
- bifrost-integration-redfish-vmedia-uefi-centos-8 - bifrost-integration-redfish-vmedia-uefi-centos-8
- bifrost-upgrade-ubuntu-focal - bifrost-upgrade-ubuntu-focal