Commit Graph

16 Commits

Author SHA1 Message Date
Ghanshyam Mann e06f50cb06 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: I73df79a8698625815ea4e3099904da448a49887e
2024-02-24 11:42:30 -08:00
Takashi Kajinami 7a195e69ef aodh-evaluator: Require redis backend
The aodh-evaluator service requires valid tooz backend so that tasks
are distributed properly among multiple nodes. This change ensures
redis vip and password are defined in hieradata so that coordination
backend can always be configured properly.

Change-Id: I4ff71ee1a2a38c225b0d8f70c3fc757e014abdaf
2022-05-24 12:35:46 +00:00
Takashi Kajinami cf3e7b2c23 Aodh: Sync default value in parameter description
This fixes default values in parameter description which do not match
the actual values or are missing.

Change-Id: I9bd4458c094c301339f7b9d45f25670f3b715bd4
2022-04-27 01:29:03 +00:00
Takashi Kajinami ad9fcbd9b8 Aodh: Replace hiera by lookup
The hiera function is deprecated and does not work with the latest
hieradata version 5. It should be replaced by the new lookup
function[1].

[1] https://puppet.com/docs/puppet/7/hiera_automatic.html

With the lookup function, we can define value type and merge behavior,
but these are kept default at this moment to limit scope of this change
to just simple replacement. Adding value type might be useful to make
sure the value is in expected type (especially when a boolean value is
expected), but we will revisit that later.

example:
lookup(<NAME>, [<VALUE TYPE>], [<MERGE BEHAVIOR>], [<DEFAULT VALUE>])

Change-Id: Ie4afe07edb1166beb09af7d49bf39abacfd8c716
2022-04-13 09:14:05 +09:00
Takashi Kajinami 150b325935 Telemetry: Use new coordination classes
Depends-on: https://review.opendev.org/792001
Depends-on: https://review.opendev.org/792509
Change-Id: I701a70d27f7aa8fbf4f1207032e42a4e3ced522e
2021-07-08 08:27:26 +09:00
Takashi Kajinami bf8895796f Revert "Aodh deprecation"
This reverts commit de98e1411b.

Reason for revert:
Aodh service has never been deprecated in tripleo-heat-templates.
The current warning in puppet-tripleo gives a wrong notice to users.
Deprecation should happen in a consistent manner within all TripleO
repos.

Conflicts:
        manifests/profile/base/aodh/api.pp
        manifests/profile/base/aodh/evaluator.pp
        manifests/profile/base/aodh/listener.pp
        manifests/profile/base/aodh/notifier.pp

Resolved conflicts caused by migration of class name format (from
absolute names to relative names)

Change-Id: I43eb5e96a2f15c4c49193c676acccce9c3f413c1
2021-07-07 07:27:22 +00:00
Tobias Urdin 1523a4b804 Convert all class usage to relative names
Change-Id: Ib2ed745b682cf12f9469a5a64451adcabec400af
2019-12-08 23:23:25 +01:00
Martin Magr de98e1411b Aodh deprecation
Service assurance framework is going to replace Aodh as alerting solution in T release.
This patch adds warning about the service removal.

Change-Id: Icef377071aaad5b58518a8a436c5821532482be2
2019-01-14 16:08:09 +01:00
Damien Ciabrini 32cce5f150 Fix Redis TLS setup, including replication traffic
This patch reverts the revert of Redis TLS [1], and fixes the
encryption of Redis replication traffic for HA deployments.

In order to encrypt replication traffic, Redis is configured to
drive outgoing replication traffic to a stunnel endpoint on
<localhost:port_xxx>. Stunnel then manages the encryption up to
the peer Redis master.

Likewise, slave Redis nodes advertise themselves as coming from
<localhost:port_yyy> in order to let the Master initiate connection
the Slave over its own stunnel endpoint, should it needs to.

Each redis node is assigned a unique replication port, and has
dedicated stunnels to each one of its peer. This port mapping
info is used by the redis resource agent to manage A/P failover.

The regular Redis port is unchanged, so Redis clients (OpenStack
services, HAproxy, CLI, firewall) are not impacted by this change.
Only SELinux needs to be adapted.

[1] I37501c4c983c87e3a38841272eb176ebbe626a65

Change-Id: I6cc818973fab25b4cd6f7a0d040aaa05a35c5bb1
Related-bug: #1737707
2018-02-09 09:18:19 +00:00
Juan Antonio Osorio Robles fbc089eddf Revert "Use TLS proxy for Redis' internal TLS"
This reverts commit 2d1d7875aa.

Closes-Bug: #1735259
Change-Id: I37501c4c983c87e3a38841272eb176ebbe626a65
2017-12-01 09:07:51 +00:00
Martin André 2d1d7875aa Use TLS proxy for Redis' internal TLS
This uses the tls_proxy resource in front of the Redis server when
internal TLS is enabled.

bp tls-via-certmonger

Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Change-Id: Ia50933da9e59268b17f56db34d01dcc6b6c38147
2017-08-31 05:27:55 +00:00
Steve Baker 94f13e6608 Ensure hiera step value is an integer
The step is typically set with the hieradata setting an integer value:

  {"step": 1}

However it would be useful for the value to be a string so that
substitutions are possible, for example:

  {"step": "%{::step}"}

This change ensures the step parameter defaults to an integer by
calling Integer(hiera('step'))

This change was made by manually removing the undef defaults from
fluentd.pp, uchiwa.pp, and sensu.pp then bulk updating with:

    find ./ -type f -print0 |xargs -0 sed -i "s/= hiera('step')/= Integer(hiera('step'))/"

Change-Id: I8a47ca53a7dea8391103abcb8960a97036a6f5b3
2017-06-14 14:31:52 +12:00
Emilien Macchi 1e26963bef telemetry: normalize coordination_url
Normalize coordination_url for Telemetry services, so we can deploy them
with IPv6.

Change-Id: Ic6de09acf0d36ca90cc2041c0add1bc2b4a369a5
Partial-Bug: #1629279
Depends-On: I038e2bac22e3bfa5047d2e76e23cff664546464d
2016-09-30 09:47:30 -04:00
Pradeep Kilambi e30bfc9b5a Clean up unused params from aodh profiles
Change-Id: I7c89fcef8cdd0e73ef8c5d615bb55db177abd375
2016-08-17 10:50:12 -04:00
Carlos Camacho 65ea36f60e Fix deployment steps for AODH profiles
The services in the AODH profiles were
limited to be executed only in the
bootstrap master node.

Change-Id: I85cfa97f0e5e9a70e86e51d8188a2abf86e2ec1c
2016-08-17 10:21:48 +02:00
Pradeep Kilambi 64df5d7449 Implement aodh profiles
Change-Id: Ie48a123cc5bc402aee635a5daf118b158c6f3b6a
Implements: blueprint refactor-puppet-manifests
2016-08-04 14:54:01 +02:00