From 5dc75c59441f3bb9b716c902c48417dfdf5f68c7 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Wed, 9 Jun 2021 13:35:00 -0400 Subject: [PATCH] Build images for Fedora 34 This patch adds all the images to build Fedora 34 using the new container element. Depends-On: https://review.opendev.org/c/opendev/system-config/+/795602 Change-Id: Ifc650adbcb5ae6ed1f7ce50a4de58004ef020acc --- grafana/create-nodepool-dib.sh | 1 + grafana/nodepool-dib.yaml | 52 ++++++++++++++++++++++++++++++++++ nodepool/nl01.opendev.org.yaml | 10 +++++++ nodepool/nl02.opendev.org.yaml | 19 +++++++++++++ nodepool/nl03.opendev.org.yaml | 16 +++++++++++ nodepool/nl04.opendev.org.yaml | 9 ++++++ nodepool/nodepool.yaml | 11 +++++++ 7 files changed, 118 insertions(+) diff --git a/grafana/create-nodepool-dib.sh b/grafana/create-nodepool-dib.sh index 1ed16efc2b..ac4e4f3586 100755 --- a/grafana/create-nodepool-dib.sh +++ b/grafana/create-nodepool-dib.sh @@ -20,6 +20,7 @@ create "Ubuntu Xenial" "ubuntu-xenial" create "Centos 7" "centos-7" create "Centos 8" "centos-8" create "Fedora 32" "fedora-32" +create "Fedora 34" "fedora-34" create "Debian Bullseye" "debian-bullseye" create "Debian Buster" "debian-buster" create "Debian Stretch" "debian-stretch" diff --git a/grafana/nodepool-dib.yaml b/grafana/nodepool-dib.yaml index 692b9dd77b..d33919ff71 100644 --- a/grafana/nodepool-dib.yaml +++ b/grafana/nodepool-dib.yaml @@ -279,6 +279,58 @@ dashboard: targets: - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.fedora-32.status.duration.mean, 'None'), "Time") refId: A +# AUTOGENERATED : Fedora 34 + + - title: Fedora 34 + showTitle: true + height: 200px + panels: + - title: Build status + colorBackground: true + type: singlestat + valueName: current + valueMaps: + - value: 0 + text: "OK" + - value: 1 + text: "FAILED" + thresholds: 0.1,0.9 + span: 2 + targets: + - target: "stats.gauges.nodepool.dib_image_build.fedora-34.status.rc" + valueFontSize: "50%" + + - title: Last build + type: singlestat + span: 2 + format: dateTimeFromNow + targets: + - target: "stats.gauges.nodepool.dib_image_build.fedora-34.status.last_build" + valueFontSize: "50%" + + - title: Image size + type: graph + span: 3 + yaxes: + - format: decbytes + min: 0 + - format: decbytes + min: 0 + targets: + - target: aliasByNode(stats.gauges.nodepool.dib_image_build.fedora-34.*.size, 5) + refId: A + + - title: Build duration + type: graph + span: 3 + yaxes: + - format: ms + min: 0 + - format: ms + min: 0 + targets: + - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.fedora-34.status.duration.mean, 'None'), "Time") + refId: A # AUTOGENERATED : Debian Bullseye - title: Debian Bullseye diff --git a/nodepool/nl01.opendev.org.yaml b/nodepool/nl01.opendev.org.yaml index 12e07e91bd..cdb2e2b636 100644 --- a/nodepool/nl01.opendev.org.yaml +++ b/nodepool/nl01.opendev.org.yaml @@ -29,6 +29,8 @@ labels: min-ready: 1 - name: fedora-32 min-ready: 1 + - name: fedora-34 + min-ready: 1 - name: gentoo-17-0-systemd min-ready: 1 - name: opensuse-15 @@ -65,6 +67,8 @@ providers: config-drive: true - name: fedora-32 config-drive: true + - name: fedora-34 + config-drive: true - name: gentoo-17-0-systemd config-drive: true - name: opensuse-15 @@ -116,6 +120,11 @@ providers: flavor-name: 'Performance' diskimage: fedora-32 key-name: infra-root-keys-2020-05-13 + - name: fedora-34 + min-ram: 8000 + flavor-name: 'Performance' + diskimage: fedora-34 + key-name: infra-root-keys-2020-05-13 - name: gentoo-17-0-systemd min-ram: 8000 flavor-name: 'Performance' @@ -179,6 +188,7 @@ diskimages: - name: debian-buster - name: debian-stretch - name: fedora-32 + - name: fedora-34 - name: gentoo-17-0-systemd - name: opensuse-15 - name: opensuse-tumbleweed diff --git a/nodepool/nl02.opendev.org.yaml b/nodepool/nl02.opendev.org.yaml index 40e8f814ea..bf4e748ff5 100644 --- a/nodepool/nl02.opendev.org.yaml +++ b/nodepool/nl02.opendev.org.yaml @@ -22,6 +22,7 @@ labels: - name: debian-buster - name: debian-stretch - name: fedora-32 + - name: fedora-34 - name: gentoo-17-0-systemd - name: opensuse-15 - name: opensuse-tumbleweed @@ -76,6 +77,8 @@ providers: config-drive: true - name: fedora-32 config-drive: true + - name: fedora-34 + config-drive: true - name: gentoo-17-0-systemd config-drive: true - name: opensuse-15 @@ -127,6 +130,11 @@ providers: flavor-name: 'nodepool.0' diskimage: fedora-32 key-name: infra-root-keys-2020-05-13 + - name: fedora-34 + min-ram: 8000 + flavor-name: 'nodepool.0' + diskimage: fedora-34 + key-name: infra-root-keys-2020-05-13 - name: gentoo-17-0-systemd min-ram: 8000 flavor-name: 'nodepool.0' @@ -236,6 +244,11 @@ providers: flavor-name: '8C-8GB-100GB' diskimage: fedora-32 key-name: infra-root-keys-2020-05-13 + - name: fedora-34 + min-ram: 8000 + flavor-name: '8C-8GB-100GB' + diskimage: fedora-34 + key-name: infra-root-keys-2020-05-13 - name: gentoo-17-0-systemd min-ram: 8000 flavor-name: '8C-8GB-100GB' @@ -330,6 +343,11 @@ providers: flavor-name: 'opendev-zuul' diskimage: fedora-32 key-name: infra-root-keys-2020-05-13 + - name: fedora-34 + min-ram: 8000 + flavor-name: 'opendev-zuul' + diskimage: fedora-34 + key-name: infra-root-keys-2020-05-13 - name: gentoo-17-0-systemd min-ram: 8000 flavor-name: 'opendev-zuul' @@ -374,6 +392,7 @@ diskimages: - name: debian-buster - name: debian-stretch - name: fedora-32 + - name: fedora-34 - name: gentoo-17-0-systemd - name: opensuse-15 - name: opensuse-tumbleweed diff --git a/nodepool/nl03.opendev.org.yaml b/nodepool/nl03.opendev.org.yaml index 85ac7f6399..bb4b49cb18 100644 --- a/nodepool/nl03.opendev.org.yaml +++ b/nodepool/nl03.opendev.org.yaml @@ -37,6 +37,7 @@ labels: - name: debian-stretch-arm64 min-ready: 0 - name: fedora-32 + - name: fedora-34 - name: gentoo-17-0-systemd - name: opensuse-15 - name: opensuse-tumbleweed @@ -96,6 +97,8 @@ providers: config-drive: true - name: fedora-32 config-drive: true + - name: fedora-34 + config-drive: true - name: gentoo-17-0-systemd config-drive: true - name: opensuse-15 @@ -147,6 +150,11 @@ providers: flavor-name: 'A1.8' diskimage: fedora-32 key-name: infra-root-keys-2020-05-13 + - name: fedora-34 + min-ram: 8000 + flavor-name: 'A1.8' + diskimage: fedora-34 + key-name: infra-root-keys-2020-05-13 - name: gentoo-17-0-systemd min-ram: 8000 flavor-name: 'A1.8' @@ -292,6 +300,13 @@ providers: volume-size: 80 diskimage: fedora-32 key-name: infra-root-keys-2020-05-13 + - name: fedora-34 + min-ram: 8000 + flavor-name: v2-highcpu-8 + boot-from-volume: true + volume-size: 80 + diskimage: fedora-34 + key-name: infra-root-keys-2020-05-13 - name: gentoo-17-0-systemd min-ram: 8000 flavor-name: v2-highcpu-8 @@ -525,6 +540,7 @@ diskimages: - name: debian-stretch - name: debian-stretch-arm64 - name: fedora-32 + - name: fedora-34 - name: gentoo-17-0-systemd - name: opensuse-15 - name: opensuse-tumbleweed diff --git a/nodepool/nl04.opendev.org.yaml b/nodepool/nl04.opendev.org.yaml index 421dd1d233..d3ecbb3e60 100644 --- a/nodepool/nl04.opendev.org.yaml +++ b/nodepool/nl04.opendev.org.yaml @@ -22,6 +22,7 @@ labels: - name: debian-buster - name: debian-stretch - name: fedora-32 + - name: fedora-34 - name: gentoo-17-0-systemd - name: opensuse-15 - name: opensuse-tumbleweed @@ -61,6 +62,8 @@ providers: config-drive: true - name: fedora-32 config-drive: true + - name: fedora-34 + config-drive: true - name: gentoo-17-0-systemd config-drive: true - name: opensuse-15 @@ -112,6 +115,11 @@ providers: flavor-name: ssd-osFoundation-3 diskimage: fedora-32 key-name: infra-root-keys-2020-05-13 + - name: fedora-34 + min-ram: 8000 + flavor-name: ssd-osFoundation-3 + diskimage: fedora-34 + key-name: infra-root-keys-2020-05-13 - name: gentoo-17-0-systemd min-ram: 8000 flavor-name: ssd-osFoundation-3 @@ -188,6 +196,7 @@ diskimages: - name: debian-buster - name: debian-stretch - name: fedora-32 + - name: fedora-34 - name: gentoo-17-0-systemd - name: opensuse-15 - name: opensuse-tumbleweed diff --git a/nodepool/nodepool.yaml b/nodepool/nodepool.yaml index d5ed6b4f94..6dd47e74f1 100644 --- a/nodepool/nodepool.yaml +++ b/nodepool/nodepool.yaml @@ -31,6 +31,8 @@ providers: config-drive: true - name: fedora-32 config-drive: true + - name: fedora-34 + config-drive: true - name: gentoo-17-0-systemd config-drive: true - name: opensuse-15 @@ -180,6 +182,15 @@ diskimages: - cache-devstack release: 32 + - name: fedora-34 + parent: base + pause: false + python-path: /usr/bin/python3 + elements: + - fedora-container + - cache-devstack + release: 34 + ############ Debian ############# - name: debian-stretch