# train centos-8
###### tags: `Design`
Goal:
* Provide CI coverage for CentOS-8 train upstream
* Provide CI coverage for CentOS-7 train for RDO community e.g. [CERN](https://home.cern/)
:::info
ugh.. confusing right
:::
# Proposal
A:
(pure)
* upstream check/gate moves to 100% centos-8 train
* periodic pipeline for centos-7 train only
B:
(mixed)
* upstream combination of multiple centos-7 jobs and centos-8
* periodic centos-7 and centos-8 lines
C:
( just enough )
* upstream, 1 centos7-train job.. most likely containers-multinode
* the rest of the jobs are centos-8
D: voting 3rd party 7 upstream 8
* upstream centos-8-train check/gate
* 3rd party rdo centos-7-train check **that can vote** e.g. service user -
lets try do this zuul natively (with the service user config), if possible. Otherwise we have to explore an agent to monitor & vote.
PATH FORWARD:
* Use A + D.
* D will be mark all the 3rd party check jobs non-voting
* set the service user
* lets try do this zuul natively (with the service user config), if possible. Otherwise we have to explore an agent to monitor & vote.
# required changes
## to enable centos-8-train components and centos-7 monolithic builds
- [x] update get_hash methods and when to use components
- [x] use components or not.. https://review.opendev.org/#/c/726919/1/roles/build-test-packages/defaults/main.yml
- [x] get-hash https://review.rdoproject.org/r/#/c/26346/11/ci-scripts/infra-setup/roles/get_hash/defaults/main.yml && https://review.rdoproject.org/r/#/c/26346/11/ci-scripts/infra-setup/roles/get_hash/tasks/get_hash.yaml
- [x] get-hash http://codesearch.openstack.org/?q=release%20is%20search&i=nope&files=&repos=
- [x] get-hash RDO https://review.rdoproject.org/codesearch/?q=dlrn_hash_baseurl&i=nope&files=&repos=
- [x] emit-releases https://opendev.org/openstack/tripleo-ci/src/branch/master/scripts/emit_releases_file/emit_releases_file.py
# upgrade jobs
upgrade jobs are critical here because having centos-8-train will allow upgrade jobs from train to ussuri. To date this has been impossible because of CentOS version mismatch
#### upstream names and coverage ( ignore distro )
* tripleo-ci-centos-8-scenario000-multinode-oooq-container-updates
* tripleo-ci-centos-7-scenario000-multinode-oooq-container-upgrades
* tripleo-ci-centos-7-standalone-upgrade-train
* tripleo-ci-centos-7-containerized-undercloud-upgrades
*
:::info
To ensure we're not missing update / upgrade jobs going back a few releases to ensure we truly have all the jobs migrated.
| Upstream Name | RDO Name |
| -------- | -------- |
| tripleo-ci-centos-7-containerized-undercloud-upgrades | periodic-tripleo-ci-centos-7-singlenode-featureset050-upgrades-|
| tripleo-ci-centos-8-scenario000-multinode-oooq-container-updates | periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset037-updates |
| tripleo-ci-centos-7-scenario000-multinode-oooq-container-upgrades | tripleo-ci-centos-7-container-to-container-featureset051-upgrades
| tripleo-ci-centos-7-standalone-upgrade | periodic-tripleo-ci-centos-7-standalone-upgrade
:::
## Other train jobs needed for CentOS-8
:::info
| Upstream Name | RDO Name |
| -------- | -------- |
| tripleo-ci-centos-7-scenario010-multinode-oooq-container | periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset038|
| | |
:::
## pipelines
ATM, train is running openstack-periodic-24hr..
* too many jobs there
* openstack-periodic-n-2 for centos-8
* openstack-periodic-24hr
* centos-7-train
* centos-7-stein ( possible weekend)
# Task stream
`Updated Apr 29 13:53 UTC`
:::spoiler Completed tasks
- [ ]
:::
### Older tasks no longer relevant
:::spoiler Old tasks
- [ ] https://review.rdoproject.org/r/#/c/27558/
- [ ] https://review.opendev.org/#/c/728294
:::
# User Stories
1. component pipeline, centos-8 train - Done
2. complete integration line for centos-8 - In progress
Note: Total 10 jobs were missing. Out of 10, 7 jobs are almost done (4 Merged and 3 Ready for review) GREEN, 3 are in progress. Refe: https://hackmd.io/oiRjzroqTE6xLsLR0vfpKw?both
Here is the review list:
https://review.rdoproject.org/r/#/c/28284/
https://review.rdoproject.org/r/#/c/28603/
https://review.rdoproject.org/r/#/c/28614/
https://review.rdoproject.org/r/#/c/28564/
https://review.rdoproject.org/r/#/c/28588
4. upgrade / update jobs
5. promoter to support centos-7 / centos-8
5. namespace centos7 = tripleotrain
6. namespace centos8 = tripleotraincentos8
6. upstream jobs - Ready for review but needs wes's approval
7. ~~reconcile upstream, periodic job names?