The update() function is internal and not guaranteed to be stable.
Resource plugins should override _needs_update() to control
update/replace behaviour.
Change-Id: I247b68669e692f6705e8adee60572c8e775ce0b8
Story: 2011068
Task: 49828
This had a similar problem as when null values were passed explicitly
before the fix for bug 1709620.
Change-Id: I02fb4c8815bc24d4c0c339022aa857dc344d58e9
Story: 2011108
Task: 49921
This reverts commit 575827c9ac.
Reason for revert:
The issue with pyparsing bump was already resolved.
Change-Id: Ia01ad211eab1b8ae558a85b9e51df46164d7a1d1
With the previous detection logic removed by [1], we should update
the shebang so that the script is executed by python interpreter.
[1] 19bcbc0390
Change-Id: If116e89b75f450b818ed6b8819a0920fff6d34bb
The update method has incomplete arguments and causes error during
actual stack update operation.
Story: 2011068
Task: 49751
Change-Id: I7b141f8846005da8379b1c646b298088d27a66bc
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
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
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
cloud-init was released on 2011-01-27. It may be reasonable to assume
that no one is using older versions.
Change-Id: I8f6d3ed0aadd00e76710308fec7d3a1b1d5bb0e9
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
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
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
Objects used only within the single test does not need to be part of
the TestCase instance of that test.
Change-Id: I05c0877315e6e4897e8b097d5df3e81b60022870
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
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
To assist with automated configuration validation, we need entry points
for oslo.config.opts for yaql and cache options.
Change-Id: I228282d2c05f6583fe972470b326e7182f635b39
The wrappertask decorator was deprecated some cycles ago[1]. This is
internal implementation so could be even removed directly.
[1] 2c58017a14
Change-Id: I0f2e25971201e2a01b3e86bd859e8a4bdb98d371
LBaaS v2 was retired a while ago and now the related resources are all
hidden. Thus we can remove all implementation to reduce dependency on
python-neutronclient which is deprecated.
Story: 2010678
Task: 47761
Change-Id: I4de6cb353bc3699d124ea55666c87e4efd7e4350
This resource requires Glance v1 API which was already removed[1][2].
It was deprecated some time ago so we can hide it now.
[1] 3dde3204d5c1b5323dba2d7b7607e69bcc58bbb2
[2] 30680961994b36ed12713c0f106b661535ce41c6
Change-Id: Ifbefdbc032c0b1ac538d68b41f13d0547b793ba5
The loadbalancer property of Octavia::Listener resource has been
optional but this is not aligned with Octavia's API and causes
a strange failure when a user creates a pool without the property.
This makes the property required to enforce the same requirements as
one made by Octavia's API.
Story: 1748389
Task: 17347
Change-Id: Ib8af29c3d45d5ffbbb21c216429ef38d0d273d05
This option was deprecated a long ago[1] and has had no effect for
multiple releases.
[1] 46d6b9306c
Change-Id: I0971f67b43292f8794aa3329b2e7dccc67ec3f6f
The underlying oslo.context implements the logic to look up request id
from request environment since 2.6.0 [1].
Also, some of the init arguments of RequestContext class are already
implemented by the base class in oslo.context. So we don't have to
implement these additionally.
[1] 740b81784be72fff95957e8491863ef9e7f7db1a
Change-Id: Ic1ab055a8780fd64b67cf92e86d5b8ef10047bbf
Based on the agreed steps to implement the SRBAC community goal, this
enables the new policy defaults and scope checks by default.
Change-Id: I315893150549d1174c3270c37c031e6a519f9a28