Commit Graph

14 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 e226257a7a Merge "Octavia: Replace hiera by lookup" 2022-05-31 21:25:54 +00:00
Takashi Kajinami 28b340c09b Octavia: 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: Id64aea3cc7986446087ad272bec74be01ef20362
2022-05-13 07:20:28 +00:00
Takashi Kajinami f2233f019f Use octavia::networking to manage [networking] parameters
The new octavia::networking class has been added to puppet-octavia,
which allows managing parameters in the [networking] section.
This change ensures the class is included so that some parameters like
port_detach_timeout is managed.

Depends-on: https://review.opendev.org/819651
Depends-on: https://review.opendev.org/819749
Change-Id: I1c219615071cee72888feff7cea0647da86e9e11
2021-11-30 13:10:40 +09:00
Takashi Kajinami 3d53beb6f6 Octavia: Add optional inclusion of driver_agent class
... so that we can maintain all of class inclusions in puppet-tripleo.

Change-Id: Ia90921a840a1dd0dad7d6617d123c59e79f803bf
2021-08-05 23:11:30 +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
Tobias Urdin 1523a4b804 Convert all class usage to relative names
Change-Id: Ib2ed745b682cf12f9469a5a64451adcabec400af
2019-12-08 23:23:25 +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
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
Brent Eagles 43fd15375d Enable Octavia service_auth configuration
This patch enables configuring Octavia's service_auth section which is
required for service-to-service communication.

Depends-On: Ifcd38386db386ee6d61aa7f262b1e14ac6516eb7
Change-Id: I67ab537d1b2a82f17657ed90f794f0fa13c5207f
2017-12-06 09:42:20 -03:30
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
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
beagles 193e45b84f Add base profile for Octavia services
Adds initial base profile and profile for API service.

Partially-implements: blueprint octavia-service-integration
Change-Id: I77783029797be4fb488c6e743c51d228eba9c474
2017-01-19 13:05:27 -03:30