* Update puppet-murano from branch 'master'
to 3afa56270011e27f096361499fa9a646295e0106
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: Ib4d32bd01a6a752a5146f819fbced70c40aa3696
* Update puppet-murano from branch 'master'
to 8b6c6e98688f560c7e61bfa2a268fee6d9b4aac3
- Merge "Use new openstackclient tag"
- Use new openstackclient tag
This looses dependency using the new openstackclient tag, which
requires only packages actually related to openstack CLI.
This also fixes the existing wrong tag (murano-package's' instead of
murano-package).
Depends-on: https://review.opendev.org/899594
Change-Id: I83483123e4d900112ba409c282d7607ed382e31c
* Update puppet-murano from branch 'master'
to a08da27721f8660a45e60c1fff09bf9f08226a8b
- Bump supported Debian version to 12 (Bookworm)
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.
Change-Id: Ib409aed65dc909ad7bca4ce262bce065b88b3a71
* Update puppet-murano from branch 'master'
to ddbcaf3ddf8a93134ac9c83592b488a8a6032c9d
- Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: I9c6f013a0d5c8beb766b8064a4d5d990bb340cdc
* Update puppet-murano from branch 'master'
to b5b3082b18f43a227ce83f4e6cac271f65e8778d
- Remove usage of deleted manifest_dir
Recent update in rspec-puppet removed some of the config interfaces for
old puppet versions[1]. This drops usage of these interfaces to resolve
the following error in unit tests.
```
An error occurred while loading ./spec/unit/provider/manila_spec.rb.
Failure/Error: c.manifest_dir = File.join(fixture_path, 'manifests')
NoMethodError:
undefined method `manifest_dir='...
```
This also removes explicit setting of mock module. The definition is
no longer required since we bumped puppetlabs_spec_helper to v 5.0.0.
[1] 316d95923c
Change-Id: Ia6a88e962b0a0b1f47ed4369054d73f7d03e098a
* Update puppet-murano from branch 'master'
to 09dc1335523ad8b4c74b961c4f6f5de3656329db
- Bump upper version of stdlib
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.
Change-Id: Iff74b93fc437722cdf18cbaea496ffe45bd45b73
* Update puppet-murano from branch 'master'
to 819b610197e75e0be8c1dafd6ed6f42ffe3bc6f8
- Merge "[rabbit] password should be secret"
- [rabbit] password should be secret
... because the option accepts a password string used to connect
a RabbitMQ server.
Change-Id: I3da360119a9dc347fc90affc445256866f421741
* Update puppet-murano from branch 'master'
to 821a289ccbb9c244a43edbc15bf454cc9aa50996
- Merge "Deprecate database options of the murano class"
- Deprecate database options of the murano class
... because these are redundant.
Change-Id: Idbb434c68e10ffe66662f28f47aea79575ab482f
* Update puppet-murano from branch 'master'
to 9c572dff5022ebebd2a85b9197c3e4e27bd612de
- Merge "Fix undefined variables detected in unit tests"
- Fix undefined variables detected in unit tests
... because these cause hard-failure in Puppet 8.
Change-Id: I634af25ea7076b7462fba49f956fbe5042a14c62
* Update puppet-murano from branch 'master'
to ea95a1b182a30aa1ca778679b799c7cc4703675f
- Do not restart services after policy file changes
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.
Change-Id: Id8970f67c8b9dc7cbf4026db28f5715f7e025fb7
* Update puppet-murano from branch 'master'
to 840927a91c49db99183806907d9c5cbadca0d16e
- Enable memcached in acceptance tests
Now memcached is used as cache backend for some services and authtoken
middleware.
Change-Id: I2aad959b7e044a1af58874236c1736756330c2d1
* Update puppet-murano from branch 'master'
to c2e58e36d342b6c7a09828a068ba6408c7e246cb
- Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.
Change-Id: Ia430823d644287d961a2bcd51e91cc9935ebedcc
* Update puppet-murano from branch 'master'
to 0f7730c8f4fd24a7e458a901d1e07bebca498995
- Add .pdkignore to exclude some files from tar ball
We've seen release job failures caused by too large tarball, which
contains irrelevant files like git history.
Let's exclude these files to reduce size of the archive.
The file is copied from the puppetlabs repositories with some files
specific to OpenStack projects added.
Change-Id: I8139fecb7de25c898927691800b3d7daf4cec6a6
* Update puppet-murano from branch 'master'
to e6dc8632433d2bd7367406dbc13d6aae69ba0aac
- Merge "dashboard: Make sure apache::params class is loaded"
- dashboard: Make sure apache::params class is loaded
... to avoid the unknown variables when accessing its parameters.
Change-Id: Ic44492fbad925c7508ccb05f707aa9f4e204b07a
* Update puppet-murano from branch 'master'
to 63904655f1b5952bc60036d460bc2ee2f6582650
- Add strict validation about boolean parameters
This ensures the parameters used by if-else logic accept only boolean
values because non-boolean can result in unexpected behavior.
Change-Id: I9f98a8c3d470a45f62d1165f32a783a840aa7bdb
* Update puppet-murano from branch 'master'
to e0f4b775dc9d215c1814bf18804826c75f0f4422
- Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.
Change-Id: Ia930dbcf99653d8f7b53c2243eee838e3e3f0a67
* Update puppet-murano from branch 'master'
to cf2c78cb442319f3e16ae6d80552b2cc2d4743ae
- authtoken: Ensure correct type for password
Change-Id: I1e68abb8238fff032867ca46ece6fecbbbe9268b
* Update puppet-murano from branch 'master'
to 4d4f3d50fb4028f7e105b437ddde39b3c82db580
- Merge "Do not define service resource when service management is disabled"
- Do not define service resource when service management is disabled
Change-Id: Id7e2b1389ff2e5fe77b6087b521922a0241c706f
* Update puppet-murano from branch 'master'
to 652f721f37b565d58862f690f6b23983cd641954
- Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.
Change-Id: I88b405e207b7aafe60781877c85f659e096ba48d
* Update puppet-murano from branch 'master'
to a1f995a738e6ef720abe7eac57a4980985624575
- replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.
Change-Id: I61801a0dcebd2d09e45c0a96195e244fad8c0906
* Update puppet-murano from branch 'master'
to b83fda006ecba215fad48d7b813ebf318602e63c
- Merge "Remove support for Puppet 6"
- Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.
Change-Id: I630a12a8bedc5290530c1e9c7fae70129b582433
* Update puppet-murano from branch 'master'
to 3d6cfc4218463da3e12906b97417e71a2ab20e3f
- Remove deprecated database_idle_timeout parameter
This parameter has had no effect and was formally deprecated during
the previous cycle[1].
[1] bfe5a82b50fb146ca2dff7bfe23c8be23b21920d
Change-Id: I83216be38873c39a34a5b324cc07e947dffe7ff7
* Update puppet-murano from branch 'master'
to e60ebc04b47af6c6138a87947e93096d487fe6d9
- Bump upper version of puppetlabs-inifile
... because now we use v6.0.0 in CI jobs.
Depends-on: https://review.opendev.org/880118
Change-Id: I14844e8ece57555cd78d40644b8fffe2d394b695
* Update puppet-murano from branch 'master'
to d1970999da6660f37db9bd0dadbea199a6a29a57
- Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: I140c90d5d1867bb3c35c4b7c6bfc49da6524f7c5
* Update puppet-murano from branch 'master'
to 316737837aec1767204b8441596e1f0660c1f6fe
- Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.
Change-Id: Iddd4eef6e644b94d7a59cd3f85a43ee6d288fc49
* Update puppet-murano from branch 'master'
to 7ddca05c7b4470d7e3eb9413bf47569c48fdf4a2
- Deprecate redundant defined type
The murano::application defined type is just a wrapper of
the murano_application resource type and does not contain quite useful
logic. We can deprecate the defined type and let users us the raw
resource type instead.
Change-Id: I63e90ce95c80f4f2f39ead858996e0545bb1f2c7
* Update puppet-murano from branch 'master'
to fdd971ec5d03d7a300decd376d9d7b31f2c1da70
- Merge "CentOS: Enable murano in acceptance tests"
- CentOS: Enable murano in acceptance tests
murano is already available in RDO. Let's enable it to test actual
deployment. Note that we still lack functional test coverage because
the component is not tested in integration tests.
Change-Id: I8fecacd859810fb92d5eb2a915554b959a0eb09c
* Update puppet-murano from branch 'master'
to 2349a0abeb00c854007b15f5eb5200137176215f
- Merge "Make sure services are up before creating an application"
- Make sure services are up before creating an application
... otherwise the murano_application resource fails because of
incomplete service configurations.
Change-Id: I5726e42d293b85819735f53511ef032b524c60f6
* Update puppet-murano from branch 'master'
to 293f89ee0218cffa143b231d2630e161195c090b
- Merge "Replace mocha by rspec-mocks"
- Replace mocha by rspec-mocks
puppetlabs_spec_helper recommends rspec-mocks instead of mocha[1] and
it uses rspec-mocks by default instead of mocha since v 5.0.0[2]
This is the prep work to adapt to that migration.
[1] https://github.com/puppetlabs/puppetlabs_spec_helper/#mock_with
[2] 493f0cbc1c
Closes-Bug: #2004135
Change-Id: I48ce7e9537589cf15e600faa119160d003f23964
* Update puppet-murano from branch 'master'
to d34ded9df421eec063cd24d359092b149935de84
- Merge "Expose policy_default_rule"
- Expose policy_default_rule
The option has been managed by the underlying puppet-oslo module but
has not been configurable. This introduces the parameter to customize
the option.
Change-Id: I5e8debbe92449ec53c61c33c278ceecb960b25dc
* Update puppet-murano from branch 'master'
to 366adb79b881bcf4c16e0ad861cbca756ceb99f7
- Merge "Remove deprecated authtoken parameters of the base class"
- Remove deprecated authtoken parameters of the base class
These parameters were deprecated in favor of the separate class added
during Yoga cycle[1].
[1] 183e14ab35c7cf379546b235ea98983c1c9d0259
Change-Id: Idf2da530a4fefabae350ff0d67a5c8770ab22ed9
* Update puppet-murano from branch 'master'
to 0bd1aafd00f113d0804bb2a067f550efdd3cc159
- Merge "Do not validate optional admin_password"
- Do not validate optional admin_password
The murano::admin_password parameter is now optional. Thus we should
avoid validating the parameter unless it is explicitly set.
Change-Id: I5d7cc7d5de1543bba07e358cbfe15507f11ee194
* Update puppet-murano from branch 'master'
to 0e285d0677f3f4ce22ca974098e0e36512c4b7d4
- Support authtoken options for cfapi
This change introduces the new class to configure the authtoken options
in murano-cfapi.conf. This is required to configure the middleware in
cfapi.
Change-Id: I8171a1dc5a14a76e4b24d832371f3b09d0a743d9
* Update puppet-murano from branch 'master'
to ed9f173dedbbe071c1f38603fcde0ea6564d95a4
- Fix missing order/notification for some config files
This ensures the all config files are updated during the config phase
and services are restarted when any of the files are updated.
Change-Id: Ia8d4cd4326cd3070b3bd5f1fb590bea13a5dedf4
* Update puppet-murano from branch 'master'
to e4890cfc26c502c1cc863b1440012cc7c513b23b
- Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.
Change-Id: I7a6e52b1c306c048eed09f904f447f68ca205f8e
* Update puppet-murano from branch 'master'
to 0a53e1d4ac6296bbaab5704dc87d34db90bf54fa
- Fix dependencies related to openstacklib::policy
Since [1] was merged, not only openstacklib::poliy::base but also
openstacklib::policy::default is included to manage the policy file.
This change ensure openstacklib::policy::default is executed after
the packages are installed.
[1] 740d1bb822e8543535a2fccb4f2eab4b5809422c
Change-Id: I648ae1113f57f5cd085e8240af74a3c5750b58dc
* Update puppet-murano from branch 'master'
to 69c20b107af3ff2cd1e363520275c1062ae2e255
- Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I88f4d4688497422a3fca558dfdb168673323f146
* Update puppet-murano from branch 'master'
to c37c4c78dcd51609124c35684e1ac24a47c3a2db
- Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit a3599fc3bf1e0e34918469b1d6cd12840ddbf25f.
Reason for revert:
puppet-postgresql 8.1.0 was released and now the module supports RHEL 9
(and CentOS 9 effectively).
Note:
This change adds the service_provider fact in test fact data because
it is required by puppet-postgresql.
Depends-on: https://review.opendev.org/850705
Change-Id: Ie70bb2714e43dd68bead304e4647ba382e7c8e04
* Update puppet-murano from branch 'master'
to fc7467334efbc95d6c7bafd569304980477338a1
- Fix wrong test description
The value with a white space should be accepted instead of being
rejected. This change fixes the wrong test case description and makes
sure the description explains what is actually tested.
Change-Id: Icc58f5c51b249564ab3cf3e1859c4dabde5857fc
* Update puppet-murano from branch 'master'
to aa9b0aac05b1e3c9f59e1c609fb293a5e2579141
- Fix some typos in parameter descriptions
Change-Id: I2965b9dee20b62582fa0ce5c22111ee8b0b99761
* Update puppet-murano from branch 'master'
to 51ccb9816c5a424cd1edd6b46f92af9c69653514
- Remove support for CentOS 8 Stream
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.
Depends-on: https://review.opendev.org/843503
Change-Id: Ib1a4c19939bf9e7c743b24cb2fcae86955004835
* Update puppet-murano from branch 'master'
to 6a297b103285d3401cfc1e15940d126b1839f432
- Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: Ic0a0201181a45176bc6de422f8da47bfd2c346eb
* Update puppet-murano from branch 'master'
to 5a0e611c9db247bbd721bc2642fe955a4d30c8f0
- setuptools: Disable auto discovery
The latest release of setuptools 61.0 made a breaking change[1] and
because of this change 'pip install' fails with the following error.
~~~
error: Multiple top-level packages discovered in a flat-layout:
['lib', 'spec', 'manifests', 'releasenotes'].
~~~
Users that don't set 'packages', 'py_modules', or configuration'
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.
To disable auto discovery, one can do below in setup.py
~~~
setuptools.setup(..,packages=[],..)
~~~
or
~~~
setuptools.setup(..,py_modules=[],..)
~~~
[1] https://github.com/pypa/setuptools/issues/3197
Note setup.py is not used to install puppet modules. However it is used
to generate a release note, thus should be fixed.
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ia99d8985cd63c008a5a92ba5f16929e02fe86b52
* Update puppet-murano from branch 'master'
to 330d1f72db6aff29d73f55fd9754dcc8d581157d
- Merge "Accept system scope credentials for Keystone API request"
- Accept system scope credentials for Keystone API request
This change is the first step to support secure RBAC and allows usage
of system scope credentials for Keystone API request.
This change covers the following two items.
- assignment of system scope roles to system user
- credential parameters for authtoken middleware
Depends-on: https://review.opendev.org/804325
Change-Id: Iac29be6b05aebe3fb62e7d63c88342d715903165
* Update puppet-murano from branch 'master'
to 32af2f13512018ce24a86324c504680312871218
- remove unicode literal from code
All strings are considered as unicode string from Python 3.
This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.
Change-Id: Ic9e27d701b99e2de205e0642b9cdebb847485bde
Co-Authored-By: LiZekun <2954674728@qq.com>