3103 Commits

Author SHA1 Message Date
Hervé Beraud
6752153818 Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is deprecated and TOX_CONSTRAINTS_FILE is
the new environment variable name that replaces it [1].

This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
[2] https://review.opendev.org/#/c/722814/

Change-Id: I6e5c16f0ef5bbcbd0b5a935d9b659a97309291a8
2020-11-04 11:09:29 +01:00
MSA
e6885a4ee0 Bump metadata to 13.4.0 preparing to create stable/victoria branch
See [1] for more info about stable/victoria on tripleo repos

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-October/018269.html

Change-Id: Ieeb6ffcd046c1ebeb875fb4183a3080015076d76
2020-10-28 13:43:43 +02:00
Zuul
cfaea88a5b Merge "Revert "Update horizon manifest to use new ssl variable names"" 2020-10-28 10:20:50 +00:00
Zuul
f32d3c65fa Merge "Puppet config options for AMQP1 sensubility transport" 2020-10-27 21:06:10 +00:00
Takashi Kajinami
313888ba96 Revert "Update horizon manifest to use new ssl variable names"
Because the dependent patch[1] does not present in stable/victoria
we should not merge this patch until stable/victoria release is created
for TripleO projects.
This revert will be reverted once stable/victoria branch is created.

[1] https://review.opendev.org/#/c/758041/

This reverts commit 09d7aa88341010b681af1c259ceb7ec7dbd9529b.

Closes-Bug: #1901626
Change-Id: Ica99237cbb92cf9d23e067490c2dce5fd5101457
2020-10-27 08:16:09 +09:00
Rafael Folco
206d65e62a Simplify tags in consumer jobs
Use remove_tags instead.

Change-Id: I8d7075d33115317b5c95bab0ffe67afa155915a6
2020-10-26 12:55:36 -03:00
Zuul
4a44a1ba59 Merge "Make nova_metadata use source LB strategy" 2020-10-24 01:16:20 +00:00
Zuul
7e122e0947 Merge "Add explicit AllowUsers options for nova_migration" 2020-10-24 01:15:14 +00:00
Zuul
3fd3e915a2 Merge "Update horizon manifest to use new ssl variable names" 2020-10-24 01:15:13 +00:00
Lance Bragstad
09d7aa8834 Update horizon manifest to use new ssl variable names
A recent change [0] to puppet-horizon renamed horizon_cert and
horizon_key to use different names. This commit updates puppet-tripleo
to use the appropriate names.

[0] https://review.opendev.org/#/c/758041/6

Change-Id: Ie479c69b77c67425188160a8af8c933ad6db79f4
2020-10-22 12:22:05 +00:00
Michele Baldessari
1dbd82a1a9 Make nova_metadata use source LB strategy
Generating the metadata for a VM that has been freshly booted
is a fairly expensive operation. Let's use a source balance option
in the nova_metadata haproxy stanza so that the requests from
the same compute node end up on the same controller, hence increasing
the locality of this operation.

Generated haproxy stanza looks like:
listen nova_metadata
  bind 172.17.1.150:8775 transparent ssl crt /etc/pki/tls/certs/haproxy/overcloud-haproxy-internal_api.pem
  mode http
  balance source
  hash-type consistent
  http-request set-header X-Forwarded-Proto https if { ssl_fc }
  http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
  http-request set-header X-Forwarded-Port %[dst_port]
  option httpchk
  option httplog
  server controller-0.internalapi.foo.local 172.17.1.90:8775 ca-file /etc/ipa/ca.crt check fall 5 inter 2000 rise 2 ssl verify required verifyhost controller-0.internalapi.foo.local
  server controller-1.internalapi.foo.local 172.17.1.95:8775 ca-file /etc/ipa/ca.crt check fall 5 inter 2000 rise 2 ssl verify required verifyhost controller-1.internalapi.foo.local
  server controller-2.internalapi.foo.local 172.17.1.87:8775 ca-file /etc/ipa/ca.crt check fall 5 inter 2000 rise 2 ssl verify required verifyhost controller-2.internalapi.foo.local

We also add the consistent hash-type as it should improve the cache
behaviour when a controller disappears or gets added.

Change-Id: I4847ae10b03cf7b0571976097262bc8069c4e070
2020-10-22 13:24:06 +02:00
Takashi Kajinami
8fd11cfdd1 Fix the misplaced release note files
Change-Id: I9414c2db4ac376e6ed304e7b1772854857292609
2020-10-22 09:13:28 +09:00
pleimer
275dfedb9d Puppet config options for AMQP1 sensubility transport
This patch introduces configuration options to setup collectd
sensubility to use the AMQP1 transport. This is primarily for
STF compatability.

Change-Id: I5a153004e0175f6826bfd10ac25b7e6f9ce09b96
2020-10-21 13:51:25 -04:00
Zhu Sheng Li
7fb4d982dc Add explicit AllowUsers options for nova_migration
If sshd on the compute nodes is configured with AllowUsers via Heat
template, then nova_migation user could be rejected.

Change-Id: I1a380cdcc325e1ae19fb9510a56a96eb503f51f5
Closes-Bug: #1899996
2020-10-19 23:32:57 +08:00
Zuul
23478b8128 Merge "Fix context string in unit tests" 2020-10-14 15:15:53 +00:00
Zuul
6d7c102caf Merge "Add amqp send queue limit for collectd" 2020-10-13 20:12:18 +00:00
Zuul
432b0497f7 Merge "Update comment to fix lint error" 2020-10-13 20:12:10 +00:00
Zuul
48892849f5 Merge "Include ovs_driver and sriov_driver classes in base neutron profile" 2020-10-13 07:28:42 +00:00
Takashi Kajinami
2626cf5be2 Fix context string in unit tests
TrivialFix

Change-Id: I467593d829e95878bbbc17dfde0828f7724a5b95
2020-10-13 09:53:33 +09:00
Zuul
8d95fb5678 Merge "Switch to content provider jobs/templates" 2020-10-12 20:41:20 +00:00
Matthias Runge
08b126e558 Add amqp send queue limit for collectd
send_queue_limit was added recently to puppet-collectd and
will be available in puppet-collectd-12.2

Change-Id: Ida812cdbe5141ff91a7db7c46e422f86fb762f98
2020-10-12 14:14:27 +02:00
Zuul
8973446702 Merge "Add changes for collectd libpod stats plugin" 2020-10-10 06:58:20 +00:00
Zuul
0160708264 Merge "Allow overriding share protocols with manila" 2020-10-10 02:51:25 +00:00
Slawek Kaplonski
3f2171acbd Include ovs_driver and sriov_driver classes in base neutron profile
This classes are needed to configure things related to the
sriov or ovs mechanism drivers on neutron server like e.g.
vnic_type_blacklist.

Depends-On: https://review.opendev.org/756527

Change-Id: Ia014cb098591a28ddfcd8b3dff536fa2337d23a8
2020-10-09 11:07:17 +00:00
Goutham Pacha Ravi
f032b7c186 Allow overriding share protocols with manila
We need a way to override available protocols
for enabled Shared File Systems service back ends,
or enable custom ones per the deployment.

Change-Id: I7b36e5c45b029f070976e58335d79678752a990c
Closes-Bug: #1831767
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Co-Authored-By: Alan Bishop <abishop@redhat.com>
2020-10-07 16:51:10 +00:00
Rafael Folco
d9abf578ee Switch to content provider jobs/templates
This change switches templates and jobs to the content provider
dependency relation so the jobs share the produced artifacts.

Depends-On: https://review.opendev.org/#/c/756128
Change-Id: I9eb9123c4480a6882ac7af76afa0f75cfe23b470
2020-10-07 13:23:02 -03:00
Zuul
2fbc53ac1e Merge "Make ceph_dashboard haproxy config parametric" 2020-10-06 16:04:55 +00:00
Takashi Kajinami
76a80d9e6c Update comment to fix lint error
This patch updats comment in several manifests to fix lint error with
the following messages:
 - No matching class parameter for documentation of <parameter name>
 - Duplicate class parameter documentation for <parameter name>

Change-Id: I927fc43fefe169d4041d980ef834975822d3755d
2020-10-06 01:39:04 +09:00
Francesco Pantano
1a5be7eca5
Make ceph_dashboard haproxy config parametric
This change adds some parameters needed to make the Ceph Dashboard
haproxy section working when in a tls-everywhere enabled scenario.
In addition, the purpose of the change is to make the haproxy Ceph
dashboard config consistent with the reference documentation [1]
that describes the ssl use case and its prerequisites [2].

[1] https://docs.ceph.com/en/latest/mgr/dashboard/#haproxy-example-configuration
[2] https://docs.ceph.com/en/latest/mgr/dashboard/#disable-the-redirection

Change-Id: Ifb7a8d25b27457965c4ece21fbbb448bf204e32c
2020-10-05 13:58:17 +02:00
Zuul
9dc12fb457 Merge "Add fence_cisco_ucs support in tripleo fencing manifests" 2020-10-02 23:08:15 +00:00
pleimer
1ae59bf355 Add changes for collectd libpod stats plugin
Because the libpod stats plugin is written in golang rather than C,
it is not included in the collectd rpm and therefor cannot be
configured by puppet-collectd and are made here instead. A simple
variable for enabling will suffice for now since the plugin does
not currently have any configuration options.

Change-Id: I575b6504e24f9d690e1b88b2a6bec296438ce747
Signed-off-by: pleimer <pfbleimer@gmail.com>
2020-10-02 13:08:46 -04:00
Zuul
c80e00bb8e Merge "Replace deprecated openstacklib::db::mysql::password_hash" 2020-10-02 08:54:55 +00:00
Zuul
0055c7872a Merge "Include the nova::quota class for nova quota configuration" 2020-10-02 05:38:59 +00:00
Zuul
0d102c7181 Merge "Support designate profile when redis is not available" 2020-10-02 05:38:58 +00:00
Zuul
1d5a82a5ab Merge "Add Memcached certificate generation" 2020-10-01 22:21:19 +00:00
Zuul
8320ffa5ee Merge "Add unit tests for memcached manifests" 2020-10-01 03:54:56 +00:00
Takashi Kajinami
0091307983 Include the nova::quota class for nova quota configuration
The nova::quota class provides interface to set parameters for nova
quota, and including the class helps us set these parameters easily.

Change-Id: I260880986d700a210bf623ad1f4903c6a5e29194
2020-09-30 20:20:18 +09:00
Zuul
87d6861041 Merge "Handle sparse image upload configuration parameters" 2020-09-29 04:51:10 +00:00
michaeltchapman
a9ca0ec043 Support designate profile when redis is not available
Designate can function without redis in testing environments like
tripleo-standalone where multiple producers are not present.

Change-Id: I1f8bb80cb7498cba12aae399321369dc55c33523
2020-09-29 13:33:39 +10:00
Zuul
b81beb477a Merge "Bump metadata version to 13.3.0 for TripleO victoria rc1 release" 2020-09-26 00:58:34 +00:00
PranaliD
71b70a16b3 Handle sparse image upload configuration parameters
Addng ``rbd_thin_provisioning`` and ``filesystem_thin_provisioning``
to rbd and filesystem backends, to enable or not sparse upload.

Depends-On: Ic95fa45af0f1db92d8425862c6267f466764fbbe
Change-Id: I90c8ea98a96fa57f5bf3bf0c6b2b37ec95474baf
2020-09-26 08:57:44 +09:00
Takashi Kajinami
29bced96bd Replace deprecated openstacklib::db::mysql::password_hash
Since [1] was merged into puppet-openstacklib, the password_hash
parameter has been deprecated. Now hash value is generated in
puppet-openstacklib layer, and a plain password should be passed
via the password parameter instead.

[1] e4b68e9ad62bc55f9d941874bc3af97c01e4bc61

Change-Id: Ia3455e90a40f35a378f8643fd9c8d4d251b44141
2020-09-25 23:54:29 +09:00
David Hill
528dc8394f Add fence_cisco_ucs support in tripleo fencing manifests
Add fence_cisco_ucs support in tripleo fencing manifests since
pacemaker puppet modules supports this easily.  We already tested
this patch and it worked flawlessly.

Change-Id: I0cbefd2b23c890e0f4d97153895fbeedff861ace
2020-09-25 08:42:00 -04:00
Marios Andreou
7a55b4773e Bump metadata version to 13.3.0 for TripleO victoria rc1 release
Victoria rc1 release proposed at Depends-On

Needed-By: Ia2b655987b646b6d431892e22942ef1dc5849808
Change-Id: Id6d7facb3ad06e952817bcff72fef2d5a965ad0b
2020-09-25 10:04:19 +00:00
Emilien Macchi
18e54f5692 Remove package_manifest
This was created 5 years ago and is not useful anymore, let's remove it.

Depends-On: https://review.opendev.org/753324
Change-Id: Iac8ba86958fe2fba0c9b48cef02ba41f8d4c32cf
2020-09-22 10:09:27 -04:00
Zuul
ce090228c0 Merge "Add support for manila db purge job" 2020-09-22 02:30:51 +00:00
Michele Baldessari
8d195ca9b5 Revert "Make sure python3-novaclient is installed before creating fence_compute"
This reverts commit c1e9447998c635a825529cff99b99ed13a4e89d7. as we
push the package installation to THT via I3dbe35e2037c02cf0436b173bb42578f2a0b2db3

Depends-On: I3dbe35e2037c02cf0436b173bb42578f2a0b2db3
Change-Id: Iaa5451f1072f3c98aaddb1781d14f015a0ccbe0a
2020-09-18 07:18:34 +00:00
Wes Hayutin
5fad3411d5 update puppet-tripleo meta for victoria m3
Change-Id: I932d9559061690579cb7f605ad5c5c44036de1d9
2020-09-14 13:39:21 -06:00
Zuul
90949d56d0 Merge "fix some docs typos" 2020-09-10 20:09:40 +00:00
Moisés Guimarães de Medeiros
b0b7b4069a Add Memcached certificate generation
Adding certification generation and pass it down to puppet-memcached.

Change-Id: I8eb2b45e8868b99dfe402fee514afa8f8c42f086
2020-09-10 13:33:07 +00:00