21 Commits

Author SHA1 Message Date
ramishra
c9991c2e31 Use 'wallaby' heat_template_version
With I57047682cfa82ba6ca4affff54fab5216e9ba51c Heat has added
a new template version for wallaby. This would allow us to use
2-argument variant of the ``if`` function that would allow for
 e.g. conditional definition of resource properties and help
cleanup templates. If only two arguments are passed to ``if``
function, the entire enclosing item is removed when the condition
is false.

Change-Id: I25f981b60c6a66b39919adc38c02a051b6c51269
2021-03-31 17:35:12 +05:30
ramishra
b4203a30eb Change all *Debug parameter types to boolean
This changes all these parameters as heat would correctly
parse all values. Also, drops all yaql shenanigans
used for their handling and heat conditions.

Also fixes wrong usage of non-existent NeutronWrapperDebug
parameter in ovn-metadata-container-puppet.yaml.

We had converted all ``Debug`` parameters to boolean with
Ib6c3969d4dd75d5fb2cc274266c060acff8d5571.

Change-Id: Ia2bffffde34aa248a4cc60c3895464f1f9d1ded2
2021-03-30 08:29:10 +05:30
ramishra
cc5eb81771 Optimize conditions for TLS support
In 1ceb521805875b41ebfafb1ff7a862df4df6fd16 we added these and
can be simplified as they are are boolean parameters to get
rid of the redundant heat intrinsic functions.

Change-Id: I3851187c83965db5ecafcc945bff1fe3a5aa9ff4
2021-03-19 16:07:05 +05:30
Zuul
b2d49f6e39 Merge "Add TLS support to services using memcached" 2021-03-18 05:15:23 +00:00
Grzegorz Grasza
1ceb521805 Add TLS support to services using memcached
This patch enables TLS connections to memcached in services which
support it. Specifically the settings are consumed by swift's internal
memcached client through puppet-swift; or oslo.cache, through
puppet-ceilometer, puppet-keystone, puppet-nova, puppet-heat
and puppet-oslo.

Depends-on: https://review.opendev.org/772685
Depends-on: https://review.opendev.org/761605
Depends-on: https://review.opendev.org/764764
Depends-on: https://review.opendev.org/764763
Depends-on: https://review.opendev.org/765100
Change-Id: Ic77ed56c32c7071ce126a1528030094b97894653
2021-03-16 15:28:49 +01:00
ramishra
7f195ff9a8 Remove DefaultPasswords interface
This was mainly there as an legacy interface which was
for internal use. Now that we pull the passwords from
the existing environment and don't use it, we can drop
this.

Reduces a number of heat resources.

Change-Id: If83d0f3d72a229d737a45b2fd37507dc11a04649
2021-02-12 11:38:44 +05:30
Michele Baldessari
48d0e4d9b6 Notification drivers need to be a list
Convert the NotificationDriver to a comma_delimited_list.
This will still not break existing templates because passing
a string is still completely valid. This is done so that the hiera keys
will be passed down as lists.

The oslo::messaging::notifications::driver expects a list anyway so this
won't break things and will allow us to actually specify multiple
notification drivers correctly. The change that allowed
oslo::notifications to use both strings and lists is
If65946412b42e0919456ed92fdd8e3788ad67872 (Messaging notifications
should be set as a list)

Related-Bug: #1851629

Change-Id: I24c860cd3121e5c307233864818ca86967ff6d72
2020-12-18 11:26:15 +00:00
Takashi Kajinami
afc0b731e0 Disable notification from services by default
Currently we disable Telemetry services like Ceilometer by defaut,
which means that we don't have any consumers for notification messages.
So NotificationDriver should be set as noop by default so that we don't
have unconsumed messages in notification queues.

Change-Id: I1d05749c94bd58ad4badafa7d9755009cb4b64af
Closes-Bug: #1869355
2020-09-30 09:51:08 +09:00
Zuul
364a788b7f Merge "Remove unnecessary hieradata for ceilometer::keystone::authtoken" 2020-03-10 17:05:08 +00:00
Zuul
0599bc2f12 Merge "Enable configuration of notifier publishers" 2020-02-11 03:54:57 +00:00
Takashi Kajinami
48a1effb1c Remove unnecessary hieradata for ceilometer::keystone::authtoken
ceilometer::keystone::authtoken module is never loaded, so remove
hieradata related to the module.

Change-Id: I4f89235b15a71435797b070fd664dda1eff0ebfc
2020-02-08 12:02:25 +09:00
Martin Magr
b2162a2e45 Enable configuration of notifier publishers
This patch:
  - moves Ceilometer notification agent to proper composable service
  - Adds possibility to configure query parameters for notifier publishers

Change-Id: Ieb3d97c3e2c3190607902227980e1ef4a1de2c8e
Depends-On: I5cd0b6e99f5ffcc495225c61f0773240d90e7930
2020-02-03 07:14:03 +01:00
Takashi Kajinami
8cc62c5f14 Remove deprecated authtoken::auth_uri
auth_uri parameter in authtoken was already removed from puppet modules[1],
so remove it from hieradata.

Also, some service templates missed www_authenticate_uri, which was
introduced as a replacement of auth_uri, so add it to make sure that
we have a correct parameter confugured.

[1] I12b4049e4942911c8d1d8027c579eb4c0d1a53eb

Change-Id: I1e8378f58662377344194916e8bc336df02d0591
2020-01-26 09:26:50 +09:00
Takashi Kajinami
26305fae91 Set region in authtoken middleware settings
While we can specify keystone region where all keystone resources
are created, currently we don't set the specified region correctly
in credential configurations used for authtoken middleware.

Configure region parameter for authtoken according to the parameter
KeystoneRegion so that we're consistent about the region where
we expect to have service users created.

Change-Id: Icc0ee9a859c2c67cae92339c6b4102946150269f
2020-01-18 21:59:49 +09:00
Emilien Macchi
7f40baabcd Manage all Keystone resources with Ansible
Depends-On: I557d8f33c9c699aed14b3b6fc1d1c0407365cd08
Depends-On: Ia68f8852662fb4abbd194954a246afb740bf3f71

Change-Id: I96a3351fca26cd8bb122a86cb4c3a58d5f88573e
2020-01-06 22:33:05 +00:00
Ryan McCabe
d74083a2ca Disable legacy telemetry by default
Disable the legacy telemetry services aodh, gnocchi,
ceilometer, and redis by default.

DocImpact
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>

Change-Id: I8200e76f254fe6dd76f28d0768373a211927cfc3
2019-11-19 08:09:57 -05:00
Ryan McCabe
112f485c7f Remove panko
Remove panko, which has been deprecated.

Change-Id: I590c889f838482d00cae596fcba2796f99d1e5b5
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
2019-09-05 15:15:43 -04:00
Alan Bishop
06d6fb3bde Remove extraneous references to RpcXXX parameters
Remove references to RpcPort, RpcUserName, RpcPassword and
RpcUseSSL from all templates that do not actually use the parameter.

Change-Id: I295a7ae93feda24a179a53158ecfc633721bcd59
2019-06-14 08:12:32 -04:00
Nagasai Vinaykumar Kapalavai
e8f3436b6a Update to the ceilometer publisher list
Template level changes to update endpoint list
in ceilometer to support data dispatch to
qdr running locally.

Depends-On: I7bbac48f2dfa9ec532f56a814af25117e11511ea
Depends-On: Ifd5c4bca8d1fc7bbfa9f03fc09250cce9dabd954
Change-Id: Ifb17e002d011a8618496a5af375ac75fd4112630
2019-04-04 00:40:29 +00:00
Andrew Smith
405366fa32 Deprecate messaging params replaced by global oslo params
Depends-On: I03900b39ab257a9563db37e403254b54f846c056
Change-Id: Ib55c72c0bab9aa0ffc05752a680f573cc351ae17
2019-03-28 12:13:07 -06:00
Jill Rouleau
b3a8610b9f flatten ceilometer service configuration
This change combines the previous puppet and docker files
into a single file that performs the docker service installation
and configuration. With this patch the baremetal version of
ceilometer has been removed.

Change-Id: I79c4ba47e147275fe945886b2773b7d9a97ab289
2019-02-13 17:08:58 -07:00