Commit Graph

150 Commits

Author SHA1 Message Date
Takashi Kajinami d82a354686 Expose rabbit_transient_quorum_queue
Depends-on: https://review.opendev.org/911021
Change-Id: Idc2dc23f294e83ddc67225808c7976d03cc93907
2024-03-14 09:27:55 +09:00
Takashi Kajinami 638aff2a93 RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: I97f12ff89e0dab936fb8419dce70412002cfc2c1
2023-09-15 10:35:05 +09:00
Zuul 82b1ce702b Merge "Remove strict validation of enable_stack_adopt/abandon" 2023-07-22 16:53:31 +00:00
Takashi Kajinami ae4cce773a Remove strict validation of enable_stack_adopt/abandon
We have not yet implemented global way to validate bool options in
OpenStack. To keep the implementation simple and consistent across
the modules/parameters, this change removes the current strict
validation for now.

Change-Id: Ida223d6d06d3538b8c2f7b430db233782b3ba500
2023-07-18 00:54:43 +09:00
Takashi Kajinami 16bb17356e Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.

Change-Id: Iecf1322669c06feed46bbe02eaeee48b929fc000
2023-07-18 00:53:51 +09:00
Takashi Kajinami 43384d02b1 Remove deprecated client parameters
These parameters were deprecated in favor of the separate classes for
client options[1].

[1] 0d043d793f

Change-Id: I28b7462f2330409b9dee7debba63ce756a0a74b1
2023-06-23 14:32:23 +09:00
Takashi Kajinami 3021cd9daf replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.

Depends-on: https://review.opendev.org/c/openstack/puppet-openstacklib/+/885996
Change-Id: I144468b4f5536a48702e457f2a5db879f3ca217a
2023-06-23 09:26:59 +09:00
Takashi Kajinami da923f2283 Do not autocomplete heat::trustee class
This behavior was deprecated a while ago when the separate class was
added.

Change-Id: Ic3bff87a551262fc9e343217c5c8a933691bc29d
2023-05-15 13:12:00 +09:00
Takashi Kajinami ee09225ba9 Expose executor_thread_pool_size
This option has been supported by puppet-oslo but has not been
configurable.

Change-Id: If4ea3913c5ec9c3719d57b8b682a87816cbaabf7
2023-03-06 13:48:27 +09:00
Takashi Kajinami da45ce8a21 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: Ib395d70d0d528adfef6600f67f9cd6bb238f8206
2023-03-02 11:31:36 +09:00
Rajesh Tailor 82809e9095 Fix typos in parameter descriptions and tests
Change-Id: I4b368e030e207beabb1d69b9c5079d34aa494856
2022-06-27 16:11:37 +05:30
Takashi Kajinami 68ec6e99d3 Remove deprecated heat::max_stack_per_tenant
... because it was deprecated during Xena cycle by [1].

[1] e79e74cd08

Change-Id: I3806ab51e6593a9e00172af6b1eb02d9812fcf72
2022-05-13 10:40:21 +09:00
Takashi Kajinami 0d043d793f Support more clients configurations
This change introduces support for [clients] parameters and
[clients_<service>] parameters, which determine behavior of service
clients used by heat for communication with the OpenStack services.

- Implementation of heat::clients::<service> are generally same.
  Only cinder, heat, keystone and nova provides additional parameters.

- The existing parameters in the base heat class are deprecated in
  favor of the new classes.

Change-Id: Icdf4f0201dd1e5f93a450473709851977ec20034
2022-04-03 23:22:26 +09:00
Takashi Kajinami 37d5b04d78 Remove deprecated amqp_allow_insecure_clients
... because it was deprecated during Wallaby cycle.

Change-Id: I2d7619574f93958ceae15bafea02d77554fb5315
2022-02-09 10:00:20 +09:00
Takashi Kajinami ff16bee10a Remove some deprecated database parameters left
This is follow-up of c543bd33ae and
removes some deprecated database parameters still left.

Change-Id: I6325c5d8d290bf6176d17e4aea9058f85feea2f3
2022-02-09 09:59:17 +09:00
Takashi Kajinami c543bd33ae Clean up deprecated database parameters
Change-Id: I9d77ce1cbbd3fb8f7af2f144101ad064d760934e
2022-02-07 12:08:42 +09:00
Takashi Kajinami 6e8b799ba8 Create a separate class to manage the trustee options
This change introduces the new heat::trustee class to manage
the parameters in the [trustee] options. These options have been set
according to authtoken parameters but it makes maintenance complicated
and the logic doesn't work properly when noauth is used.

This change also removes the [trustee] project_domain_name parameter
because the parameter has never been used actually.

Change-Id: I694a8ea771cc4d4dcfbf8384ece2be10d83ab3f0
2021-10-13 22:06:58 +09:00
Takashi Kajinami e79e74cd08 Migrate max_stacks_per_tenant to heat::engine
... because the max_stacks_per_tenant parameter is used by heat-engine,
and the very similar max_resources_per_stack parameter is implemented
in heat::engine.

Change-Id: I57a8e8b9643d999c8ed379895f998ee1d09fb1a8
2021-08-07 00:20:17 +09:00
ZhongShengping bb28a6a9a4 Deprecate allow_insecure_clients option
The allow_insecure_clients has been deprecated[1].

[1]https://review.opendev.org/#/c/417629/

Change-Id: Ia08ce1ffa507572f6eff0ad24415802b0b535a13
Closes-Bug: #1902158
2020-11-02 15:25:27 +08:00
Takashi Kajinami 670ea7c388 Also deprecate the heat::sync_db parameter
... because the actual implementation exists in the heat::db class.

Change-Id: Ife360d77fe041771754d56cf08915f4fd4a50d35
2020-10-27 00:09:05 +09:00
Takashi Kajinami 6a8e1b15aa Deprecate database options from the heat class
... because these options have been implemented in the heat::db class.

Change-Id: I5724d843607d958bae9cc897899cd78dddd7cdea
2020-10-20 11:28:11 +09:00
Thomas Goirand ac5eaeb657 Add a max_stacks_per_tenant parameter
The default of 100 is barely useable. Let's add a new parameter
max_stacks_per_tenant to allow increasing this.

Change-Id: I2bd9ce729b5e2b5ff6577951989b93390cb3a6bf
2020-07-03 02:41:56 +02:00
ZhongShengping 1084af6e86 Deprecate min_pool_size option
min_pool_size option is not used,see:

https://review.opendev.org/#/c/565090/

Change-Id: Ibd40fed67872c502f54f12c07ebe20fa47089aa5
Closes-Bug: #1868511
2020-03-25 14:53:41 +08:00
Tobias Urdin 5f6411c3dd Convert all class usage to relative names
Change-Id: I9982b8476ca9dab8a338b66db75d6da6519f9266
2019-12-08 23:07:36 +01:00
ZhongShengping 4c35662238 Remove heat_clients_keystone_uri option
The heat_clients_keystone_uri parameter has been deprecated for one year.
We can remove it.

Change-Id: I507fd2beecface5f8de35d18bfb546a653c6ef51
2019-09-20 09:34:27 +08:00
ZhongShengping 5d447cbe87 Introduce the new rabbit_heartbeat_in_pthread option
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: Ifa7b63cf0e0f276c4bdfc1b840506303355647b1
Closes-Bug: #1840868
2019-08-21 14:23:36 +08:00
ZhongShengping 1d6872a856 Manage oslo_middleware/max_request_body_size
So that we can increase it from the default 114688

Useful in case for example the OS-Federation mapping is too large.

If this limit is breached heat will return a 413 Entity Too Large
and not log anything to heat.log.

Change-Id: I90f15091088db67e6d33ef6272e59de69c4fe601
Closes-Bug: #1835161
2019-07-04 11:36:38 +08:00
Tobias Urdin e46b67d242 Use validate_legacy
This changes all the puppet 3 validate_* functions
to use the validate_legacy function.

The validate_legacy function has been available since
about three years but require Puppet >= 4.4.0 and since
there is Puppet 4.10.12 as latest we should assume people
are running a fairly new Puppet 4 version.

This is the first step to then remove all validate function
calls and use proper types for parameter as described in spec [1].

[1] https://review.openstack.org/#/c/568929/

Change-Id: I422be4bfb6fd6f73f0b24ae9464c5c85689594e1
2019-02-23 14:52:57 +01:00
Zuul ee43f289d8 Merge "Remove deprecated logging" 2018-12-12 04:02:41 +00:00
Tobias Urdin b84662d7ab Deprecate heat_clients_keystone_uri
The heat_clients_keystone_uri parameter sets the
[clients_keystone]/auth_uri option which does not
exist anymore, see [1].

[1] https://docs.openstack.org/heat/latest/configuration/sample_config.html

Change-Id: I8cf34475aa0868da800bc5f37d20341f755b38a2
2018-11-29 13:09:51 +01:00
Tobias Urdin 2b5f6bc87a Remove deprecated logging
Change-Id: I6cdcfd0eb37444fc7e0fa02c4d875dd28537d6b9
2018-11-29 10:29:44 +01:00
Tobias Urdin 0c4a5b581a Remove auth_uri
Change-Id: Ia85a124e9893e3e09c6f41d59090a42050e5c8d0
2018-11-29 00:16:54 +01:00
Matthias Lisin 6ede9b4606 Fix wrong default value in doc
Change-Id: I2325257e052a2f05b75ea506eda675cb2de4b2f9
2018-07-11 10:04:15 +02:00
ZhongShengping 4e6d5bff11 Remove deprecated rabbit params
Remove the deprecated rabbit params which has been deprecated for
two years. The default_transport_url has been present for a while
now and should be used.

Change-Id: I9c95be8843e51ac69c95d141507d767aa017afbf
2018-05-24 14:07:25 +08:00
Alex Schultz fb395a3fbb Fix backwards incompatibility with auth_uri
Idb0f408776ef27f16a522e4443531fd97276669b switches to use
www_authenticate_uri but it is not backwards incompatible for folks who
have yet to switch to use www_authenticate_uri. We should still support
auth_uri for the time beaing.

Change-Id: I132fa8ebf91e932cd7fbc610dccd332348d52d49
Closes-Bug: #1764598
2018-04-16 20:24:04 -06:00
Pierre Riteau 564b1a7234 Change clients_keystone/auth_uri default to public Keystone URL
By default, the ::heat class configures clients_keystone/auth_uri to the
value of ::heat::keystone::authtoken::auth_url, which is generally the
admin endpoint on port 35357.

However, since this URI can be used by non-admin clients running inside
instances, such as os-collect-config, a better default value would be to
use either the public or internal Keystone endpoint, depending on the
deployment. This commit changes the default to the public Keystone
endpoint defined in ::heat::keystone::authtoken::www_authenticate_uri.

It is still possible to provide a custom value using the
heat_clients_keystone_uri parameter.

Change-Id: Idb0f408776ef27f16a522e4443531fd97276669b
Closes-Bug: #1763700
2018-04-14 16:30:55 +01:00
Sofer Athlan-Guyot 7870a0f8ff Add a parameter to be able to override clients_keystone/auth_uri.
It is usually the same as auth_url which is defined there
$::heat::keystone::authtoken::auth_url.  We can now point this to
another part of the catalog (ie, public vs internal for instance).

Co-Authored-By: Sergii Golovatiuk <sgolovat@redhat.com>
Change-Id: I4429d86d831f49f1bc0fef04379a81ada20b6ab6
2018-01-19 00:35:05 +01:00
Jenkins c62d27e56e Merge "Changed keystone_ec2_uri to be optional" 2017-08-22 22:43:22 +00:00
Daniel Pawlik 2d78f9253d Changed keystone_ec2_uri to be optional
Param keystone_ec2_uri was providing default value. It was raising an
engine service error on ifras where ec2 endpoint was not created.

Change-Id: I48c47a2c59ec89212a45125b373844e340731fd9
2017-08-22 12:20:46 +00:00
Daniel Pawlik 9fb1ab9414 Param rabbit_heartbeat_timeout_threshold should not be 0
Param heartbeat_timeout_threshold by default is set to 60 in oslo module.
We shouldn't set hardcoded value, but take default one.

Change-Id: Id572fd98846f640d88cbb46c4a74f9fd43813d8b
2017-08-22 12:13:27 +00:00
Andrew Smith a28c18cc00 Deprecate oslo.messaging rpc_backend option parameter
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: I1537c9e0db956d4271c8334a0aa543cd20c57e67
2017-07-26 20:52:06 -04:00
Emilien Macchi 27a4d8a0cc Set endpoint_type to <SERVICE DEFAULT>
Now TripleO sets this value, we can use os_service_default for
the default value and we won't have duplicated resource.

Change-Id: I00a47d6dae5be6ea18d93ac8b47c0c0cc58fe43f
2017-03-29 13:46:29 +00:00
Emilien Macchi b865f447d9 Add support for clients/endpoint_type
Add support for clients/endpoint_type parameter.

Note: Default to False now, because TripleO already sets this resource.
      and we don't want duplicated resource.
      Once we switch TripleO to use this new option, the default will
      become os_service_default.

Change-Id: If707c5623c0e34e9219eeafdafaf0ac42daf5c8d
Closes-Bug: #1675409
2017-03-23 09:20:08 -04:00
ZhongShengping bf2d2fe504 Add notification_topics option
Add notification_topics to configure AMQP topic used for OpenStack
notifications.

Change-Id: Ib441d091b87685f3da77e18b7062fa0fdf116751
2017-02-20 20:45:43 +08:00
ZhongShengping 40bfe5ac4a Add control_exchange option
Add control_exchange to configure an exchange name for message.

Change-Id: Iac2f30b5a4a70cd44dce9385256339d67d0f40da
2017-01-28 14:08:11 +08:00
Alex Schultz b865dffaa6 Deprecate rabbitmq connection parameters
The rabbitmq connection parameters have been deprecated in favor of the
transport_url setting.

Change-Id: I7ae5c5a2584eab063b8e647dc34008ac71bd04e0
Related-Bug: #1625198
2016-11-21 16:48:59 -07:00
Iury Gregory Melo Ferreira da7bc46203 Remove old authtoken options
Since we are in ocata lets remove all old parameters in api
to configure the keystone_authtoken section

Change-Id: I7f18b79b9107baad78129b098246bd9c931420dc
2016-11-16 00:02:12 -03:00
Iury Gregory Melo Ferreira eecda65a11 Remove verbose
Since we are in Ocata we should remove the
verbose option that was deprecated

Change-Id: Ife75d144e7c0bde13ece85472fa446af12c0650e
2016-10-25 20:02:37 -03:00
ZhongShengping 7171d68cc8 Deprecate auth_plugin option
Option "auth_plugin" from group "trustee" is deprecated in Heat.
Use option "auth_type" from group "trustee" instead.

Change-Id: I19024ad7be968c7364dbb8ff94372a168f6f6096
Closes-Bug: #1633282
2016-10-19 08:45:23 +08:00
Mykyta Karpin 468a12493d Fix documentation for log_dir parameter
Change-Id: Ifba8e0b5f9119426a8093a0124e5bb5d4e89b20a
Partial-Bug: #1600294
2016-10-10 16:17:42 +03:00