the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
This also adds validations about some boolean parameters.
Change-Id: I57e0321eab18b66c00e364bb3b4346bb06591286
... because the latest lint no longer allows usage of legacy facts and
top scope fact.
This also fixes the wrong wsgi script name introduced by [1] to fix
broken litmus jobs.
[1] d7a1ea5fb7632e58a69f7dead32c28f1a9419a2e
Change-Id: Idb7d655242ccd6f785ea4dfbb94d8ff3ad961b03
This option was deprecated[1] in favor of the datastore-specific
options.
[1] f4cbaf6ccd3c6de14837fcf9532e44de1265bdf6
Change-Id: I4f89dcc5f70e03e210d038e80adba3002c5dc9c9
This change introduces the new class to manage [mysql] options and
[mariadb] options so that users can configure behavior of the guest
agent to launch and manage mysql instances and mariadb instances.
This also introduces support for options to manage container registry
used to pull container images.
Change-Id: Ic7b1d555cf2090f7278980edf226ddf318be489f
The parameter was deprecated long ago[1] and has had no effect.
[1] 7cb103c17ff121de8f852988f356386fcf4229f1
Change-Id: I1e7f54ae462e72866d03a2ea7f00e656e68db513
The trove-guestagent service should be run in instances instead of
OpenStack hosts. This change disables the service by default because
we expect these modules are used to deploy hosts, and we don't expect
any use case where this puppet module is used to build the trove guest
image.
Closes-Bug: #1965228
Closes-Bug: #1485397
Change-Id: I57aa6ecd008f1a7a271e7baafc95cd75bf700f54
... because it was deprecated since Victoria cycle[1].
[1] bd2b256a377a5648586ec4a5d51edd58dd88a620
Change-Id: I4c068890a6d60434ee419167428a6fd0507ba919
The trove::guestagent class requires reference to trove::* parameters.
This change ensures the base trove class is present.
Change-Id: I741d8a11f22302f807af71bd6c02e8c321470a98
... and automated detection of auth_url parameter.
These were deprecated during the Ussuri cycle[1].
[1] 1d3bffd18b903aba95e5590b3c8444334d21a656
Depends-on: https://review.opendev.org/823886
Change-Id: I8304a0fd3bcabaf236a03c98f368b35842c7bff1
Previously puppet-trove creates separate config files for each service
but these individual files have been removed from Trove by [1].
This change follows that decision and merge these three files into
the single trove.conf file.
[1] https://review.opendev.org/679043
Change-Id: I23c01acd9439335abb706f2528684d4ec473247d
oslo.messaging RabbitMQ driver have now a new option that allow user to
run the RabbitMQ heartbeat over a native python thread.
These change allow user to use this new option.
Change-Id: Ia2e54453058080f12963dedb18249faa5c9b2424
Closes-Bug: #1840868
This revemos the deprecated options rabbit_host,
rabbit_hosts and rabbit_port params in the
trove::guestagent class.
Changes the guestagent config file to use the
transport_url instead of the rabbit options. [1]
[1] https://review.openstack.org/#/c/609981/
Change-Id: I2f102eb15fe59459ab1eed2e4cf87ad3c54d5c78
Adds the kombu_failover_strategy option for configuring
oslo.messaging.rabbit. This will determines how the next RabbitMQ node
is chosen in case the one we are currently connected to becomes
unavailable.
Change-Id: If59b301e533a509051876ed88f410c5101425ec2
Closes-Bug: #1748353
After removing keystone API v2, trove requires that
trove_auth_url parameter has the v3 URL. Note that
versionless url is not valid for trove_auth_url so
this patch enforces v3 url even when auth_url is
not versioned.
Additionally, the default value for auth_url parameter
has been updated to point to v3.
Change-Id: I8d0e200958c813101d72e180c6da8343b5fcae6e
Oslo.messaging uses the transport_url to represent the rpc and
notification messaging driver to use and its full configuration. The
rpc_backend configuration option is deprecated for removal and
should not gate oslo.messaging driver configuration options.
This patch:
* deprecate rpc_backend
* remove conditional check
* update spec tests
* add release note
Change-Id: Idbd5c231d85a0f4d249dabd14bc829844ee3e83d
The parameter name used to enforce package state is inconsistent across
manifests and modules. I settle on package_ensure since it's already
widely used.
Change-Id: I887e924d184d9b25c33b5fe617d82f170d0cee34
Closes-Bug: #1668732
This patch will provide an option for configuring
custom value to the backup_aes-cbc_key parameter
in guestagent configuration file.
Closes-Bug: #1659875
Change-Id: I51a8176c7df4ee80fcf999c37143842f2fdc69ad
The rabbitmq connection parameters have been deprecated in favor of the
transport_url setting.
Change-Id: I901eee39ae7da6164320f908a2719b8e35d46172
Related-Bug: #1625198
log_file should be set to $::os_service_default and not to the boolean
false because the boolean false gets interpreted as a file name.
Change-Id: Ie52ea5bbd5e921aeede7a5b3c532c20574728bc2
This commit adds the transport_url parameters for oslo.messaging. The
url is of the form:
transport://user:pass@host1:port[,hostN:portN]/virtual_host
Where the transport scheme specifies the rpc or notification backend
as one of rabbit, amqp, zmq, etc. Oslo.messaging is deprecating the
host, port, and auth configuration options [1]. All drivers will get
these options via the transport_url.
This patch:
* use oslo::messaging::default resource
* use oslo::messaging::notifications resource
* add parameters for transport_url(s)
* correct config file for amqp backend
* update spec tests
* add feature release note
[1] https://review.openstack.org/#/c/317285/
Change-Id: I8d0132f23aa05ed267ff2d88bce61ce9f20160f5
This patch is aim to add following params in guestagent class:
- root_grant
- root_grant_option
- default_password_length
Change-Id: Iaeed4194b7b9ae895c3a04eb2ed2991fa6984636
Closes-Bug: #1570281
In some environments, Trove guests will talk to rabbit via
external VIP using SSL connection and trove services will
communicate to rabbit without ssl from the management network.
Change-Id: Ib5cd00cf92e4e2c23fbed2fd64420a07b0a46f88
Closes-Bug: #1585783
This commit partially reverts original commit.
use_syslog option is not deprecated and still actual.
This reverts commit 700ddfd674a817c190916890a4a74f82ed82d3c1
Change-Id: Ie7515a45abeb3b0b4a7833bd19a32fbab759765a
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
Deprecated verbose in all classes
Remove verbose in README
Remove verbose from tests.
If this option is not set explicitly, there is no such warning.
Change-Id: Iedbc3ea8824fdef8e1e5434d8be9463704c0579a
Additonal changes:
* switch logging related parameters to $::os_service_default
as they are used in oslo::log
* update unit tests
Change-Id: I1884387b438e3885986d031f95ba323e57aac7ab
This commit adds support for the oslo.messaging amqp rpc_backend
which enables the AMQP 1.0 driver. A proposed feature for the
Newton oslo.messaging release is an update to the AMQP 1.0 driver
to support a stateless messaging interconnect for RPC traffic [1].
This patch:
* use oslo::messaging::amqp resource
* add new parameters for the oslo_messaging_amqp driver
* update spec tests for amqp as alternate rpc_backend
* add feature release note
[1] https://blueprints.launchpad.net/oslo.messaging/+spec/amqp-dispatch-router
Change-Id: I8306c56e86f2f8a8d6da1ecbf5eab674e6b1e8bf
If swift_url is unset, Trove will set it using the Keystone catalog.
Therefore we will default the swift_url setting to use SERVICE_DEFAULT,
so that out of the box configs will use the Keystone catalog.
Change-Id: I7a3fe361ca41fbee9f353be6e2306c1a5c7f7097
Oslo module has the control_exchange parameters,
so use oslo module(oslo::messaging::default) to configure it.
Change-Id: Ica1ce84fc143708e76ae334c1a0d7e091bb974f2
In some environments, Trove guests will talk to rabbit via a different
gateway or VIP and possibly using a different port. This might be done
for security or separation reasons. This change allows the guestagent's
rabbit host(s) and port information to be different than that from the
main cluster.
Change-Id: I2107edd579073d81496821a8ecf23a3c2039b75d
Additonal changes:
* switch messaging related parameters to $::os_service_default
as they are used in oslo::messaging_rabbit define
* update unit tests
Change-Id: I3f7800f78132fa4c6c639753327ff63cf337c285