Revert "Move fedora-30 builds to nb01.opendev.org"

This reverts commit 9d7592df75 which was
meant to make nb01.opendev.org the only builder of fedora-30, but did
not quite work as expected.  This replicated what we do on the ARM64
builds; but what I missed was that the ARM builds have exclusive use
of the ARM clouds -- in this case the new nb01.opendev.org thought
that all the other images in the existing clouds were foreign and
tried to delete them.

Take a different approach; replicate the nodepool.yaml file to a
nb01.opendev.org specific one, but pause everything *but* the
fedora-30 builds.  This should make the builder leave everything else
alone, and just try building Fedora, which is what we want for the
initial POC.

Change-Id: I2ccb6aaad5866561fd6ec4118c718ee131c3a5f0
This commit is contained in:
Ian Wienand 2020-03-13 16:22:08 +11:00
parent 9d7592df75
commit 98ba436966
2 changed files with 32 additions and 101 deletions

View File

@ -1,101 +0,0 @@
elements-dir: /opt/project-config/nodepool/elements
images-dir: /opt/nodepool_dib
zookeeper-servers:
- host: zk01.openstack.org
port: 2181
- host: zk02.openstack.org
port: 2181
- host: zk03.openstack.org
port: 2181
providers:
- name: ovh-bhs1
region-name: 'BHS1'
cloud: ovh
rate: 0.1
diskimages: &provider_diskimages
- name: fedora-30
config-drive: true
- name: ovh-gra1
region-name: 'GRA1'
cloud: ovh
rate: 0.1
diskimages: *provider_diskimages
- name: inap-mtl01
region-name: 'mtl01'
cloud: inap
rate: 0.001
diskimages: *provider_diskimages
- name: rax-dfw
region-name: 'DFW'
cloud: rax
rate: 0.001
diskimages: *provider_diskimages
- name: rax-iad
region-name: 'IAD'
cloud: rax
rate: 0.001
diskimages: *provider_diskimages
- name: rax-ord
region-name: 'ORD'
cloud: rax
rate: 0.001
diskimages: *provider_diskimages
- name: vexxhost-ca-ymq-1
region-name: 'ca-ymq-1'
cloud: vexxhost
rate: 0.001
diskimages: *provider_diskimages
- name: vexxhost-sjc1
region-name: 'sjc1'
cloud: vexxhost
rate: 0.001
diskimages: *provider_diskimages
- name: limestone-regionone
region-name: 'RegionOne'
cloud: limestone
rate: 0.001
diskimages: *provider_diskimages
- name: openedge-us-east
region-name: 'us-east'
cloud: openedge
rate: 0.001
diskimages: *provider_diskimages
diskimages:
- name: fedora-30
pause: true
python-path: /usr/bin/python3
elements:
- fedora-minimal
- vm
- simple-init
- openstack-repos
- nodepool-base
- cache-devstack
- initialize-urandom
- growroot
- infra-package-needs
# NOTE(ianw) 2020-02-17 : we are working to move this into job
# configuration
- pip-and-virtualenv
release: 30
env-vars:
TMPDIR: /opt/dib_tmp
DIB_CHECKSUM: '1'
DIB_IMAGE_CACHE: /opt/dib_cache
DIB_JOURNAL_SIZE: '512'
DIB_GRUB_TIMEOUT: '0'
GIT_HTTP_LOW_SPEED_TIME: '300'
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
DIB_SHOW_IMAGE_USAGE: '1'

View File

@ -43,6 +43,8 @@ providers:
config-drive: true
- name: debian-stretch
config-drive: true
- name: fedora-30
config-drive: true
- name: gentoo-17-0-systemd
config-drive: true
- name: opensuse-15
@ -81,6 +83,8 @@ providers:
config-drive: true
- name: debian-stretch
config-drive: true
- name: fedora-30
config-drive: true
- name: gentoo-17-0-systemd
config-drive: true
- name: opensuse-15
@ -270,6 +274,34 @@ diskimages:
options: "defaults,nobarrier,noatime"
fsck-passno: 1
# NOTE(ianw) : currently only building on nb01.opendev.org; see that
# config file.
- name: fedora-30
pause: true
python-path: /usr/bin/python3
elements:
- fedora-minimal
- vm
- simple-init
- openstack-repos
- nodepool-base
- cache-devstack
- initialize-urandom
- growroot
- infra-package-needs
# NOTE(ianw) 2020-02-17 : we are working to move this into job
# configuration
- pip-and-virtualenv
release: 30
env-vars:
TMPDIR: /opt/dib_tmp
DIB_CHECKSUM: '1'
DIB_IMAGE_CACHE: /opt/dib_cache
DIB_JOURNAL_SIZE: '512'
DIB_GRUB_TIMEOUT: '0'
GIT_HTTP_LOW_SPEED_TIME: '300'
GIT_HTTP_LOW_SPEED_LIMIT: '1000'
DIB_SHOW_IMAGE_USAGE: '1'
- name: gentoo-17-0-systemd
pause: false
elements: