Create legacy nodesets and switch all legacy jobs

The legacy jobs were designed to pull logs only from their 'primary'
node. The converted jobs are pulling them from all of the nodes.

Create legacy- versions of all the nodeset that name the single node
"primary". Update all of the legacy jobs to use these. The next patch
will update all of the post playbooks to be hosts: primary.

Legacy versions of multi-node nodesets aren't strictly needed as the
non-legacy versions already have a 'primary' ... but it makes both
global search and replace as well as migration docs simpler.

Change-Id: Ic04f38d9b5251f5a1a5426f890728bf0dd9b4e9c
This commit is contained in:
Monty Taylor 2017-09-29 08:35:50 -05:00 committed by David Moreau Simard
parent c12645e602
commit b4a8ae35a3
3 changed files with 434 additions and 320 deletions

View File

@ -279,6 +279,7 @@
description: |
Base job for autoconverted legacy jobs
pre-run: playbooks/legacy/pre
nodeset: legacy-ubuntu-xenial
- job:
name: legacy-dsvm-base

View File

@ -108,3 +108,113 @@
nodes:
- secondary-1
- secondary-2
- nodeset:
name: legacy-centos-7
nodes:
- name: primary
label: centos-7
- nodeset:
name: legacy-debian-jessie
nodes:
- name: primary
label: debian-jessie
- nodeset:
name: legacy-fedora-26
nodes:
- name: primary
label: fedora-26
- nodeset:
name: legacy-opensuse-423
nodes:
- name: primary
label: opensuse-423
- nodeset:
name: legacy-tripleo-centos-7
nodes:
- name: primary
label: tripleo-centos-7
- nodeset:
name: legacy-ubuntu-trusty
nodes:
- name: primary
label: ubuntu-trusty
- nodeset:
name: legacy-ubuntu-xenial
nodes:
- name: primary
label: ubuntu-xenial
- nodeset:
name: legacy-centos-7-2-node
nodes:
- name: primary
label: centos-7
- name: secondary
label: centos-7
groups:
- name: subnodes
nodes:
- secondary
- nodeset:
name: legacy-centos-7-3-node
nodes:
- name: primary
label: centos-7
- name: secondary-1
label: centos-7
- name: secondary-2
label: centos-7
groups:
- name: subnodes
nodes:
- secondary-1
- secondary-2
- nodeset:
name: legacy-centos-7-4-node
nodes:
- name: primary
label: centos-7
- name: secondary-1
label: centos-7
- name: secondary-2
label: centos-7
- name: secondary-3
label: centos-7
groups:
- name: subnodes
nodes:
- secondary-1
- secondary-2
- secondary-3
- nodeset:
name: legacy-ubuntu-xenial-2-node
nodes:
- name: primary
label: ubuntu-xenial
- name: subnodes
label: ubuntu-xenial
- nodeset:
name: legacy-ubuntu-xenial-3-node
nodes:
- name: primary
label: ubuntu-xenial
- name: secondary-1
label: ubuntu-xenial
- name: secondary-2
label: ubuntu-xenial
groups:
- name: subnodes
nodes:
- secondary-1
- secondary-2

File diff suppressed because it is too large Load Diff