Commit Graph

2011 Commits

Author SHA1 Message Date
Alex Schultz
fad7e3fb90 Revert "Allow ovn_db_host to be of type array"
We shouldn't override the hieradata but rather be explicit about which
mode we're operating in. e.g. pacemaker or not. This will help in
troubleshooting and not rely on hieradata overrides to work.

This reverts commit 0b51d8258c.

Related-Bug: #1931133
Change-Id: Id8df4fe5ce26dbcdeb7ba073ecb2199cf392b03b
2021-06-07 10:21:40 -06:00
Zuul
fb44599b20 Merge "Replace deprecated ceilometer::agent::auth" 2021-06-05 13:43:05 +00:00
Zuul
7807b122f9 Merge "Adding nova::network::neutron to nova-conductor" 2021-05-26 21:25:52 +00:00
David Vallee Delisle
6392cc6620 Adding nova::network::neutron to nova-conductor
When deploying multiple compute cells, conductor module needs to source
the nova::network::neutron module otherwise the neutron settings are not
configured on the cell conductor node.

Closes-Bug: #1929427
Change-Id: I236ab69175877f8ec5d3b1bef732486ae2b15b9d
2021-05-26 08:12:12 +09:00
Zuul
7553a6f371 Merge "Allow overriding RBD disk cache modes" 2021-05-24 15:51:07 +00:00
Zuul
63a9008914 Merge "Add socat listen backend to clustercheck service" 2021-05-21 21:48:21 +00:00
Bogdan Dobrelya
f12a143f52 Allow overriding RBD disk cache modes
Keep the default network=writeback setting, but allow it
to come from hiera overrides as well.

Change-Id: I47aaf4be463684f5b67820b8ebb5db44ba960b44
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2021-05-21 15:25:27 +02:00
ramishra
8ae1f90f1a Stop using removed parameters
libvirt_disk_cachemodes/libvirt_hw_disk_discard parameters were
dropped with [1]

[1] https://review.opendev.org/c/openstack/puppet-nova/+/789559

Change-Id: I0df99f33b021d9ca41afaa19d07ace81677cd3b8
Closes-Bug: #1928968
2021-05-19 22:39:41 +05:30
Zuul
93ab75db3e Merge "Glance: Include new puppet classes for castellan options" 2021-05-17 19:20:09 +00:00
Damien Ciabrini
5c11340b81 Add socat listen backend to clustercheck service
Allow clustercheck to be started on-demand by either socat or
xinetd. T-h-t configures the backend to be run by Kolla at
container start.

Change-Id: Ie7ede82a755e729d66e077f97e87b3d6c816ed3c
Related-Bug: #1928693
2021-05-17 17:22:14 +02:00
Zuul
83e95253b9 Merge "Add option to set rsyslog reopenOnTruncate parameter for all services" 2021-05-17 13:05:47 +00:00
Takashi Kajinami
5af44ea665 Glance: Include new puppet classes for castellan options
The keymgr_* parameters are deprecated and these parameters will be
completely migrated to glance::key_manager. This change ensures the new
classes are included.

Depends-on: https://review.opendev.org/772141
Change-Id: Idc5b51db85b007abad34d0d69cf5be9fe51c5f0d
2021-05-14 07:41:11 +00:00
Zuul
ade72d51ce Merge "Fix lint errors with the latest lint packages" 2021-05-14 07:39:43 +00:00
Takashi Kajinami
f08d83de05 Fix lint errors with the latest lint packages
This change fixes the lint errors detected since we removed pins of
lint packages.
Note that this change also replaces absolute name used to call
the tripleo::stunnel::service_proxy resource type, which is not yet
detected by the latest lint rules.

Closes-Bug: #1928079
Change-Id: I12ba801db92cb3df1d05f14f4c150ac765f0b874
2021-05-11 22:17:37 +09:00
Paul Leimer
38f00b7162 Add option to set rsyslog reopenOnTruncate parameter for all services
If defined, set reopenOnTruncate rsyslog imfile option for all services. Paremeter definition set by the services takes precedence

Change-Id: I5870c0689434eaca8d114cd83e1164e1454565d7
2021-05-06 16:51:14 -04:00
Zuul
18eb2a12e9 Merge "Introduce nova virtlogd wrapper" 2021-05-05 12:27:46 +00:00
Zuul
acf80e314a Merge "nova: include nova::cinder in more common place" 2021-05-05 00:55:55 +00:00
Martin Schuppert
f09aa48d95 Introduce nova virtlogd wrapper
When nova_virtlogd container gets restarted the instance console auth files
will not be reopened again by virtlogd. As a result either instances need
to be restarted or live migrated to a different compute node to get new
console logs messages logged again.
Usually on receipt of SIGUSR1, virtlogd will re-exec() its binary, while
maintaining all current logs and clients. This allows for live upgrades of
the virtlogd service on non containerized environments where updates just
by doing an RPM update.
To reduce the likelihood in a containerized environment virtlogd should
only be restarted on manual request, or on compute node reboot. It should
not be restarted on a minor update without migration off instances.
This introduces a nova_virtlogd_wrapper container and virtlogd wrapper
script, to only restart virtlogd on either manual or compute node restart.

Closes-Bug: #1838272

Change-Id: I5192f8c306422d0966eef7544f719cc21172bd92
Co-Authored-By: Rajesh Tailor <ratailor@redhat.com>
2021-04-29 10:11:29 +02:00
Zuul
cddca4de5e Merge "cinder: remove support for the Veritas HyperScale Driver" 2021-04-27 05:29:49 +00:00
Takashi Kajinami
52a9396acf cinder: remove support for the Veritas HyperScale Driver
Following the change in tripleo-heat-templates, this change removes
all implementation to support the Veritas HyperScale Driver, since
the driver itself has been removed from cinder.

Depends-on: https://review.opendev.org/787587
Change-Id: I4131fcd5bb39dc09527f17b5d149fe18be3f2fd5
2021-04-24 12:41:36 +00:00
Takashi Kajinami
ff7636d3f9 Replace deprecated ceilometer::agent::auth
... with the new ceilometer::agent::service_credentials class.

Depends-on: https://review.opendev.org/775730
Depends-on: https://review.opendev.org/784952
Change-Id: I045a7ac2a36507c201b9a0745cc57587282f8596
2021-04-24 11:03:07 +09:00
Zuul
98f00851c4 Merge "Remove redundant import of barbican::keystone::authtoken" 2021-04-22 19:04:24 +00:00
Zuul
3095d1ba95 Merge "Remove puppet-certmonger related puppet-files" 2021-04-22 01:02:37 +00:00
Takashi Kajinami
6691c97e36 nova: include nova::cinder in more common place
... because the cinder_catalog_info parameter, which is used by api
and compute, have been migrated from nova to nova::cinder[1].

[1] 72103db985d00b3289b8b936956166f20ef8f3d0

Change-Id: Ic90e3eb0898d9c8317fb994db4275be2db0bc679
2021-04-21 22:34:30 +09:00
Grzegorz Grasza
48832c961c Remove puppet-certmonger related puppet-files
Implements: blueprint ansible-certmonger
Depends-On: https://review.opendev.org/771832
Depends-On: https://review.opendev.org/c/openstack/tripleo-common/+/786053
Change-Id: I5305bce78e9bbf382b00e3f3b5803b983a059db7
2021-04-21 09:56:05 +02:00
Zuul
ebdb518247 Merge "Add cinder RBD support for multiple ceph clusters" 2021-04-21 01:05:43 +00:00
Takashi Kajinami
7486679c97 Remove redundant import of barbican::keystone::authtoken
The barbican::keystone::authtoken class in imported by
the barbican::authtoken class thus we don't need to include it in
the barbican::api class.

Change-Id: I6e1a144cd3e449491b61d060a3df5355a405e67a
2021-04-20 23:29:09 +09:00
Zuul
3521c10972 Merge "Remove deprecated dellemc_xtremio_iscsi resource" 2021-04-20 05:34:06 +00:00
Ivan Pchelintsev
1afa7f5ae1 Remove deprecated dellemc_xtremio_iscsi resource
tripleo::profile::base::cinder::volume::dellemc_xtremio_iscsi
is deprecated and should have been removed in Victoria release.

Note:
This change includes switch of puppetlabs-haproxy branch name to fix
the unit tests failure at the same time.

Change-Id: I0682ab192de4ddafc4abcc9d57b1dacc713c49a8
2021-04-19 23:33:37 +09:00
Zuul
d4fb4495c2 Merge "Move stonith resource creation to step2" 2021-04-14 14:45:56 +00:00
Michele Baldessari
59076017bb Move stonith resource creation to step2
With the merging of the pcs on host patchset for train we are seeing a
problem with FFUs on Instance HA environments.

Preamble:
Tripleo keeps the stonith-enabled cluster property set to false until the puppet step 5

With the pcs on host patchset the enablement happens still at step 5 but
it gets triggered during tripleo_ha_wrapper deployment task of
cinder-volume which tries to restart the cinder-volume service (during
the leapp of the first controller) and this hangs forever because
pacemaker is in the following transition:
- stonith-fence_compute-fence-nova is configured
- pacemaker wants to call stonith on for controller-0 (which is probably
  dumb, but it is unlikely we'll be able to change that in the right
  timeframe as it seems a potentially involved change in behaviour)
- Any other action, like cinder-volume restart in this case, is stuck
  and the FFU fails.

If we simply move the stonith resource creation (and change nothing else
in the stonith-enabled property being set at step 5) to step 2, we
fix this.

Tested and with the injection of this puppet-tripleo review into the
FFU queens->train upgrade on an IHA system, now the FFU passes.
Also applied this patch to a Train based IHA deployment and verified
that deployment, redeploy, minor update and scaleup all keep on working.

Closes-Bug: #1923723

Change-Id: Ib3e2d9c93221dfc2e15974142f30e8c84e7afd63
2021-04-14 08:44:02 +02:00
Carlos Goncalves
0b51d8258c Allow ovn_db_host to be of type array
On an OVN clustered database environment, there is no OVN VIP as all
OVN databases are active. Neutron has to be configured to point to all
OVN database servers in the cluster.

Co-Authored-By: Michele Baldessari <michele@acksyn.org>
Change-Id: Ib8624f0c2e87de18a990060c3cb939c13ec3a6f2
2021-04-13 09:39:01 +00:00
Zuul
578fa57e31 Merge "Clean up deprecated parameters for nova metadata eventlet service" 2021-04-08 21:10:06 +00:00
Zuul
262de12910 Merge "cinder: remove ineffective implementation about key_mgr_backend" 2021-04-08 19:26:30 +00:00
Zuul
5800359cd6 Merge "Gnocchi: Do not manage facl of ceph keyring" 2021-04-07 10:28:13 +00:00
Zuul
e3ebbb1143 Merge "Enable configuration of omamqp1 plugin" 2021-04-07 02:35:00 +00:00
Takashi Kajinami
6aa4681137 Gnocchi: Do not manage facl of ceph keyring
... because this logic is never enabled and blocking usage of the exec
resource now.

Change-Id: I65842685b026eca1eb18f458c1b81096d9bd51bf
Related-Bug: #1922282
2021-04-07 08:39:13 +09:00
Zuul
3140ca5c4e Merge "Handle cinder volume type for multiple cinder stores" 2021-04-06 19:21:49 +00:00
Takashi Kajinami
14528b2640 cinder: remove ineffective implementation about key_mgr_backend
Change c376d64e5f deprecated
the key_mgr_backend parameter of the cinder::api class, but the logic
to pick up the deprecatd parameter, which was implemented by this
change, was invalid because the cinder class is included before
the cinder::api class is included.
This change removes the invalid implementation and makes that parameter
just ineffective, because we use the cinder::* parameter from t-h-t
and it is unlikely that users would use that puppet-tripleo parameter
directly.

Change-Id: Ie24f82fcede4d2862f9e6a49734959499d9fd845
2021-04-05 20:45:31 +09:00
Alan Bishop
22a5dd19bd Add cinder RBD support for multiple ceph clusters
Following the pattern of other cinder backends, a new
tripleo::profile::base::cinder::volume::rbd::multi_config parameter
adds support for configuring cinder RBD backends associated with
multiple ceph clusters. The multi_config parameter is a hash that
specifies the settings required to access each additional cluster
(FSID, pool and client names, etc.).

This patch also deprecates legacy code that managed ACLs for the ceph
client keyring. THT already ensures cinder can access the keyring
using kolla_config permissions.

Change-Id: I040e25341c9869ad289d7e7c98e831caef23fece
2021-04-01 11:50:27 -07:00
Pranali Deore
0dcb12907d Handle cinder volume type for multiple cinder stores
1. Adding 'cinder_volume_type' configuration parameter to allow
cinder stores to specify a volume type for each cinder store.

2. Removed the restrictions are imposed to allow only a single
   instance of the 'cinder'.

Partially Implements: blueprint multiple-cinder-backend-support

Change-Id: I58df2815e59fe064fe3f0f1d5e1cd35e63d5bdd1
2021-03-30 09:35:46 +00:00
Zuul
12aa5c8a08 Merge "Add parameter for chap_algs in iscsid.conf" 2021-03-30 05:54:01 +00:00
Zuul
e2a980bc7b Merge "Remove support for networking-cisco" 2021-03-30 04:10:41 +00:00
Takashi Kajinami
0cfd1160ce Swift: Include puppet classes for gatekeeper and listing_formats
The gatekeeper middleware and the listing_formats middleware are always
enabled in proxy-server pipeline, even if these middlewares are not
explicitly enabled in the pipeline parameter.
This change ensure that the corresponding puppet classes are included
so that operators can set parameters of the these two middlewares.

This change also updates order of class inclusions so that the order
becomes consistent with the pipeline parameter.

Depends-on: https://review.opendev.org/776826
Change-Id: I994e549c5ccc9b06af2682826ac040edf51a3efa
2021-03-27 13:43:09 +00:00
Zuul
d3ac0b5461 Merge "Neutron: remove support for N1kv driver" 2021-03-25 01:52:36 +00:00
Martin Magr
8d76ecabcf Enable configuration of omamqp1 plugin
Adds necessary configuration logic for AMQP-1.0 plugin for rsyslog.

Change-Id: Ibfa43a89ea4c0411f83849ced183bf9609a50d97
2021-03-24 13:21:55 +01:00
Zuul
ea5e7fc853 Merge "Add support for cinder-backup GCS and S3 backends" 2021-03-24 07:02:08 +00:00
Alan Bishop
c06f6f3f1e Add support for cinder-backup GCS and S3 backends
This patch adds these new classes:
- tripleo::profile::base::cinder::backup::gcs
- tripleo::profile::base::cinder::backup::s3

Depends-On: I7fd2c745480086571d02b89d4adbaa02213a94fa
Change-Id: I06857dd2fb64071ea734a0d3ef68ada5e5d2c077
2021-03-23 09:12:54 -07:00
Zuul
9d56b927c0 Merge "Add support for configuring designate DNS backend" 2021-03-22 18:22:07 +00:00
Brent Eagles
d8988a1065 Add support for configuring designate DNS backend
Currently just a thin layer between the templates and puppet-designate.
bind9 is currently the only supported backend.

Change-Id: If97e16a125537c1b5d9f5cfac1de0ffae0edb99a
2021-03-21 22:53:00 +09:00