... but test interfaces of that resource type. This helps us avoid
direct breakage caused by any change in puppet-keystone.
Change-Id: Iae924a809e6aabeebb46a07494ae21d996ba93a4
Since puppetlabs-stdlib 8.0.0, ensure_packages automatically translates
'ensure => present' to 'ensure => installed' and that translation
breaks existing assertions in unit tests.
Change-Id: I23d6e6d23b5f4aa691731daea6b0318ec46c5610
This change introduces the new purge_config parameter to the policy
class so that any policy rules not managed by puppet manifests can be
cleared.
Co-Authored-By: Martin Schuppert <mschuppert@redhat.com>
Depends-On: https://review.opendev.org/802305
Change-Id: I8e84349dd75908d22ba9cc570b633f2f57cff1bd
The service_user parameters are not managed directly but managed by
the keystone::resource::service_user resource type. Thus we should
avoid testing parameters directly otherwise any change in the resource
type can cause test failures.
Change-Id: Idc1324b4eb683a0ec0e57e20bca25238149adb0f
The authtoken parameters are not managed directly but managed by
the keystone::resource::authtoken class. Thus we should avoid testing
parameters directly otherwise any change in the resource type can
cause test failures.
Change-Id: I04286fac26f1f8787a3eb1304fc689d304ba5d50
This change adds the 'params' hash in authtoken class, to implement
the same functionality as the one recently introduced into
puppet-nova[1].
[1] 5c38281e1b698f157f03bf1815733277c541c30b
Change-Id: Id291959862bfe82cc1800e9bc7759b52006a10b7
This change removes the remaining parameters for v2 API support, which
were deprecated during the previous Wallaby cycle.
Also, enable_v3_api parameter is deprecated because the parameter was
deprecated in cinder[1] as part of removal of volume v2 API.
[1] e05b261af7dcd24096b229860df65dff1d385910
Change-Id: I20e6952d215d4d1886f09021a12d6c57c59a5d66
... because it was deprecated during Victoria cycle[1] and driver
code was already removed from cinder.
[1] f3bba521d32ffbdfa2dcfbf7ee58567b1f02f14e
Change-Id: Id9d97fbc2020f97244686777fb16071bbc15863d
... because it was deprecated during Victoria cycle[1] and driver
code was already removed from cinder.
[1] 0da2b260eb6961222a23f7728c41593bcf349030
Change-Id: I9af225f714bf2df6b4c579ff12392d5c30769cb1
This change introduces support for the pure_host_personality parameter
in Pure Storage volume driver.
Change-Id: I933ccfbd779719056ec05196c3d4165c6882f03b
There's no validation going on (yet) in cinder as to which characters
are allowed in properties. So this change alters the regex to cast a
wide net catching '-' and other possible valid variations.
Also update unit-test to cover this scenario.
Closes-Bug: #1932272
Change-Id: I564528663a3d2f83136b98ed46e09e373a9ad6de
This change defines manifest_dir and module_path expicitly in unit
tests so that modules installed under fixtures directory is properly
loaded.
Closes-Bug: #1930403
Change-Id: I40391cecb877d948a30a480b080a10895b431d0b
This change replaces current implementation to manage coordination
parameters by the base class in puppet-oslo. With this change
the required backend package is installed according to the backend
driver used.
Depends-on: https://review.opendev.org/791628
Change-Id: I210f207d4f05862c98a2ef6d04162880d1cfc4ae
... because it was already deprecated[1] in cinder and has no effect.
[1] f328341ed0eb920a6471f7c65e06b27c3f719fbe
Change-Id: Ic25a2a88ccfc5eddf180d44cb109d69378c5277f
This change introduces the new independent classes to manage options
for key managers, which are implemented in the castellan library.
Depends-on: https://review.opendev.org/772676
Change-Id: I5fc9b4e2db56daf998294245465e8c5fcbd8a061
Currently unit tests of cinder::glance only test defaults and doesn't
have enough use case to test all parameters.
This change adds some more test cases so that all parameters are
properly tested.
Change-Id: I6e602e84c778413f4f655d732e012a95eedef184
This change ensures that the glance_api_servers is removed by default.
The current default(undef) makes an empty value set in config file,
which is effectively same as the service default(None).
Change-Id: If287c7f725d2d4c8e0e31e1267487fddce1fd510
The cinder::backend_host parameter is redundant, because it is not used
in the cinder class where the parameter is defined but is used to only
override the cinder::backends::backend_host parameter.
Change-Id: Ife5f8bdcfd4e982b7ffa5532b2a23d48c65d501f
This replaces the provider implementation of cinder_config type so that
MultiStrOpt, which is used by several options like
- oslo_messaging_notifications/driver
- oslo_policy/policy_dirs
is handled correctly.
Change-Id: If052cde4da84970df4af657136060532ccb422f7
... because it was deprecated during Victoria cycle[1].
[1] 38e35eddacf39be7a9474da6a622bda69851a5fb
Change-Id: Ia2f7aa9d99557038147ef5573bcc2a96084cfd12
... because it was deprecated during the previous cycle[1], and
the driver implementation has been removed from cinder.
[1] c5927c42afa8f73bcd7890a28446c1308901cfbc
Change-Id: I86a4e6e14f39a5bdb70d5443764f946b3f26130e
cinder::backend::dellemc_xtremio_iscsi is deprecated and should
have been removed in Victoria release.
Change-Id: I7c0473881b5065fdfacda8a327f02f12074b9b96
This patch is adding the configuration of the number of workers,
threads, and the size of the listen queue in Debian, which uses
uwsgi to run Cinder API. Therefore, this patch adds a new
cinder_api_uwsgi_config provider as well as a new
cinder::wsgi::uwsgi class.
Change-Id: I6f4c6a51f8e33616069411a926a63ba2b388e25d
This changes the regex for properties managed with
the cinder_type resource so that it supports the
format Cinder needs for multiattach and similar.
multiattach=<is> True
This patch is needed so that cinder_type resources
can set the above.
See regex testing here [1]. Needs to be backported
to older versions so that cinder_type can be
properly used there as well.
[1] https://regexr.com/5imqk
Change-Id: If08fce9443281e65636aaaa99e3139732435f6f7