Commit Graph

374 Commits

Author SHA1 Message Date
Takashi Kajinami 99e7f84000 Retire puppet-tacker - Step 2: Remove Project Content
Depends-on: https://review.opendev.org/874539
Change-Id: I50d1b0036ca1ca6509d1cc462856e4a898aafea3
2023-02-27 16:44:50 +09:00
Takashi Kajinami cc18391a05 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: I0bb6c90c38c77942bea7e9cb71cd7fbe6ff64256
2023-01-23 14:42:04 +09:00
Takashi Kajinami 5988a25dc3 Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: I41d744824e0d756223e30f4a58608a461ed9a425
2023-01-15 22:32:28 +09:00
OpenStack Release Bot 9b26b6a6ca 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: I53b79d6f8653e5b8cc6ffc718c87808c403e12bd
2022-10-20 11:12:39 +00:00
Takashi Kajinami b3e9e291e4 Prepare Zed RC1
Change-Id: Ib5e1ff8d77cf19ec84a79eaf4c189997543e0eb9
2022-10-05 18:42:50 +09:00
Takashi Kajinami f6bd566345 Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit 62a6b1eb29.

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.

Change-Id: I5abebaeb747a0f09fc1c66dcd9fbb10c6b5f1955
2022-09-08 13:36:45 +09:00
Zuul d41669736c Merge "Add acceptance tests for config management resources" 2022-07-15 19:43:18 +00:00
Zuul fe33a96a85 Merge "Switch provider to manage paste.ini file" 2022-07-15 19:43:16 +00:00
Zuul 81c0fe7e6e Merge "Ubuntu: Use utf8mb3 charset in MySQL" 2022-07-15 19:38:50 +00:00
Takashi Kajinami 63e7f756ff 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: Ie9c0a6f495aeb17c7137ba78efbb1437ddd309a0
2022-07-15 11:55:28 +09:00
Takashi Kajinami 904bb359a6 Add acceptance tests for config management resources
Change-Id: I1907685d061b3cb603c26047c708cecba98f6ca2
2022-07-10 13:21:57 +09:00
Takashi Kajinami b2ec61bbc5 Switch provider to manage paste.ini file
... so that we users can use '<SERVICE DEFAULT>' similarly to
the resource types to manage the <service>.conf files.

Closes-Bug: #1981118
Change-Id: I6bc1f69461f3cbfae278b175a81383fac58f35c3
2022-07-10 04:21:31 +00:00
Takashi Kajinami 484ef8ffa1 Ubuntu: Use utf8mb3 charset in MySQL
... to fix the broken idempotency in litmus job. Current mysql/mariadb
in Ubuntu replaces utf8 with uft8mb3 automatically and this behavior
results in unexpected change in second run.

Depends-on: https://review.opendev.org/804365
Related-Bug: #1929073
Change-Id: Ie8888dca5886fe0048f82450b96f7883760306ea
2022-07-10 13:20:30 +09:00
Takashi Kajinami d6b34a0e44 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: Ia526b8018b5ec0c2cdfb92a63b3dcd7093988117
2022-06-01 14:02:36 +09:00
OpenStack Release Bot 8f58465bc0 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: I6eeb9c51f7cbd3133c2c7043b13a84d1e351fd82
2022-04-05 09:15:35 +00:00
Jiri Podivin 6f6227c979 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: I00f6d92c02ac72626d1f39d8d9b3d3485fec488b
2022-03-29 10:42:23 +02:00
Takashi Kajinami 9e0fb75c03 Prepare Yoga RC1
Change-Id: I023bf3ec703c1e936f7f6f0fc0da4ff64d840b13
2022-03-12 00:29:12 +09:00
Zuul 21367875e6 Merge "Support more parameters to define/tune api behavior" 2022-03-11 14:26:31 +00:00
Zuul 613bda0bfa Merge "Ensure [DEFAULT] auth_strategy is set" 2022-03-11 10:40:47 +00:00
Takashi Kajinami aa6bbedc74 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: Ie231d246107e7910ccbea45ec58ceef87cb5874d
Co-Authored-By: LiZekun <2954674728@qq.com>
2022-03-08 09:25:12 +09:00
Takashi Kajinami 59babeddfe Support more parameters to define/tune api behavior
Change-Id: Ic05d0cddfaccab6759b4d587e0fbc0bcff01977b
2022-03-07 19:15:43 +09:00
Takashi Kajinami caec9bd63e Ensure [DEFAULT] auth_strategy is set
This change ensures the [DEFAULT] auth_strategy is set. Otherwise
setting the parameter to non-default value doesn't take any effect.

Change-Id: I3fddb08c83dc6bbf10d395c8601e9982de79954f
2022-03-07 10:14:25 +00:00
ZhongShengping 665059a6c3 Prepare Yoga M3
Update the version metadata for Yoga milestone M3

Change-Id: I9810b3d2761d6e52d9daec80c41d71df051012c6
2022-02-27 13:14:30 +00:00
Takashi Kajinami 76fd991db0 Add CentOS/RHEL 9 to supported operating systems
... because these operating systems are now verified by unit tests and
integration tests.

Change-Id: I877ff1acd02a931597f8db8d0973bb5b8423842e
2022-02-23 01:36:20 +09:00
Zuul 769f3fee40 Merge "Avoid hard-coding OS user/group in each manifest" 2022-02-22 15:32:33 +00:00
Takashi Kajinami 85fea36cae Avoid hard-coding OS user/group in each manifest
and replace hard-codes by definition in params.pp .

Change-Id: I58513948f3501a97c04e9fa1474d6e944cf830d2
2022-02-21 01:41:26 +09:00
Zuul a0d9012cad Merge "Remove deprecated database_min_pool_size" 2022-02-18 08:44:01 +00:00
Zuul 6af235aaed Merge "Remove deprecated amqp_allow_insecure_clients" 2022-02-18 08:42:25 +00:00
Takashi Kajinami 62a6b1eb29 CentOS 9: Disable unit tests dependent on puppet-postgresql
The puppt-postgresql module does not support CentOS 9 yet and requires
some version parameters to be run on CentOS 9. This change disables
unit tests requiring that module, until the module supports CentOS 9.

Change-Id: Ida6cdf9d529376c11d121bd22f219f575028a95c
2022-02-16 00:29:18 +09:00
Zuul 52177ff1ed Merge "Add support for MultiStrOpt" 2022-02-15 09:14:12 +00:00
Takashi Kajinami 10eda6e780 Allow customizing api-paste.ini file
This change introduces a new resource type and the corresponding puppet
parameter to allow managing records in api-paste.ini.

Change-Id: I92df917887da3220dfb7c7ed10fac123f01af1aa
2022-02-13 12:37:52 +09:00
Takashi Kajinami f8f06abc61 Add support for MultiStrOpt
This replaces the provider implementation of tacker_config type so
that MultiStrOpt, which is used by several options like
 - oslo_messaging_notifications/driver
 - oslo_policy/policy_dirs
are handled correctly.

Change-Id: Ie75269a987c39d4ce24e8cafc652876aff56fb49
2022-02-13 00:25:39 +09:00
Takashi Kajinami f967136639 Remove deprecated database_min_pool_size
... because it was deprecated during Ussuri cycle.

Change-Id: I96f9a5df709f2b4ed0fbcbe6a3e3831d99d983c5
2022-02-08 22:37:16 +09:00
Takashi Kajinami 2e0acb1cee Remove deprecated amqp_allow_insecure_clients
... because it was deprecated during Wallaby cycle.

Change-Id: Ia151180fb81cf7fbb21455bda1e2cbe06f2c93d2
2022-02-08 22:25:43 +09:00
Takashi Kajinami cb10781964 Ensure keystone resources are created during service startup
This change ensures keystone resources like the mistral service user
are created before completing service setup, so that we can use
the service::end anchor to ensure Mistral service is fully available.

Change-Id: I3457c3746f798548f6026b503f279d6ae94f7c32
2022-02-07 00:21:50 +09:00
Takashi Kajinami 37046e86a4 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: I8bd8e455c739d6eaa43d3ea22af86003a7617bc9
2022-01-25 10:53:19 +09:00
Zuul f70be78dca Merge "Do not test detail of keystone::auth::service_identity" 2022-01-24 17:48:06 +00:00
Zuul 1913fe663f Merge "Skip dependency on keystone endpoint if endpoint is not configured" 2022-01-24 17:48:04 +00:00
Takashi Kajinami 80b1cf84ea Do not test detail of keystone::auth::service_identity
... but test interfaces of that resource type. This helps us avoid
direct breakage caused by any change in puppet-keystone.

Change-Id: I3c539f688e2c266b3b68050cf24a3136ba0c4faf
2022-01-24 15:50:48 +09:00
Takashi Kajinami b54c607b19 Skip dependency on keystone endpoint if endpoint is not configured
Change-Id: I2a4e57d9f7c5084ed97725562db89c4a23560d10
2022-01-24 14:59:03 +09:00
Takashi Kajinami 94b824dcbb Do not test authtoken parameters directly
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: I4d0180b7d357ad225c7d49786e45f307dfdec582
2022-01-24 11:42:12 +09:00
Zuul c21b9b3bbe Merge "Add service tunable parameters of tacker-conductor" 2022-01-10 19:37:36 +00:00
Zuul 2530f039ca Merge "Add support for [DEFAULT] api_workers" 2022-01-10 19:27:25 +00:00
Takashi Kajinami d37bdac959 Add support for [DEFAULT] api_workers
Change-Id: Ie61b618ecec6f9a3691ac24bb57302b5b26ddab9
2022-01-08 13:18:37 +09:00
Takashi Kajinami dfb2475e18 Add service tunable parameters of tacker-conductor
Change-Id: I9e91a0488407df171cd5b39760eff0b0087d4ee2
2022-01-08 13:17:32 +09:00
Zuul 3d67507059 Merge "Add support for vnf_package/vnf_lcm parameters" 2022-01-07 22:48:00 +00:00
ZhongShengping e365d86067 Prepare Yoga M2
Update the version metadata for Yoga milestone M2

Change-Id: Iaf90f860236da54de84267e3b14fd2f12c3f1df8
2022-01-07 14:23:15 +00:00
Takashi Kajinami 31677b83be Load libraries in a single place
This change refactors how the dependent libraries are loaded during
unit tests, and load the libraries in the base spec_helper to avoid
duplicate and redundant implementations.

Change-Id: I34e5b2dfca78528f86eb3021f574212bfe1d8e3f
2021-12-27 11:03:55 +09:00
Zuul 84e91f2fe6 Merge "Install coordination backend packages before starting services" 2021-12-07 16:44:04 +00:00
Takashi Kajinami 08cd7cdbf8 Add support for vnf_package/vnf_lcm parameters
Change-Id: Ia12c89fa833410e8be154ece2671184b65476ca3
2021-12-02 20:15:43 +09:00