13568 Commits

Author SHA1 Message Date
Harald Jensås
cea78ad4fd Add neutron port tag hint for default_route_network
Adds a tag tripleo_default_route=$BOOL to neutron ports
created by heat indicating if the ports interface is
used for the default route.

The value is controlled by the 'default_route_networks'
in roles data.

With network-data-v2 the same tag will be used to
set up ansible vars appropriately. Having the heat driven
process add the tag can be useful for upgrade/migration
automation.

Related: blueprint network-data-v2-ports
Change-Id: I20d48b3a29193dbcb70ec5cb13daf153bb0aeff2
2021-03-30 13:14:13 +02:00
Harald Jensås
b40d5d7027 Remove tripleo_hostname tag
The tags field in neutron has a max length of
60 characters. A hostname can be longer, and in
the case it is longer adding the tag will cause
a "Invalid input exceeds maximum length of 60"
error will be raised.

Related-Bug: #1921713
Change-Id: I72fd4a9575482389900145a03a6142cccd1111ba
2021-03-30 12:42:52 +02:00
Zuul
aa601a280f Merge "Designate: split bind instance into separate template" 2021-03-30 00:43:03 +00:00
Zuul
7399f85bc9 Merge "Remove duplicate keys from yaml files" 2021-03-29 21:22:47 +00:00
Zuul
47ccf1cfc7 Merge "Config parameters for timemaster service" 2021-03-29 17:03:32 +00:00
Zuul
1bb50929a4 Merge "Add artifact push interface to deployments" 2021-03-29 16:51:22 +00:00
Zuul
faf807a07d Merge "Correct spelling mistake" 2021-03-29 16:51:08 +00:00
Zuul
29f824b0b0 Merge "[OVN] Remove check for OVN + Availability Zones" 2021-03-29 16:05:40 +00:00
Zuul
bcd4ddeb71 Merge "Expose crush rule config parameter" 2021-03-29 15:39:13 +00:00
Zuul
a9361b28d4 Merge "Updating settings description" 2021-03-29 15:05:04 +00:00
Sorin Sbarnea
27788212cc Remove duplicate keys from yaml files
- removes duplicate keys from yaml files by assuming that the last
  one was the desired one (matches current loader behavior)
- prevent regressions by activating yaml lint rule that detects them
  (yaml skip was silencing all yaml checks, so the long list seen
  is in fact shorter than just 'yaml')
- includes sorting of some of the keys, was needed in order to spot
  the duplicates.

Change-Id: Idf5c0041a0c6d3ed7d5d49fb68be856719916663
2021-03-29 13:56:31 +00:00
Zuul
57842d13ae Merge "Fixed tox executions" 2021-03-29 12:29:19 +00:00
Zuul
14df5f0bff Merge "Add support for cinder-backup GCS and S3 backends" 2021-03-28 03:46:02 +00:00
Zuul
bb81090ef1 Merge "[collectd][ansible] Add THT to deploy collectd using ansible" 2021-03-27 08:49:17 +00:00
Zuul
32f1b3e7e1 Merge "HA: inject public certificates without blocking container" 2021-03-27 05:36:31 +00:00
Zuul
bceb6c42d9 Merge "Cavium/Liquidio is deprecated" 2021-03-27 05:25:39 +00:00
Zuul
15b1a2755b Merge "Remove or fix outdated/incorrect manila hieradata definitions" 2021-03-27 05:25:13 +00:00
Zuul
d52aa23ae9 Merge "Remove or fix outdated/incorrect swift hieradata definitions" 2021-03-27 05:24:54 +00:00
Zuul
12c4195803 Merge "Remove or fix outdated/incorrect ironic hieradata definitions" 2021-03-27 05:24:39 +00:00
Zuul
2f10cce757 Merge "Remove or fix outdated/incorrect ceilometer hieradata definitions" 2021-03-27 05:24:24 +00:00
Zuul
34076ab64b Merge "Remove or fix outdated/incorrect aodh hieradata definitions" 2021-03-27 05:24:16 +00:00
Zuul
6fb5fa97fd Merge "Remove or fix outdated/incorrect gnocchi hieradata definitions" 2021-03-27 05:15:19 +00:00
Sorin Sbarnea
2108a5191b Fixed tox executions
- fixed bindep to allow execution under fedora
- fixed flake8 config to use officially recommended use patterns
- assured that git does not report dirty after running tox (both
  pep8 and tht environments where breaking this by creating untracked
  files). tox-extra plugin addition will prevent future regressions.

Change-Id: I4137056853f8c5f1c2304bfb6ec1188a82b12130
Bug: #1921409
2021-03-26 15:37:07 +00:00
Lucas Alvares Gomes
9283e44d16 [OVN] Remove check for OVN + Availability Zones
The ML2/OVN driver does support AZ-aware routing scheduling from
stable/train and newer versions.

This patch also removes the check from the DHCP agent container because
although not a typical deployment, the Neutron DHCP agent can be
deployed with OVN for special cases such as baremetal provisioning where
the agent would serve DHCP to the baremetal instances.

Change-Id: I8941c4d9a8e68eb775c910495de4aff9fbc67206
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2021-03-26 11:58:02 +00:00
Zuul
ab7a7d841f Merge "Explicitly set port numbers used in swift storage" 2021-03-25 23:50:19 +00:00
Kevin Carter
9616f83e56 Add artifact push interface to deployments
This change adds an artifact push task to deployments, which helps
support operators to ensure they've a better overall user experience
without needing to deploy an http server or running Swift on the
undercloud.

Depends-On: I5d18cf334c1bc4011db968fbeb4f9e41869611cd
Change-Id: I7bef7c4c7613a2475784dde135d71232b412d79f
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2021-03-25 21:46:14 +00:00
Damien Ciabrini
93e53b7429 HA: inject public certificates without blocking container
Do not inject public certificates in pacemaker bundles by means
of "podman cp", as this pauses the container for a short amount
of time and can make pacemaker operation fail during that time
window and impact cluster for no reason.

Keep "podman cp" for non-HA containers, as the freeze is short
and doesn't seem to impact podman monitoring anyway.

The new certificate injection only works for podman 1.9+, lower
version won't overwrite the existing certificate.

Closes-Bug: #1917868

Change-Id: Id7308f028f33716be5e3df6699c3f2c12e33e344
2021-03-25 10:51:59 +01:00
Zuul
b5ecde2f27 Merge "haproxy: fix typo after migration of TLS to ansible role" 2021-03-25 05:49:58 +00:00
Zuul
7fea537451 Merge "Add support for py39" 2021-03-25 01:52:16 +00:00
Zuul
f29a9a0112 Merge "live_migration setting should be under libvirt namespace" 2021-03-24 10:30:34 +00:00
Sorin Sbarnea
727d1656df Add support for py39
- Use version agnostic "py" inside tox default envs
- Enable py39 testing jobs (new template contains them)
- Address deprecation warning in setup.cfg regarding use of dashes
  instead of underlines (avoid future breakage with setuptools)

Change-Id: I26be50e029393e01db6718a21ac67d669ccd2e0c
2021-03-24 09:40:57 +00:00
Alan Bishop
91a84be6f1 Add support for cinder-backup GCS and S3 backends
The CinderBackupBackend parameter now supports 'gcs' and 's3' values,
and new parameters for configuring the associated backup backends.

The template now generates hiera config_settings for only the selected
backup backend, rather than generating hiera data for all backup
backends regardless of which one is selected.

Depends-On: I06857dd2fb64071ea734a0d3ef68ada5e5d2c077
Change-Id: I08293c7a15187b8c60f56bbc0d2d64ccf6e38227
2021-03-23 08:09:18 -07:00
Cédric Jeanneret
5a3f55ed95 Cavium/Liquidio is deprecated
There isn't any actual upstream support for this hardware vendor, and
the liquidio driver has been deprecated since rhel-8.

Change-Id: I25516157df02ef8299f4a3cfeff2508ca59b5959
2021-03-23 09:04:45 +01:00
Brent Eagles
56b8ec4e18 Designate: split bind instance into separate template
There isn't a 1:1 correlation between the designate worker and bind
instances nor is it always desirable to run them on the same host.

Depends-On: If97e16a125537c1b5d9f5cfac1de0ffae0edb99a
Change-Id: I624299476a2911f12b1f5ce01964e5d926c6b38e
2021-03-22 15:55:00 -02:30
Zuul
d80d8ab57b Merge "Optimize conditions for TLS support" 2021-03-22 18:21:51 +00:00
Damien Ciabrini
37a24bfe50 haproxy: fix typo after migration of TLS to ansible role
There are some typos in the post_script that gets called
when certmonger renews the HAProxy certificates. Fix them.

Change-Id: Ie9a64feddf7483036983f242d477fc8bdb6dbc1f
2021-03-22 18:23:10 +01:00
David Vallee Delisle
d350da5a8e live_migration setting should be under libvirt namespace
They are currently not taken into account because they have the wrong
namespaces.

Change-Id: I845bc3c533e55dd5398d6a74ee48762cfd32b8a9
2021-03-22 12:32:33 -04:00
Emma Foley
4ddc178cdc [collectd][ansible] Add THT to deploy collectd using ansible
All heat params have been copied over, there are a bunch
that are used for conditionals.
The outputs and conditionals secions in *-puppet do a lot
of configuration, and provides lists of defaults for
puppet. These will be moved to ansible, role is at [1]
and in tripleo_ansible.

[1] https://github.com/infrawatch/collectd-config-ansible-role
[x] https://github.com/infrawatch/tripleo-collectd-ansible-role

Depends-On: Ib75702bf17a76cae3a811db503d3365e6aacf663
Change-Id: I9939a524795bb3fbc63e44f203f851dadeb7c30a
2021-03-22 15:35:08 +00:00
David Vallee Delisle
8bf1fb755a Updating settings description
Better wording for NovaLiveMigrationPermitPostCopy and
NovaLiveMigrationPermitAutoConverge.

Change-Id: Ic0a8937b64f01271dba52d1e096df3697c3ff4d4
2021-03-22 10:30:14 -04:00
Francesco Pantano
519378191e
Expose crush rule config parameter
This change introduces a new CephCrushRule parameter that can be
used to describe the tiering rules for a target Ceph deployed
cluster.

Depends-On: If51cdfab825c86cd78da4520cb130d93148a1d43
Change-Id: Ia1557125859cab2d9a05715fbc0ebfaebe000b53
2021-03-22 11:57:05 +01:00
Alexey Stupnikov
e2680bbf7e Remove or fix outdated/incorrect manila hieradata definitions
- manila::backend::cephfsnative::ceph_client_key was initially
  used by tripleo::pacemaker::manila class to define Ceph keyring
  for manila user. During Ocata release this class was adjusted
  to integrate TripleO with ceph-ansible (change:
  I2b5567a39ac8737e80758b705818cc1807dc8bf1) and
  manila::backend::cephfs::ceph_client_key parameter was removed
  from puppet-tripleo.

  For some reason, artifact definition was not removed from THT
  and was renamed to manila::backend::cephfs::ceph_client_key
  (change: Ib408c7827e5fba0c1b01388db26363806fc64370). At this
  point this parameter looks meaningless.

Partial-Bug: #1916386
Change-Id: Id4fa40a046037a90a72ac1ed1a7e77bd5a636e32
2021-03-21 17:09:24 +01:00
Alexey Stupnikov
e7077e984b Remove or fix outdated/incorrect swift hieradata definitions
- swift::proxy::s3token::www_authenticate_uri doesn't exist,
  swift::proxy::s3token::auth_uri should likely be used
  instead.

Partial-Bug: #1916386
Change-Id: I48ada3704f96d858d79e31d4b1600c7905d1f62d
2021-03-21 16:53:12 +01:00
Alexey Stupnikov
111130d4f6 Remove or fix outdated/incorrect ironic hieradata definitions
- ironic::drivers::inspector::enabled parameter was removed in
  Train release cycle. Changes:
  If14d1212f7eda0cc44b7802e0788b65de63d7666
  I43941b598c05c3f6529ede274d526e3a6c8910d5

Partial-Bug: #1916386
Change-Id: Idf37ab04626acbf188eb0e54e508313e9f344c23
2021-03-21 16:05:10 +01:00
Alexey Stupnikov
95a0c8ff3e Remove or fix outdated/incorrect ceilometer hieradata definitions
- ceilometer::agent::compute class was removed in Train release.
  ceilometer::agent::polling class should be used instead.
  change: I33c45e1ac69348df3d4f0a0df4561295123bdcce

Partial-Bug: #1916386
Change-Id: I597929128741be97bd859ea76e7f8dd8f7ac19fd
2021-03-21 15:15:19 +01:00
Alexey Stupnikov
8ba48afc6f Remove or fix outdated/incorrect aodh hieradata definitions
- aodh::api::host parameter was removed during Train release.
  Aodh API was for testing purposes only,
  aodh::wsgi::apache::host parameter should be used instead and is
  already defined in THT. Changes:
  I0da4dc1ba52bae5becd5e2a9c0f008cbe2907446 and
  I887d86893e90cebf5bc28dd539e42436f9a31c6a
- there was a typo in aodh::alarm_history_time_to_live definition.

Partial-Bug: #1916386
Change-Id: I8f59623867a1802e2da103b8f56f68dc018f54cb
2021-03-21 15:04:04 +01:00
Alexey Stupnikov
4d0d7adaf7 Remove or fix outdated/incorrect gnocchi hieradata definitions
- glance::statsd::user_id and gnocchi::statsd::project_id were
  removed during Rocky release cycle. change:
  I3f53036f65cd520403efdb2e179a5509a0637b90

Partial-Bug: #1916386
Change-Id: I64402920c29d6cfd43d44abcc82f5263f5467a03
2021-03-21 14:46:13 +01:00
Zuul
1f128e903d Merge "Drop older install CentOS/RHEL 7 tasks" 2021-03-20 15:38:48 +00:00
Zuul
86e13bbf36 Merge "Add the Unbound DNS resolver service" 2021-03-20 01:44:00 +00:00
Zuul
2ba20996d7 Merge "Remove or fix outdated/incorrect cinder hieradata definitions" 2021-03-19 23:57:03 +00:00
Zuul
b0c107825a Merge "Comment out parameter_defaults in barbican simple crypto template" 2021-03-19 12:22:19 +00:00