Commit Graph

102 Commits

Author SHA1 Message Date
Ghanshyam Mann 72ea117f61 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic549bdcc76a5e12a0104143fbe79fd0db2c866b0
2024-02-24 11:44:35 -08:00
Takashi Kajinami 149ae7e63f undercloud: Remove logic for unsupported old releases
This change removes logic for releases older than train, because these
releases are already EOLed. This covers only undercloud-* roles and
playbooks.

Note that this change also removes the containerized_* variables
because current active releases(>=Train) no longer supports
non-containerized deployment. The containerized_undercloud_upgrade
variable is still left because the variable is still required by
the tripleo-ci-base-multinode-standard job template.

In addition, TripleO UI support is removed because the component was
retired before Train.

Change-Id: I5132e5bac4ddaa6f76564cab67e486cb5a4e2bbb
2022-10-25 17:15:36 +09:00
Marios Andreou abc50905fa Adds toci playbooks and updates for new multinode mixed OS jobs
This adds some new playbooks to be used by the new multinode mixed
os job (See topic at [1] for related reviews). Also updates the
extras-common and undercloud-deploy roles to allow the mixed-os
job to use the correct content provider.

[1] https://review.opendev.org/q/topic:oooci_mixed_rhel

Change-Id: Ie7a95056bfb0a90d2e6fb6e5ec9c8ed66f8ef31e
2022-07-20 12:25:52 +03:00
Douglas Viroel b4488f033a Update ceph daemon registry and tag wallaby and beyond
This patch updates th default value for ceph daemon registry and
tag for stable/wallaby and beyound. Now, they should be pulled from
promoted container tags.

This patch depends on both main and stable/wallaby patches to merge:
1. https://review.opendev.org/c/openstack/tripleo-common/+/843508
2. https://review.opendev.org/c/openstack/tripleo-common/+/843936

Change-Id: I9bb931fb944a3627d6acee033bbe3bd0824a8023
Signed-off-by: Douglas Viroel <dviroel@redhat.com>
2022-05-30 16:45:40 +00:00
Douglas Viroel 78b7588516 Set ceph container variables if defined in job
This patch updates extra-commons to check if a ceph namespace, tag or
image was provided within jobs definition.

Change-Id: Ibae7b900cf027c6b610c55399aad3d56e8fdb512
Signed-off-by: Douglas Viroel <dviroel@redhat.com>
2022-03-22 20:28:32 -03:00
Francesco Pantano 2a77c1ad58
Bump Ceph container daemons to v6.0.7
This change aligns the new tag with the latest released stable
content (which is v6.0.7 for the daemon images).

Depends-On: I8f3841838cba0befebaf9f8ebe6f0e0923ce4b05
Related-Bug: #1964133
Change-Id: Ieb0b9bc590b87925290d4b0dea5d09a29ab71f57
2022-03-09 08:07:30 +01:00
Francesco Pantano 8b4ecadf92
Bump Ceph container daemons to v6.0.6
The stable Ceph containers v16.2.7 are now released.
This change aligns the new tag with the latest released stable
content (which is v6.0.6 for the daemon images).

Depends-On: I2e26e1d938d47230b31eb116cbea6f6656b4aad2
Change-Id: I6bcfe9bb47697f945384b945290e165085a4d51b
2021-12-13 10:33:05 +01:00
Steve Baker d73df645c1 Switch default whole_disk_images:true on Wallaby
Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart/+/813553
Change-Id: I339c803685709bf6da100e60b07f66577bb43078
2021-11-23 17:13:21 -05:00
Marios Andreou 0610a8875a Use whole_disk_images if this is passed through job vars
Change-Id: I5d02ae06f0f8cd199754ef83300ee90a10c1a0bb
Related-Bug: 1949765
2021-11-11 13:46:21 +00:00
Steve Baker 7a3c463517 Set default whole_disk_images based off release
There is a need to stop setting this in the releases file so that some
jobs in the release can have a different value (See
I0b555676ce565d142a08e9d38d9e3c8ee7cb1a92). This change sets the
default based off the release.

It needs to be determined if the release config in
tripleo-quickstart[1] picks up on this default setting so that
whole_disk_images:true can be reliably set in the required jobs.

[1] https://opendev.org/openstack/tripleo-quickstart/src/branch/master/config/release/tripleo-ci/CentOS-8/master.yml#L33

Change-Id: I1e305d31acba2f2b49fca675a0c6cb4eec5c5946
2021-11-05 07:22:10 -04:00
Francesco Pantano 76a5c4efc6 Bump Ceph container daemons to v6.0.4
The stable Ceph containers v16.2.5 are now released.
This change aligns the new tag with the latest released stable
content (which is v6.0.4 for the daemon images).

Depends-On: I50a683aaa7062f7f33d6de45758844c8523da7f2
Change-Id: I14142570ccb3a229fb634d13230401beb1e20c70
2021-08-17 11:53:45 +00:00
Francesco Pantano 0735e3916e
Bump nautilus containers to v4.0.19
The purpose of this review is moving from v4.0.13 to v4.0.19 tag, which
has the latest released content.

Change-Id: I808f39bba76f908d473bb935805070477d185b8e
2021-08-04 16:17:34 +02:00
Zuul 347e95305a Merge "Update default var for undercloud_enable_novajoin" 2021-07-29 18:47:54 +00:00
Sandeep Yadav 87d05cec4d Update default var for undercloud_enable_novajoin
Updating default var for "undercloud_enable_novajoin" to only enable
for train and earlier as novajoin is no longer supported for recent
branches[1].

[1] https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/tls-introduction.html

Change-Id: I3155bfb54f8cd227a6a3d3f9aaffd777e2074418
2021-07-14 16:01:29 +05:30
Rabi Mishra aba4ddf72f Revert "Add ansible var to enable swift on undercloud"
This reverts commit c619e45f2d.

Reason for revert: Use the defaults for swift in tripleoclient, else we've issues during upgrades.

Change-Id: I6f7543560d5953a135a90e92b96ca4f6dae57d29
2021-07-13 18:06:31 +05:30
Steve Baker b911d3f9be Don't hard-code overcloud-full
This will soon be overcloud-hardened-uefi-full on master, and the
download will be of a qcow2 file, not a tar file.

This change moves whole_disk_images default setting to extras-common,
and also adds default variable overcloud_image, which is used wherever
'overcloud-full' is currently hard-coded.

Change-Id: Iba7833c16eae3d3129b7bab48434c66ec2e1efcf
Blueprint: whole-disk-default
2021-06-30 10:09:43 +12:00
James Slagle 96ab93f4fe Support using ephemeral Heat
Adds support for a new ansible variables ephemeral_heat and
ephemeral_heat_args, which will allow job configs to deploy with
--heat-type in order to use the ephemeral heat deployment.

Implements: blueprint ephemeral-heat-overcloud
Signed-off-by: James Slagle <jslagle@redhat.com>
Change-Id: I29cf6dd8a32242f27a40946688f9dede8968c7f9
2021-05-17 16:40:46 -04:00
Francesco Pantano 8cdaa3c580
Bump quickstart defaults to -pacific stable container
This patch just changes the default value of the Ceph container
for W+ releases, using pacific instead of octopus.

Change-Id: I59a43549c81a8c74f4acc08477d8cbe90aea90c3
2021-04-07 09:28:24 +02:00
Marios Andreou c2b0910fe1 Remove all rocky related conditionals and tests after rocky End of Life
Rocky is now EOL since [1][2] so this removes all the rocky related tests
or conditionals.
Related reviews in topic branch tripleo-ci-reduce-rocky [3].

[1] https://review.opendev.org/c/openstack/releases/+/774244
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-March/020912.html
[3] https://review.opendev.org/q/topic:tripleo-ci-reduce-rocky

Change-Id: Icb999fa6c8278bd54c200c73963b5e364c94c23d
2021-03-29 11:54:27 +00:00
Zuul e02b2a703d Merge "Bump Ceph containers to octopus" 2021-02-10 06:50:48 +00:00
Zuul d14052101e Merge "Add ansible var to enable swift on undercloud" 2021-02-05 21:27:45 +00:00
ramishra c619e45f2d Add ansible var to enable swift on undercloud
This would allow us to enable swift on the undercloud
when using quickstart.

Depends-On: https://review.opendev.org/c/openstack/python-tripleoclient/+/772968
Change-Id: Ied28977184c43e9d64c160e52d2ac501ba34705a
2021-02-02 14:27:36 +05:30
Francesco Pantano 471750cde6
Bump Ceph containers to octopus
Wallaby+ is going to use the Ceph Octopus/Pacific releases.
The purpose of this review is to make the ceph 5 containers
available to the cephadm provisioning process.

Change-Id: Ia8e5247013711662fb9513d1a77e6897e9f70420
2021-01-25 17:22:21 +01:00
Harald Jensås 8d23c18c84 Allow deploying composable networks without heat
Add option 'network_provision' (default: false).
When enabled composable networks are deployed with
the `openstack overcloud network provision` command
prior to creating the heat stack.

The overcloud-networks-deployed.yaml is added to the
network_args in the deploy command to activate the
network/deployed_networks.yaml template.

Depends-On: https://review.opendev.org/762348
Depends-On: https://review.opendev.org/751875
Depends-On: https://review.opendev.org/762652
Change-Id: I842820bfe9998574e53c79a8a4715e637350ad9c
2021-01-12 09:12:22 +01:00
Wes Hayutin c0278f637b Add native variable to locally build containers
atm there is an option to turn on local container
builds for standalone that is defined in zuul only.
ATM we are considering turning this on for all standalone
master jobs to reduce the load on docker.io

Change-Id: Iad71c1af41b2039591eccdb420c2a35b05ade4ac
2020-11-20 17:31:44 +05:30
Chandan Kumar (raukadah) 28944540de Switch to quay.io for ceph_namespace for all releases
Since we are moving from dockerhub to quay.io to avoid rate
limit issues.

In order to do that, we are changing the ceph_namespace to
quay.io for all releases. As all the images used in TripleO
CI for different releases are already there.

Change-Id: I73a2a17fbb26026c207c5e8f949e4a9913e3d934
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-10-21 21:02:38 +05:30
Rafael Folco d703963f99 Fix registry for consumer jobs
This fixes the registry to use content provider ip for all branches.

Change-Id: I56ef6008cd5b82a5b474f43b8df303e32fcf1088
2020-10-19 08:23:23 +00:00
Chandan Kumar (raukadah) 1aa2135090 Added tasks for building containers on CentOS-7
It will be used with the content provider job.
Set buildcontainers_venv: false to use dlrn installed
packages.

buildcontainers_rpm_setup_config: "" as kolla will
download the required dlrn repos and gating repo.

Added undercloud tag to prepare and use old
container workflow for c7 based env.

Added insecure registry for docker.

Change-Id: Ic5f569a78b5341fcee9cd013eddfffd3eeb66fa0
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-10-17 09:15:47 +05:30
Marios Andreou 8d535ec0f9 Wire up job.registry_ip_address_branch for content provider jobs
Wires up the content provider container registry address into
DockerInsecureRegistryAddress. Makes sure we are using the
_address_branch version in all other references to the
job.registry_ip_address var.

Needed by the upgrade jobs in https://review.opendev.org/753403
Change-Id: If9b516860ad3f102e39cb8755cd8aee6f9aae413
2020-10-15 13:11:35 +03:00
Zuul 0f94b2b636 Merge "consolidate variable undercloud_enable_novajoin to common" 2020-09-28 20:07:49 +00:00
Chandan Kumar (raukadah) bc07a5dfc7 Fetch non tripleo containers in provider job and consume it
When provider_job is set to true, it will pull the container
images from quay.io and will push it to local
registry using non_tripleo_containers.yml.

When consumer_job is set to true in child job, then
custom_ceph_parameters will be setted to true and ceph containers
related namespace will be changed to local registry
to pull the ceph containers so that container built and pushed
to local registry in provider job, will be consumed here.

It also adds standalone job which depends on content provider
job and updates the ceph tag.

Setting +standalone_container_ceph_updates to false as with in
tasks it is setted default to false.

Moved local registry host and port to extra-commons role
to easily share between roles.

It also fix the non_tripleo_containers playbook to exclude kolla
containers for train release.

Note to self:
tripleo-standalone-scenarios-pipeline will be added later
once standalone-upgrade job is ported to centent provider.

Change-Id: Ie3f7bafe3b6ee8a7879ebb3d1d5b47b20181b452
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Co-authored-by: Alex Schultz <aschultz@redhat.com>
2020-09-28 09:29:03 +05:30
Wes Hayutin 9260bdfa3a consolidate variable undercloud_enable_novajoin to common
Depends-On: https://review.opendev.org/#/c/754408/
Change-Id: I440694d19286a0802f42f8e1cbd298dbda6ed903
2020-09-26 23:48:50 +00:00
Zuul 79b66effcb Merge "Disable Zaqar on the Undercloud after Train" 2020-09-10 20:57:59 +00:00
Emilien Macchi 4ae1cd79ee Disable Zaqar on the Undercloud after Train
Like we did for Mistral in Ib6aaa04a30ad706c5020de7851987fb7455d3136,
let's disable by default the Zaqar service (not needed anymore since we
don't have UI nor Mistral anymore).

Change-Id: Ibf170b1d5fcee23337aa46355b47cbf56fcc2a59
2020-09-10 08:51:26 -04:00
Rabi Mishra 593fd63167 Set 'step_overcloud_prep_flavors' to false
As nova has been disabled by default, disable the flavor creation.

Change-Id: I7f6300407fcece11d98e7a251a5c026e7b1b2b79
Closes-Bug: #1894941
2020-09-09 16:02:29 +05:30
Rabi Mishra afc96d39a7 Use nova-less deploy by default
This flips the flags to disable nova in undercloud for master.
We use deployed server, so don't need to set 'baremetal_provision'
flag.

RDO jobs have already been converted.

Change-Id: I4e6c7d9d267e302e83af2989acda796c30fdc074
2020-09-03 23:27:17 +05:30
Chandan Kumar (raukadah) b71b15167c Set openstack namespace for victoria release onwards
https://review.opendev.org/747259 switches the container name
preffix to openstack for master.
In order to make it working for periodic jobs, we moved the var
to periodic release file at https://review.opendev.org/#/c/748690/
and for check one, it will take care.

Changes in container-build role takes care of provider job.

Closes-Bug: #1893339

Depends-On: https://review.opendev.org/#/c/747129/

Change-Id: I56b1570d7580c2592ff9948fae94c170db674a3f
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
2020-09-02 16:03:50 +05:30
Sagi Shnaidman 8c105f5581 New CI job: add settings for containers registries
Support pulling containers from provider job registry.

Change-Id: Ib85f3a61f20c60865362eea4d14e5ae6ab0ae46f
2020-09-01 07:57:40 +00:00
Zuul 1db0786124 Merge "Bumps up default Ceph container images for Queens and Rocky" 2020-07-06 15:36:15 +00:00
Emilien Macchi bbee06f544 standalone: add support to build containers before deployment
* Create a new role, container-build, that will install
  a Docker registry in a container, running on port 5001
  and run tripleo_container_image_build to build TripleO images from
  scratch.
* Update the standalone deploy role so it can deploy TripleO from
  locally built container images and not from a remote registry.

Change-Id: Ic3cb165b80ef7bed11381a3925a7d6294162ed78
2020-07-02 20:59:38 +00:00
Giulio Fidente 38943b7174 Bumps up default Ceph container images for Queens and Rocky
Updates ceph/daemon image to 3.2.14 which backports important
compatibility changes to support upgrades to 4.x

Change-Id: I2518e622fb5e739057d0d9060b6163e73056a019
Depends-On: If370d85eead771305705ad798501e3947a1c6f4f
2020-06-29 09:43:48 +00:00
Emilien Macchi 8d4186e253 Disable Mistral on the Undercloud for after Train
Change-Id: Ib6aaa04a30ad706c5020de7851987fb7455d3136
2020-05-05 00:33:40 +00:00
Emilien Macchi 23dbcac9ea overcloud-prep-images: install ara on mistral executor only when needed
Only install ara on mistral executor container if
undercloud_enable_mistral is set to True, otherwise we obviously don't
want it.

Move undercloud_enable_mistral to extras-common so it can be used by
both overcloud-prep-images and undercloud-deploy roles.

Change-Id: I69073b007138d8941da878def7033ffaf79e8f5d
2020-03-16 17:53:23 -04:00
Zuul 7664c3f7a6 Merge "Allow full path to be specified for amphora destination" 2020-03-16 21:28:51 +00:00
Brent Eagles 543343d450 Allow full path to be specified for amphora destination
Different versions of TripleO have different restrictions for the
amphora location. Parameterizing it allows quickstart and the
templates to put it in suitable locations.

Change-Id: I61c2e69f34280304c9dbab7af5e597956e5a7efe
2020-03-06 10:53:50 -03:30
Giulio Fidente 50a8eb4674 Bumps up default Ceph container images
Updates ceph/daemon image to 4.0.10 for stein/train/master

This same change is applied by default to all new deployments
via tripleo-common defaults

Depends-On: I67dd28bb5ebb86b64e6cd710b76aaa821f000658
Change-Id: Iec7bc6f092044a8b26988912ba1f4c0ea56ca062
2020-02-08 04:54:53 +01:00
Zuul 2e001a3b11 Merge "lint: enabled whitespace fixes" 2020-01-11 21:29:34 +00:00
Sorin Sbarnea 5795847107 Fix project name mapping to DLRN project name (v2)
This fixes failures produced when project name
doesn't starts with 'openstack/'

This is intended to unblock the use of tripleo-ci
that is now failing with projects that are not
hosted under the 'openstack/' prefix (like for
example x/tobiko).

Note: removed set -u because this can break source activate on old
versions of virtualenv.

The role should not fail when it fails to find a mapping, so it was
refactored to assured that.

Also assures that the html report of Ansible is colored, making it
easier to read.

Change-Id: Ibb562f818419373700177f3b2e665cd4eb5e32ef
Partial-Bug: #1859167
Partial-Bug: #1858890
2020-01-11 09:29:02 +00:00
Sorin Sbarnea fce23f7646 lint: enabled whitespace fixes
Adds two checks that were used in order repos (liketq)but not on this
one.

Change-Id: I4ccaf3dc78777b4b661fa17382f2feef8eb0d03e
2020-01-05 14:07:37 +00:00
Giulio Fidente df3cc910cf Bumps up default Ceph container images
Updates ceph/daemon image to to 3.2.10 for queens/rocky and
to 4.0.8 for stein/train/master

This same change is applied by default to all new deployments
via tripleo-common defaults

Depends-On: I15b3d092c911b465b8399a30e4d984e3cc3665b4
Depends-On: I6b80ae2e13deb390cbb2b152299a5915ebb337a2
Change-Id: Id50579329365ba3e57c5be8eb15063ea1b819503
2019-12-19 13:39:28 +01:00