Commit Graph

29 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
Zuul 1461e26d7c Merge "Ceilometer: Add support for oslo.cache parameters" 2022-12-08 20:08:52 +00:00
Takashi Kajinami 6af76714f6 Ceilometer: Add support for oslo.cache parameters
... and ensures memcached backend is set according to the deployment
architecture automatically.

Change-Id: I4c89ce09c7da33254cc01f2b5b1f8c3c7bd8a9b6
2022-09-28 14:47:12 +09:00
Takashi Kajinami 5c58f0a47b Ceilometer: Skip configuring db parameters
... because these parameters are not used actually.

Change-Id: I2ee3e942f07eda5c61a348e058fcf43ce2c7af70
2022-09-01 09:58:31 +09:00
Takashi Kajinami 034ce1ef74 Ceilometer: 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: I3f488df5348cacfddcae3b6e141021e0954725c3
2022-04-27 01:30:43 +00:00
Takashi Kajinami 8a2dd48394 Revert "Deprecate warnings for Ceilometer and Gnocchi"
This reverts commit 88ef2afcbf.

Reason for revert:
Ceilometer and Gnocchi are not 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/gnocchi.pp

Change-Id: I41ebb5c84db3cffa897c259729caa6b5247dd0e9
2021-08-08 02:46:37 +09:00
Takashi Kajinami 7b3a8cd891 Include db classes explicitly
Since database parameters in the base classes were deprecated, it is
likely that db classes are no longer included automatically in a future
release. Let's ensure that the db classes are included so that
database parameters are always set.

Change-Id: I2a28cd1b7a92776b711eb784db3c4a486dcf6a85
2021-07-26 10:13:30 +09:00
Martin Magr 4443ae7037 Make pipeline config more flexible
This patch:
  - moves Ceilometer notification agent to correct class
  - adds posibility to configure query parameters
  - avoid setting gnocchi publishers by default

Change-Id: I5cd0b6e99f5ffcc495225c61f0773240d90e7930
2020-01-14 17:30:04 +01:00
Tobias Urdin 1523a4b804 Convert all class usage to relative names
Change-Id: Ib2ed745b682cf12f9469a5a64451adcabec400af
2019-12-08 23:23:25 +01:00
Chandan kumar 7edb80bb71 Remove deprecated ceilometer::dispatcher::gnocchi
https://review.opendev.org/#/c/677427/ removes the same from
puppet-ceilometer so it also needs to be removed puppet-tripleo

Closes-Bug: #1840901

Change-Id: If4ab08cdcf43c14c37ac35f9044d363b09833d0c
Signed-off-by: Chandan kumar <chkumar@redhat.com>
2019-08-21 15:53:38 +05:30
Nagasai Vinaykumar Kapalavai fac7faa952 Add an Endpoint in ceilometer
Added an endpoint in the ceilometer configuration
to dispatch the data to qdr running locally.

Depends-On: Ib3090c01bfdcb60168dd1c6db23c520a103c051e
Change-Id: I7bbac48f2dfa9ec532f56a814af25117e11511ea
2019-03-28 13:17:54 -04:00
Martin Magr 88ef2afcbf Deprecate warnings for Ceilometer and Gnocchi
Those two services are going to be removed in future, so we need to warn users.

Change-Id: Ic458adce077249998604bb227417e1e9a834473d
2019-03-11 11:43:53 +01:00
Alex Schultz 3ec92d3efc Add explicit logging class inclusion
These have been dropped from some of the puppet classes by default. We
still need to include them so our debug logging works.

Change-Id: I4e65219d9669fdd16b2663b7239354330ffbae38
2018-12-17 14:49:44 -07:00
Zuul 1a73b868ce Merge "Support separate oslo.messaging services for RPC and Notifications" 2018-04-29 13:02:17 +00:00
Emilien Macchi b6c3309373 ceilo:base: include ::ceilometer::dispatcher::gnocchi
hieradata was defined in THT but the class wasn't included so we missed
dispatcher parameters.

Change-Id: Iaf7268153776e76584b86a3539833de922b88f16
2018-04-09 19:08:14 -07:00
Andrew Smith c04557fba4 Support separate oslo.messaging services for RPC and Notifications
This commit introduces separate oslo.messaging services in place of
a single rabbitmq server. This enables the separation of rpc and
notifications, the continued use of single rabbitmq server as well
as the use of alternative oslo.messaging drivers/backends.

This patch:
* adds oslo_messaging_* hiera parameters
* update rabbitmq and qdrourterd services
* add release note

Depends-On: I03e99d35ed043cf11bea9b7462058bd80f4d99da
Depends-On: I934561612d26befd88a9053262836b47bdf4efb0
Change-Id: Ie181a92731e254b7f613ad25fee6cc37e985c315
2018-03-20 12:55:02 -04:00
Andrew Smith 79ccad4b8d Support both rabbitmq and oslo.messaging service nodes
This commit selects either the rabbitmq hosts or the
hosts associated to oslo.messaging rpc and notify services.
This is required for the transition of t-h-t to the use
of the separated oslo.messaging service backends.

This patch:
*select rpc and notify hosts from rabbitmq or oslo_messaging
*modify qdrouterd inter-router link port
*update qdr unit spec
*add release note

Needed-By: I934561612d26befd88a9053262836b47bdf4efb0
Change-Id: I154e2fe6f66b296b9b643627d57696e5178e1815
2018-03-16 18:16:42 -04: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
Pradeep Kilambi daf64974d8 Move ceilometer upgrade step out of base
ceilometer-upgrade should only run on controller nodes.
Since its currently in base profile, it gets triggered
on compute as well. So instead split out the upgrade
into its own and include when we deploy notification
and central agents instead.

Change-Id: I2910e8aa5da7fded4cf94b57fb0a14fefd88adbe
Closes-bug: #1693339
2017-05-24 16:44:41 -04:00
Pradeep Kilambi 2e89f8ede8 Move ceilometer upgrade re-run out of collector
Since collector is deprecated, lets move this out of collector.pp
so it gets run and resource types are created appropriately even
when collector is not included.

Closes-bug: #1676961

Change-Id: I32445a891c34f519ab16dcecc81993f8909f6481
2017-04-21 14:50:46 +00:00
Carlos Camacho d0e69f73c1 Remove the string cast for using transport_url
os_transport_url was updated to allow receiving
a string or an integer as parameter.

Fixes the workarounds in puppet-tripleo

Change-Id: I50993514048bf96b5a42b3425a7d6f98778fe694
Depends-On: I9e56f8e2de542b20fe9e6995506cff5bb435e220
2017-02-22 10:39:44 +01:00
Andrew Smith e1a1a5cbed Use rpc and notify transport_url for oslo_messaging backends
This commit adds the transport_url for specifying the oslo.messaging
rpc and notify transport schemes. The rpc or notification backend
can be one of rabbit, amqp, zmq, etc. Oslo.messaging is deprecating
the host, port and auth configuration options. All drivers will
get the options via the transport_url.

This patch:
* Adds transport_url to base services
* Updates the corresponding specs
* Adds to default hierdata

Depends-On: I1cf93d2caebfa1f7373c16754a2ad9bd15eb1a40

Change-Id: Iea5607dbb3ee6b1dd50acc1395de52dc920aa915
2017-02-17 10:08:38 -05:00
Juan Antonio Osorio Robles 91597fc569 Use FQDNs for the services' RabbitMQ configuration
This replaces the services' IP-based RabbitMQ configuration and uses
FQDNs instead.

Change-Id: I2be81aecacf50839a029533247981f5edf59cb7f
2016-11-28 15:45:03 +02:00
Brent Eagles 274156e5ba Add proper handling of IPv6 addresses for rabbit host/port handling
This patch changes the rabbit_hosts config generation to work properly
with IPv6 addresses.

Closes-Bug: #1639881
Change-Id: I07cd983880a4a75a051e081dcb96134cb5c6f5e8
2016-11-08 01:51:27 -03:30
Brent Eagles 597194a419 Add port to rabbitmq node ip list
We use the rabbit_hosts configuration for most of our services but we
haven't been adding the configured port. This patch appends the IP port
used provided to the service's heat template to the IPs in the list.

Note: while we could use the value set for the rabbitmq server in
rabbitmq::port, it doesn't allow for dealing with SSL. This also is also
backwards compatible with the RabbitClientPort parameters used in the
heat templates.

Change-Id: I0000f039144a6b0e98c0a148dc69324f60db3d8b
Closes-Bug: #1633580
2016-10-17 14:31:15 -02:30
Steven Hardy e5f0042e47 Make service profiles default to rabbitmq_node_ips
Instead of hard-coded yaml aliases in t-h-t, make each service
profile that requires rabbit default to the list of rabbit ips.

Note this could still be extended in future to e.g enable per
service rabbit clusters, but the default is to lookup the
hiera which should be logically equivalent to current t-h-t.

Change-Id: Ie53c93456529420588eb1927703ea91b54095d87
Partially-Implements: blueprint custom-roles
2016-09-02 00:26:04 +00:00
Pradeep Kilambi 0f5f8f0929 Fix Ceilometer profiles
* Configure ceilometer to default mongodb backend.
* remove useless sync_db parameter in pacemaker class.
* Remove duplicated resource for ceilometer central agent service with
  pcmk.
* Remove pacemaker delay resource dependency, the resource does not
  exist anymore.

Change-Id: Ie337bfe770c5b22158dc307eb36e39c2b93b95a9
2016-07-06 22:50:49 -04:00
Dan Prince 4a7a0d8879 Resolve duplicate base::ceilometer issues
We are seeing CI failures in Ia0a59121b9ffd5e07647f66137ce53870bc6b5d6
due to duplicate Tripleo::Profile::Base::Ceilometer.

Also, this patch gets the pacemaker_master variable out of the
'base' tree.

Change-Id: I2cf3362528235fcdeaef1491f86c05f4995938da
2016-06-30 07:29:04 -04:00
Pradeep Kilambi cfb077da78 Add ceilometer profiles
Implements: blueprint refactor-puppet-manifests

Change-Id: I4b5e93a108e80e91af26ffee454130ee18c0042e
2016-06-20 14:41:58 -04:00