This class have been stayed in source code for a long
time and not used since it created. The API service used `senlin.api.common.wsgi.Server`, not this class . It should be cleaned up.
Change-Id: I71196af4ad5ce0c975bec1c8c80be19b43ccbd2d
Currently, the python openstacksdk changed rebuild_server function's
parameters. So, when the senlin-engine handle rebuild nova instance, it
will raise this error like: "rebuild_server() got multiple values
for argument 'image'"
This patch will fix above error
Change-Id: Ibc03fe6d5ca6db2b02ece5d0b3aab00dff157de1
Many python files have their executable permissions flag set but they shouldn't Removed executable flag from files that did not need it
Closes-Bug: #2055736
Change-Id: Ic04051fdc597b2f915f76e4c4c47f392354ddfe1
This reverts commit c2d0b6584d.
Reason for revert: This is too aggressive and needs wider community consultation. The constraints change is being reverted.
Please revert ASAP.
Change-Id: I74bc67eb66f19e1eb2ac9d328eefafb7289fc1e7
When using token to init a new openstacksdk connection, the SDK try to fetch
another token from it, causing keystone raise exception and return 500 status
response. Refer: https://bugs.launchpad.net/keystone/+bug/1959674
Switch from `token` to `admin_token` to make the SDK session use the provided
token directly instead of fetching a new one.
Closes-bug: #2048452
Depends-On: https://review.opendev.org/c/openstack/senlin/+/905555
Change-Id: I8f9b2db3d4851cf54c2113b2fb0ae97ae38ac286
Excluding CLUSTER_RESIZE from the list of actions that skip
pre-operation checks if the cluster is already at the minimum threshold.
When the cluster is at the minimum threshold, pre-op LB will function
with actions such as CLUSTER_DEL_NODES, CLUSTER_SCALE_IN, NODE_DELETE,
and will skip actions like CLUSTER_REPLACE_NODES and CLUSTER_RESIZE.
Closes-Bug: #2049191
Change-Id: I00a7ea40f69bafc94ca2bba9f268af7b03344997
The SSL Middleware got removed from the `oslo.middleware` lib. Refer: 67b9c23f16
This cause zuul jobs failed.
Change-Id: Iba896057e16843739e3a395edf8df97fbac6107d
In cases where the cluster's desired capacity equals
the minimum size, executing an action causing node
(exception: CLUSTER_REPLACE_NODES) reduction led to
premature removal of the node's IP from the load
balancer during the pre_op step.
The commit addresses this issue by introducing a check
to skip the pre_op step if the cluster is already at
its minimum size. Now, when desired_capacity equals min_size,
the pre_op step is bypassed, preventing unnecessary
removal of IPs from the load balancer.
Closes-Bug: #2048100
Change-Id: Ia7389e8c555497cfa5ccbdca77258f4165dfc62d
The SCALE_IN action in the lb_policy module was removing only
one node from the load balancer, regardless of the specified
count when the count was greater than 1. This was due to a
hard-coded count of 1 in the _get_delete_candidates function.
The root cause has been addressed by updating the
_get_delete_candidates function to dynamically handle the count
for SCALE_IN. The count is now retrieved from the action inputs,
and if not specified or invalid, it defaults to 1.
Closes-Bug: #2048099
Change-Id: I9ff12dec26f4c558ef5ef84de87668e9668cec80
When terminate senlin-api process the `evenlet.wsgi.server` raised OSError exception that is not a list or a tuple which make TypeError raised and the senlin-api process may not be terminated properly
Closes-Bug: #2047914
Change-Id: Id02befe51e9118c8d8dafc3c926398fbf7e1258e
Re-arranged sessions to always be at the top level to make
it easier to know the origin of the current session. This
is important now that we no longer have autocommit enabled.
- Added zuul job testing sqlalchemy 2.x.
- Added new db api for service cleanup.
- Removed broken sqlite cleanup step during testing.
Change-Id: I168f3d9518611ac66cb9eec1132a7add19e92d5f
has_calls was removed from Python 3.12, as starts failing in Debian
unstable. This patch fixes it.
Change-Id: Id594856ad39c17e2eb105e6ad5067fa9a66a04a3
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: I3642f2965f47092415eedc3712613cdd240a387d
This patch allow to define subnet in profile,
Default network port will find a random subnet to create port on, user can define specific subnet.
Change-Id: I8a29dcb7c8b92c8bd1b8c9111134c3ace6ea9a76
sqlalchemy-migrate is no longer supported and we need to switch
to alembic for database migrations.
Change-Id: I2e51b4027f7af63944b5504ddcf50e9e48818259
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: If57c289b2e8e411504b187add037e7c1c1b0d54e
Zaqar is currently broken upstream. Until Zaqar is fixed
we need to temporarily disable the integration tests.
Change-Id: Ife54d48d41b7d1fd5b6129ccd4978e2eb46842ab
Queues are now declared at the project level
https: //lists.openstack.org/pipermail/openstack-discuss/2021-November/025797.html
Change-Id: Ie3440cb649484f999fc37f4779d36033c96a45d7
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I4e0579f1085f3a79bbd3e76784396408e5968d59
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: Idf86ef4c6d9b56e11cd4361cb5b7734f6ade9d37