Add tripleo-external-compute-deployment-pipeline job template

In order to test compute deployment via tripleo-ansible
standalone tripleo-ansible roles.

It adds the following job to test that:
- Bootstrap first node and deploy standalone
- Generate 99 standalone vars and copy it to second node
- Bootstrap second node and install packages
- Copy 99 standalone vars to tripleo-inventory
- Deploy compute serices.

Regarding this job:
- parents from container multinode base
- Set bridge_address_offset to 4 to get different
  br-ex ips for controller and compute otherwise
  ssh connectivity gets lost.

The logs related to this job can found:
- tripleo_standalone_vars in /home/zuul/99-standalone-vars
- deployment logs in /home/zuul/deploy_compute.log.

All the patches can be found under this topic:
https://review.opendev.org/q/topic:standalone-roles-testing

Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/840509/
Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/862160
Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart/+/861748

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Ie3adc3cd8d2216aa4284b5cde19dfc04b0605225
This commit is contained in:
Chandan Kumar (raukadah) 2022-05-30 16:03:08 +05:30
parent 6e5b574346
commit bbd65abc43
3 changed files with 46 additions and 0 deletions

View File

@ -24,6 +24,7 @@ artcl_collect_list:
- /home/{{ undercloud_user }}/.tripleo/
- /home/{{ undercloud_user }}/stackrc
- /home/{{ undercloud_user }}/overcloudrc
- /home/{{ undercloud_user }}/99-standalone-vars
- /home/*/*.log
- /home/*/*.txt
- /home/*/*.json
@ -222,6 +223,7 @@ artcl_collect_list:
- /etc/yum.repos.d/
- /etc/zaqar/
- /tmp/tripleo-container-image-prepare-ansible.log
- /usr/share/ansible/tripleo-inventory/
- /var/log/atop*
- /var/log/dmesg.txt
- /var/log/host_info.txt

View File

@ -10,6 +10,7 @@
- tripleo-ci-buildimage-jobs
- tripleo-multinode-branchful
- tripleo-multinode-container-full-pipeline
- tripleo-external-compute-deployment-pipeline
- tripleo-standalone-scenarios-pipeline
- tripleo-standalone-multinode-ipa-pipeline
- tripleo-undercloud-jobs-pipeline

View File

@ -1163,3 +1163,46 @@
override-checkout: stable/wallaby
vars:
branch_override: stable/wallaby
# Jobs for testing external data plane management
- job:
name: tripleo-ci-centos-9-standalone-external-compute-target-host
parent: tripleo-ci-base-multinode-centos-9
branches:
- master
- stable/zed
vars:
featureset: '053'
# Needed for control plane and controller networking
bridge_address_offset: 4
playbooks:
- quickstart.yml
- deploy-standalone-compute.yml
tags:
- build
- standalone
- project-template:
name: tripleo-external-compute-deployment-pipeline
queue: tripleo
# Note(chandankumar): Gate jobs will be added once these jobs will be voting.
check:
jobs:
- tripleo-ci-centos-9-standalone-external-compute-target-host: &compute_vars
voting: false
irrelevant-files: *irrelevant_files
files: &compute_files
# tripleo-ansible
- ^tripleo_ansible/roles/.*
- ^tripleo_ansible/playbooks/.*
- ^tripleo_ansible/inventory/.*
- scripts/tripleo-standalone-vars
# tripleo-quickstart-extras
- ^roles/external-data-plane-management/.*
- playbooks/deploy-standalone-compute.yml
# tripleo-quickstart
- config/general_config/featureset053.yml
vars: *consumer_vars
dependencies:
- tripleo-ci-centos-9-content-provider
- tripleo-ci-centos-9-content-provider