Commit Graph

16189 Commits

Author SHA1 Message Date
Zuul 80eea85194 Merge "Fix update of OS::Heat::UpdateWaitConditionHandle" 2024-03-25 09:32:18 +00:00
Takashi Kajinami 399352dfdc Fix update of OS::Heat::UpdateWaitConditionHandle
The update method has incomplete arguments and causes error during
actual stack update operation.

Story: 2011068
Task: 49751
Change-Id: I7b141f8846005da8379b1c646b298088d27a66bc
2024-03-21 09:47:54 +09:00
OpenStack Release Bot 76d175c275 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: Ib8ad88acb4cb65da2a44acaf76f189de57e81f0b
2024-03-14 06:13:48 +00:00
Takashi Kajinami 8892f32a2c Update regex to detect closed branch
... based on the change made in reno recently[1].

[1] https://review.opendev.org/c/openstack/reno/+/910547

Change-Id: I9a22fea720fcf92080803ccd83d4a88ea1c81258
2024-03-13 19:30:28 +09:00
Zuul 30a1ca1137 Merge "Fix access by admin users to resources in different projects" 2024-03-12 02:56:46 +00:00
Zuul 726ee1946f Merge "Restore tests disabled because of libvirt bug" 2024-03-12 02:42:37 +00:00
Takashi Kajinami 9b5697ff17 Restore tests disabled because of libvirt bug
It seems the latest libvirt in Ubuntu is no longer affected by
the known problem with device handlings. This re-enables some test
cases which were previously disabled because of the problem.

Change-Id: I538462414f0a9b634d4d216230ed04b49cf71c40
2024-03-12 00:35:18 +09:00
Zuul 42a0e28288 Merge "Allow more options to limit number of resources" 2024-03-08 05:33:48 +00:00
Takashi Kajinami 632998e218 Fix access by admin users to resources in different projects
This allows admin users[1] to use a different project id in request
path, to fix the unexpected access denials during redirection when
enforcing new default rules. This was allowed previously with
deprecated policy rules, and with the new SRBAC design we require
project scope auth to access project owned resources such as stack.

[1]
User with admin role in admin project in case admin_project_name is
set in Keystone. If it's not set then user with admin role in any
project are considered as "admin".

Story: 2011036
Task: 49532
Change-Id: I49f46e36828881d9700e0e178bd80eb04efe4510
2024-03-07 19:12:17 +09:00
Zuul 9da45ab44b Merge "Deprecate resources for inactive services" 2024-03-07 03:53:51 +00:00
Zuul 0c18a7fe9b Merge "reno: Update master for unmaintained/victoria" 2024-03-06 15:34:18 +00:00
Zuul 1b69475338 Merge "reno: Update master for unmaintained/wallaby" 2024-03-06 15:34:15 +00:00
OpenStack Release Bot af1d24a411 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I9fd97c49c92b53310a17942fd7d55e09016be047
2024-03-06 11:41:53 +00:00
OpenStack Release Bot 1352778253 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I6e119540469e6a3b22821303a87c6cfbeed86e09
2024-03-06 11:40:46 +00:00
OpenStack Release Bot 0863bc1f13 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: Ib0cf7d880f42ca90570881028daaabfd5941447b
2024-03-06 11:39:33 +00:00
Zuul 24c5a14114 Merge "Remove logic for cloud-init < 0.6.0" 2024-02-20 09:01:25 +00:00
Zuul c2f8834656 Merge "Use zoneinfo instead of pytz if available" 2024-02-20 09:01:22 +00:00
Zuul 451d351cce Merge "Drop unused default password in create_stack_user" 2024-02-20 08:50:06 +00:00
Zuul 1cfe32d7ec Merge "Stop using deprecated implicit_prefix option" 2024-02-20 08:50:03 +00:00
Takashi Kajinami 564507a72a Stop using deprecated implicit_prefix option
This argument was deprecated in netaddr 0.10.0[1], and was removed in
netaddr 1.0.0[2].

[1] aca2f56344
[2] cc42742247

Change-Id: I24f26ee44af8fdfca89312351e67e5edbf7c81de
2024-02-17 13:13:34 +09:00
Zuul 118054071c Merge "Add skip level upgrade job" 2024-02-06 03:01:44 +00:00
OpenStack Release Bot bf98f62ddd reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I7d1f9999c7c6e950cf053f3d5e7807c94f42634c
2024-02-05 16:53:56 +00:00
Takashi Kajinami 2dac031bc1 Add skip level upgrade job
The 2024.1 release is the first release with SLURP supported. This
introduces a job to test direct upgrade from 2023.1 to 2024.1 .

Change-Id: Ie5ee5c7c06c64afad0c11219b8bcf583212758b8
2024-02-05 22:50:20 +09:00
Zuul dd7319e373 Merge "Stop unnecessary usage of 'self'" 2024-01-31 18:22:13 +00:00
Zuul aad16e9684 Merge "Fix inconsistent naming in db api" 2024-01-31 18:22:10 +00:00
Zuul bdf0bcfde3 Merge "Fix minor typos in documentation" 2024-01-30 10:50:18 +00:00
Takashi Kajinami 60a2d9f2ec Fix minor typos in documentation
Change-Id: Ie2f5f65d21186c13e89a784867b488d46ec1a3a2
2024-01-30 18:27:13 +09:00
Zuul b674962603 Merge "common: Replace deprecated importlib API (2/2)" 2024-01-29 07:32:45 +00:00
Stephen Finucane d48a6a2170 common: Replace deprecated importlib API (2/2)
Resolve the following deprecation warning:

  DeprecationWarning: the load_module() method is deprecated and slated
  for removal in Python 3.12; use exec_module() instead

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I403289d5df2143872503fc246a993cb19ebba68e
2024-01-29 01:06:14 +09:00
Takashi Kajinami 19bcbc0390 Remove logic for cloud-init < 0.6.0
cloud-init was released on 2011-01-27. It may be reasonable to assume
that no one is using older versions.

Change-Id: I8f6d3ed0aadd00e76710308fec7d3a1b1d5bb0e9
2024-01-29 01:05:22 +09:00
Takashi Kajinami 1d3b0073e0 Drop unused default password in create_stack_user
All calls of create_stack_user has the password argument set.

Change-Id: I267536b4b2b121c2bb921d024cc3e04400cbf211
2024-01-28 23:48:48 +09:00
Takashi Kajinami ce0802af0a Bump hacking (again)
The previous attempt did not update pre commit config yaml, so the old
version is still used.

Change-Id: I79cef56cf52afe992aab89b2d08fa4757865f3b4
2024-01-27 22:32:56 +09:00
Takashi Kajinami 84ca8a18e0 Use zoneinfo instead of pytz if available
The zoneinfo module was introduced in Python 3.9. We can use that
built-in module instead of the 3rd party library (pytz).

This is based on change I1f88bdadc68bfa726eac1da1c5824c1ed352ad98 in
oslo.utils.

Change-Id: I539120a6bfb850b0c4e384e51caa021761a4f6b8
2024-01-27 19:23:00 +09:00
lujiefsi 7d86fc6d84 Allow more options to limit number of resources
This commit adds the configuration options related to resource limits
in the Heat project. The `max_software_configs_per_tenant`,
`max_software_deployments_per_tenant`, and `max_snapshots_per_stack`
options have been added to control the maximum limits for software
configs, software deployments, stack snapshots.

Story: 2011006
Task: 49401
Change-Id: If33a1c6f3eb9e93f586931bc5c05104439c92bf9
2024-01-26 22:22:11 +00:00
Takashi Kajinami 13ec108b0d Fix inconsistent naming in db api
Snapshot.get_all does not return all snapshots of the project but
returns all snapshots associated with a single stack, so its name
should contain _by_stack for consistency.

Change-Id: Ic6b93b7cfc84793077672b3f1052f03519e4c5a1
2024-01-27 07:21:46 +09:00
Zuul 313a5afa6a Merge "Adding oslo.config entry points for yaql and cache opts" 2024-01-26 13:18:51 +00:00
Zuul 0676041be8 Merge "Bump hacking" 2024-01-26 12:59:35 +00:00
Takashi Kajinami a9507c1db4 Stop unnecessary usage of 'self'
Objects used only within the single test does not need to be part of
the TestCase instance of that test.

Change-Id: I05c0877315e6e4897e8b097d5df3e81b60022870
2024-01-24 11:51:23 +09:00
James Page ec0729a79d
tests: Fix unit tests using has_calls
has_calls is not the correct method for asserting a list of calls
has occured during testing.  Use assert_has_calls instead.

This also revealed an issue in the expected signature for one
of the mock calls in the test_software_config module.

Change-Id: Ib01ee79f49525f6d0ba7915108ef92c338a8f393
2024-01-22 13:55:10 +00:00
Takashi Kajinami 895d8645ad Deprecate resources for inactive services
Monasca, Sahara and Senlin were marked inactive during this cycle and
will not be part of the 2024.1 release. Because these projects are not
maintained in a consistent way, we deprecate resources for these
services.

We aim to remove these in the 2024.2 release.

Change-Id: Iab377ebc2569a4a5a81f736a1dfe9f406135f5d3
2024-01-22 21:03:39 +09:00
Takashi Kajinami 813f229a08 Bump hacking
hacking 3.0.x is too old.

Also fix failures detected by the new hacking version.

Change-Id: Ifccbbf2ff7b0824d2079937526d3eee1c536349b
2024-01-18 19:04:37 +09:00
Zuul 2df46d4c59 Merge "Clear implementations for neutron LBaaS v2" 2024-01-09 04:50:09 +00:00
David Vallee Delisle 0f7ce2cfa6 Adding oslo.config entry points for yaql and cache opts
To assist with automated configuration validation, we need entry points
for oslo.config.opts for yaql and cache options.

Change-Id: I228282d2c05f6583fe972470b326e7182f635b39
2024-01-09 10:39:46 +09:00
Zuul cf0e3cec38 Merge "Add recent release names" 2024-01-08 02:20:42 +00:00
Takashi Kajinami e6bb2d3002 Add recent release names
Change-Id: Ia970c601d0fe20cfb7697183837a88111fdafa74
2024-01-07 17:07:51 +00:00
Takashi Kajinami a9ccce8b0c Drop remaining references to the removed bin scripts
These scripts were removed by ea5037c593
and no longer exist.

Change-Id: I88f44b5e8479ba4525d93c30d63512845313c144
2024-01-07 01:02:30 +09:00
Zuul f0a9eb61fe Merge "Remove deprecated wrappertask decorator" 2024-01-02 08:22:55 +00:00
Takashi Kajinami f5e5aaed8e Remove deprecated wrappertask decorator
The wrappertask decorator was deprecated some cycles ago[1]. This is
internal implementation so could be even removed directly.

[1] 2c58017a14

Change-Id: I0f2e25971201e2a01b3e86bd859e8a4bdb98d371
2023-12-27 09:06:33 +09:00
Zuul 512f44eef9 Merge "Move ddt to test requirements" 2023-12-26 13:11:29 +00:00
Takashi Kajinami b08bc694dc Move ddt to test requirements
ddt is only used by test code so is not needed at runtime.

Change-Id: I885ec7fb9c76bc43c7f9eebcef349f660935a9cf
2023-12-26 18:05:21 +09:00