---
# System prepended metadata

title: Centos 7 to possibly remove and replace with CentOS-8 jobs per repo for train branch
tags: [Design]

---

# Centos 7 to possibly remove and replace with CentOS-8 jobs per repo for train branch
###### tags: `Design`

Use the topic: https://review.opendev.org/#/q/topic:c7-to-c8-train+(status:open+OR+status:merged) for all patches :)


* Once ~~https://review.opendev.org/#/c/738375/~~ merges.
* FYI.. to remove most centos-7 train jobs from upstream
    * ~~https://review.opendev.org/#/c/743455/~~
* Deprecate c7 train jobs
    *~~ https://review.opendev.org/#/c/743959/2~~


## How to review the status of what's been done thus far.
http://dashboard-ci.tripleo.org/d/3sUHfh9Wz/jobs-exploration?orgId=1&var-influxdb_filter=job_name%7C%3D~%7C%2Ftripleo-ci-centos-8%2F&var-influxdb_filter=branch%7C%3D%7Cstable%2Ftrain


tripleo-ansible - train - Pooja - **DONE**

~~~
[sandy@localhost tmp]$ cat test | grep -i centos-7
      - tripleo-ci-centos-7-containers-multinode: &containers_multinode
      - tripleo-ci-centos-7-scenario001-standalone: &scenario001
      - tripleo-ci-centos-7-scenario002-standalone: &scenario002
      - tripleo-ci-centos-7-scenario003-standalone: &scenario003
      - tripleo-ci-centos-7-scenario010-standalone: &scenario010
      - tripleo-ci-centos-7-standalone-upgrade-train : &standalone_upgrade
      - tripleo-ci-centos-7-containers-multinode: *containers_multinode
      - tripleo-ci-centos-7-scenario001-standalone: *scenario001
      - tripleo-ci-centos-7-scenario002-standalone: *scenario002
      - tripleo-ci-centos-7-scenario003-standalone: *scenario003
      - tripleo-ci-centos-7-scenario010-standalone: *scenario010
~~~

tripleo-common train - Amol
~~~
[sandy@localhost tmp]$ cat test | grep -i centos-7
        - tripleo-ci-centos-7-containers-multinode:
        - tripleo-ci-centos-7-undercloud-containers:
        - tripleo-ci-centos-7-standalone:
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-upgrades:
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-updates:
        - tripleo-ci-centos-7-scenario007-multinode-oooq-container:
        - tripleo-ci-centos-7-standalone-upgrade:
        - tripleo-ci-centos-7-scenario001-standalone:
        - tripleo-ci-centos-7-scenario002-standalone:
        - tripleo-ci-centos-7-scenario003-standalone:
        - tripleo-ci-centos-7-scenario004-standalone:
        - tripleo-ci-centos-7-scenario012-standalone:
        - tripleo-buildimage-overcloud-full-centos-7:
        - tripleo-buildimage-ironic-python-agent-centos-7:
        - tripleo-buildimage-overcloud-hardened-full-centos-7:
        - tripleo-buildimage-overcloud-full-centos-7:
        - tripleo-buildimage-ironic-python-agent-centos-7:
        - tripleo-buildimage-overcloud-hardened-full-centos-7:
~~~


tripleo-heat-templates train - Bhagyashri


~~~
[sandy@localhost tmp]$ cat test | grep -i centos
        - tripleo-ci-centos-7-containers-multinode:
        - tripleo-ci-centos-7-undercloud-containers:
        - tripleo-ci-centos-7-standalone:
        - tripleo-ci-centos-7-standalone-upgrade-stein:
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-upgrades:
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-updates:
        - tripleo-ci-centos-7-scenario007-multinode-oooq-container:
        - tripleo-ci-centos-7-scenario010-multinode-oooq-container:
        - tripleo-ci-centos-7-standalone-upgrade:
        - tripleo-ci-centos-7-scenario001-standalone:
        - tripleo-ci-centos-7-scenario002-standalone:
        - tripleo-ci-centos-7-scenario003-standalone:
        - tripleo-ci-centos-7-scenario004-standalone:
        - tripleo-ci-centos-7-scenario012-standalone:
        - tripleo-ci-centos-7-containerized-undercloud-upgrades:
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-upgrades
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-updates:
        - tripleo-ci-centos-7-scenario011-multinode-oooq-container:
        - tripleo-ci-centos-7-scenario006-multinode-oooq-container:
~~~

tripleo-validaion train - Bhagyashri **DONE**

~~~
[sandy@localhost tmp]$ cat test | grep -i centos
      - tripleo-ci-centos-7-scenario004-standalone:
      - tripleo-ci-centos-7-scenario004-standalone:
~~~

python-tripleoclient on train - Bhagyashri
```
python-tripleoclient/zuul.d on  stable/train 
❯ cat layout.yaml | grep centos-7
        - tripleo-ci-centos-7-containers-multinode:
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-upgrades:
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-updates:
        - tripleo-ci-centos-7-scenario007-multinode-oooq-container:
        - tripleo-ci-centos-7-standalone-upgrade:
        - tripleo-ci-centos-7-scenario001-standalone:
        - tripleo-ci-centos-7-scenario002-standalone:
        - tripleo-ci-centos-7-scenario003-standalone:
        - tripleo-ci-centos-7-scenario004-standalone:
        - tripleo-ci-centos-7-scenario012-standalone:
        - tripleo-ci-centos-7-containers-undercloud-minion:
```

puppet-tripleo on train - Amol **DONE**
```
puppet-tripleo/zuul.d on  stable/train 
❯ cat layout.yaml | grep centos-7
        - tripleo-ci-centos-7-scenario007-multinode-oooq-container:
```

tripleo-upgrade on train - Pooja
```
tripleo-upgrade/zuul.d on  stable/train 
❯ cat layout.yaml | grep centos-7
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-updates:
              - tripleo-upgrade-centos-7-molecule
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-upgrades:
              - tripleo-upgrade-centos-7-molecule
        - tripleo-ci-centos-7-containerized-undercloud-upgrades:
              - tripleo-upgrade-centos-7-molecule
        - tripleo-ci-centos-7-standalone-upgrade:
              - tripleo-upgrade-centos-7-molecule
        - tripleo-ci-centos-7-standalone-upgrade-stein:
              - tripleo-upgrade-centos-7-molecule
        - tripleo-upgrade-centos-7-molecule:
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-updates:
              - tripleo-upgrade-centos-7-molecule
        - tripleo-ci-centos-7-scenario000-multinode-oooq-container-upgrades:
              - tripleo-upgrade-centos-7-molecule
        - tripleo-ci-centos-7-standalone-upgrade-stein:
```
tripleo-ci centos-7 based jobs running on stable/train needs to adjusted.
* All centos-7 based standalone scenario jobs
* Undercloud jobs

These projects have jobs coming from template:
* tripleo-puppet-elements
* tripleo-image-elements
* os-refresh-config
* os-net-config
* os-apply-config
* os-apply-config

Move these jobs to c8
ansible-role-tripleo-modify-image on master branch - Bhagyashri **DONE**
```
ansible-role-tripleo-modify-image/zuul.d on  master 
❯ cat layout.yaml 
---
- project:
    templates:
      - tripleo-multinode-container-minimal
    check:
      jobs:
        - openstack-tox-linters
        - tripleo-ci-centos-7-scenario001-standalone
    gate:
      jobs:
        - openstack-tox-linters
        - tripleo-ci-centos-7-scenario001-standalone
      queue: tripleo

```

## Missing centos-8 train jobs

* tripleo-heat-template - Bhagyashri
  * jobs:
    * tripleo-ci-centos-7-standalone-upgrade-stein - 
      * Do we have same job for c8 something like c8-standalone-upgrade?
      * As c7 staein to c8 train upgrade is not available yet so should we keep this job or should we remove this?
    * tripleo-ci-centos-7-scenario010-multinode-oooq-container-
      * Missing c8 version of this job
      * fs038
      * NOTE: we can remove this job, as fs038 is used in stein & queens, is replaced with standalone sc10 for octavia testing.
    * tripleo-ci-centos-7-scenario011-multinode-oooq-container-
      * Missing c8 version of this job
      * fs044
          * https://opendev.org/openstack/tripleo-ci/src/branch/master/zuul.d/multinode-jobs.yaml#L529 weired
          * https://opendev.org/openstack/tripleo-quickstart/src/branch/master/config/general_config there is no fs044
          * It can also be removed
    * tripleo-ci-centos-7-scenario006-multinode-oooq-container - 
      * Missing c8 version of this job
      * fs026
      * IT is a validation specific job: https://opendev.org/openstack/tripleo-quickstart/src/branch/master/config/general_config/featureset006.yml
      * I think we can repurpose this job for validation testing
      * Action items: Check with Tengu & wes on irc how to repurpose this fs
      * currently we can remove this job but add a bug or taiga card for repurpose
      
* tripleo-ansible - Pooja
   * jobs:
     * tripleo-ci-centos-7-standalone-upgrade-train -
       * Missing c8 version of this job

## Other jobs that needs to be removed:  Bhagyashri - Done
* tripleo-rhel-8-buildimage-overcloud-full-train
* tripleo-rhel-8-buildimage-ironic-python-agent-train
  * ~~https://review.rdoproject.org/r/#/c/28793/~~