16202 Commits

Author SHA1 Message Date
Ghanshyam Mann
30d8fb37ed Fix python executable file for heat: greande GLOBAL_VENV
Grenade is going to install and run everything from virtual env

- https://review.opendev.org/c/openstack/grenade/+/930507

Heat grenade job needs to install and run from venv. This
fixes the heat bin directory locaiton otherwise it will fail
with below error

- https://zuul.opendev.org/t/openstack/build/9b20c32fe9594d8b963c17c9f02aa76e

Needed-By: https://review.opendev.org/c/openstack/grenade/+/930507/12
Change-Id: I3a670795593da81078bb3709eedda0804871ad63
(cherry picked from commit b3bd897cc32a2fee41deaa64f704f16d70c2b3fe)
(cherry picked from commit 3e4da430b02a4e4b731bbfc8a99b478f19d2dcc8)
2024-10-18 14:19:53 +00:00
Takashi Kajinami
33a9f546dd Enable GLOBAL_VENV
... because it is required in Ubuntu 24.04 .

Change-Id: Iba939edff0f015900ccb72c761c1e3d833805feb
(cherry picked from commit b03667a2a0f9106bad6f0179d4a0fcb15308a150)
(cherry picked from commit 51efb9f18392eaad9aa288c690ec75e842032f22)
2024-10-17 01:08:53 +00:00
rabi
633ffc5fb6 Fix octavia quota resource
Use correct api from octaviaclient. Looks like this is
broken since the resource was addedi with [1].

[1] https://review.opendev.org/c/openstack/heat/+/705315

Change-Id: I3da9ff1be15e4f91b1693b82460fd7420373bb4f
(cherry picked from commit cad151a1b43223414aa4f4a012f52b26cd158194)
2024-09-02 04:03:45 +00:00
Zuul
60a7bf9d5a Merge "Fix wrong shebang of loguserdata.py" into stable/2024.1 2024-09-01 16:13:02 +00:00
Takashi Kajinami
ae6225890e Try archive path to download Fedora image
This is a temporal workaround to allow downloading Fedora 37 image
which was moved to the archive path.

Change-Id: I9b1702749976a2cea42a24130e5fec2931b75ce1
(cherry picked from commit a806b400cf5766f1e675798e501aa32416dc0939)
2024-08-31 17:30:31 +09:00
Zuul
512052a055 Merge "2024.1 only: Mark OS::Sahara::ClusterTemplate deprecated" into stable/2024.1 22.0.1 2024-05-30 08:11:25 +00:00
Takashi Kajinami
cdfbba967f 2024.1 only: Mark OS::Sahara::ClusterTemplate deprecated
All sahara resources were deprecated in 2024.1[1], but support status
of OS::Sahara::ClusterTemplate was overlooked.

Sahara resources are being removed in master now, so this change is
made only in stable/2024.1.

[1] 895d8645adea43ee53b78ae516fb9f2b926155d6

Change-Id: I0115ac5c0c52dcde954926650e66b76d8b714298
2024-05-30 13:30:08 +09:00
Zuul
b533b23a9a Merge "Remove SQLAlchemy tips jobs" into stable/2024.1 2024-05-16 04:02:50 +00:00
Stephen Finucane
3024a5f36e Remove SQLAlchemy tips jobs
The most recent SQLAlchemy and Alembic versions are now in
upper-constraints. As a result, this job has served its purpose and can
be removed. For more information, see [1].

[1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/RBHXHTO3GUOOXVSZXD4C2O3TKDOH2QSC/

Conflicts:
	.zuul.yaml

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I1e9c6b951c564b8a038737a1072a6df73aa925a6
(cherry picked from commit 915ba0ceded80b0d9d12dd9100718da2f90cc7cc)
2024-05-16 09:04:02 +09:00
Takashi Kajinami
f5f4d48b8f Remove reference to devstack-gate
devstack-gate was deprecated in xena and is being retired now[1].

[1] https://review.opendev.org/c/openstack/governance/+/919629

Change-Id: Ib7e4f136f4b07ea30310fccebb58463eac023454
(cherry picked from commit 0290f8a580a76af730739766a2b8cd82de6a9955)
2024-05-16 00:02:34 +00:00
Takashi Kajinami
40ddcaed2d Fix wrong shebang of loguserdata.py
With the previous detection logic removed by [1], we should update
the shebang so that the script is executed by python interpreter.

[1] 19bcbc0390f24b0e9977a01d08380bf5a4fd39a4

Change-Id: If116e89b75f450b818ed6b8819a0920fff6d34bb
(cherry picked from commit 29a594c85a7734eefd0cfa635d8fcfca8f9eb60f)
2024-04-25 07:50:58 +00:00
Takashi Kajinami
23f0dc5e12 Remove unused heat-functional-non-apache
The job was removed by 253aff806bf95bd8426cadc104c4fe068bcd7ea7 and
has been unused since then.

Change-Id: I090acdabcb27f6099fdf49b2f7230848ea2d2681
(cherry picked from commit bdc525809e60e775f47777ebcda1669bd00f27a7)
2024-04-25 00:43:06 +00:00
Takashi Kajinami
6cde44db2c Revert "Skip aodhclient plugin test"
This reverts commit 575827c9aca653bef12f530c5823a724aebd6b4d.

Reason for revert:
The issue with pyparsing bump was already resolved.

Change-Id: Ia01ad211eab1b8ae558a85b9e51df46164d7a1d1
(cherry picked from commit eea7ea099d4cf27a1703e42b065eed25864c70a8)
2024-04-23 16:39:43 +00:00
Takashi Kajinami
202bc9f572 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
(cherry picked from commit 399352dfdc5a68bdb439b5ee65f550e126792877)
2024-03-25 09:33:45 +00:00
2f4cfd5d25 Update TOX_CONSTRAINTS_FILE for stable/2024.1
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.

Until the requirements repository has as stable/2024.1 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: I28399998001d35ab1aae969f502254cd9a51bf11
2024-03-14 06:13:45 +00:00
51d814053d Update .gitreview for stable/2024.1
Change-Id: I1ae730c51c818e551ac246e292351a1815bcd136
2024-03-14 06:13:41 +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
22.0.0.0rc1 22.0.0
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
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
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
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
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