In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Removing the py36 centos8 job as well as
updating the python classifier also to reflect the same.
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
Change-Id: I253757e2035dbe667905f011f9d05cc5d94e669e
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: Iff48ff530ab27325cc33b3c63d1330cd0d135842
Add new health check type to health policy called
HYPERVISOR_STATUS_POLLING. When set, it considers a node to be
unhealthy if the hypervisor on which the node is running has a disabled
status or down state.
Bump health policy version to 1.2 with the addition of
HYPERVISOR_STATUS_POLLING.
Change-Id: Ie558fb6ef7bf06cf4065fec5498e229d3146b0b2
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove ancient sections from setup.cfg
- Update requirements
- Remove unused import from conf.py
Change-Id: I87261d38992dedd87709ad8beff0bb533064e118
Octavia allows LB creation with only a vip_network_id specified. This is
necessary for things like routed-network environments where subnets are
often not exposed to users, or else not well understood by them, and
Octavia should retain responsibility for choosing the subnet.
Change-Id: Ic252cf7d5cc7277fa86bf12df8776dac27151f83
Octavia now supports availability zones for loadbalancers. Now it is
possible to pass this option through the LB policy.
Depends-On: https://review.opendev.org/#/c/710452/
Change-Id: Ib49b38490f83fea19307751ef1cd073307e352ae
Based upon the established conf paradigm used in Nova,
this patch moves the configuration to a central location.
Making config a lot easier to manage, as well a lot easier
to locate.
Additional changes
* Fixed missing notification section in example config.
* Moved external configs to generator config (e.g. osprofiler)
Change-Id: I8bca356768bd710d28361b50754ddcc249a32428
This patch splits the engine into 3 services, conductor, engine and
health-manager.
The goal here is to make the engine more resilent by isolating the
pieces.
Before this patch each Engine worker could potentially be running many
thousands of threads and multiple thread groups, starving the process.
After this change each process would be limited to a single thread
group of 1000 threads, and more predictable and balanced workloads.
* Added two new services.
* Added workers opt to conductor and health manager.
* Merged Thread Group Manager into Engine Service code.
Change-Id: Id4a27ba934dc9777f7ae5b4d7d0a751318ea7877
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss
Change-Id: Icb0d2ef017826571739c9605e1421991c100ea4b
This adds basic framework for senlin-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.
Change-Id: Ic890a04156abf201ac618ce71ccddcc4544d0acf
Story: 2003657
Task: 26154
This patchset changes the existing health policy to allow
NODE_STATUS_POLLING to be combined with NODE_STATUS_POLL_URL to provide
multiple detection types.
The existing implementation of NODE_STATUS_POLLING was changed to
directly perform a do_check on the node instead of doing a cluster check
operation. This was done to avoid locking the cluster as part of the
health check. When the cluster check was performed during a health
check, there was a potential lock contention problem if the user was
already performing other operations on the same cluster.
Implements: blueprint multiple-detection-modes
Change-Id: Iba0b043cc582e668a9066b0586ca8a0b201040e4
This enables sphinx to treat warnings as errors. With this change any
documentation format errors will be flagged in the CI sphinx job.
Change-Id: Ia0cc5a264f2c1db222156b655b706bc581f8820c
In order to make it simpler to use the default
configuration files when deploying services
from source, the files are added to pbr's
data_files section so that the files are
included in the built wheels and therefore
deployed with the code. Packaging and deployment
tools can then more easily use the default files
if they wish to.
This pattern is already established with similar
files for neutron, designate and glance as has
been mentioned in the related bug report.
Change-Id: Ie4277b3b94cca5c99d1e40babb085922dabcc7b0
Closes-Bug: #1718356
This is an attempt to fix stevedore confusion when loading plugins.
It also removes the ceilometer backend which is not used anywhere
Change-Id: Ic4f6165ca6c89daa24946126feeb23cdd431be0c
* Added lifecycle hook properties to deletion policy
* Check if deletion policy has lifecycle hook properties during
deletion and perform lifecycle specific actions if it does
* Added complete lifecycle API endpoint
* Bumped microversion to 1.9
* Added unit-test cases for lifecycle hooks
* Added lifecycle hook notification
* Added lifecycle hook properties to deletion policy
* Modified node_action to process policy preop if it was a
derived action with lifecycle hook properties
* Modified LB policy to defer deletion of node until node_deletion
action is executed if lifecycle hook properties are defined in
deletion policy
* Added zaqar test driver
* Added documentation for lifecycle hook
Depends-On: Id7804abc351c063563b58fb69a66074d0d854ecf
Change-Id: I888a01c4f26959649121d6f82430017858a4c481
This patch moves the openstack_test backend from test subdir to the
drivers subdir for better visibility
Change-Id: I2394c08705aa27d2ee9edb1ee5a5ce502e26ad92
* add senlin-tempest-plugin as required project for zuul
* change senlin-dsvm-tempest-* to run against senlin-tempest-plugin
* remove entry points tempest plugin
* change entry point for openstack_test to point to senlin-tempest-plugin
* add missing methods in neutron test driver
* fix check of force option for cluster delete and node delete
* add zaqar-tempest-plugin in devstack for gate test
* fix bug with attached_volume property
* removed tempest
* updated readme
Depends-On: I4eb9a9dbc0a1bdd5e0864c147974cf8e371789c2
Change-Id: I39761f5d1dd7fa4c38cf76929e996aafa65297ca
This commit will prepare for implementing policies in code [1].
Like oslo.config, with oslo.policy, we can define all of
default rules in code base and only change some rules
via policy file. Another thing that we should use yaml
format instead of json format.
[1] https://governance.openstack.org/tc/goals/queens/policy-in-code.html
Change-Id: I8cd6e148d9b6bb1dc61e2cb1728acafc325bca65
Co-authored-By: Hieu LE <hieulq@vn.fujitsu.com>
Add scripts for running Senlin API service under apache2, will add
related devstack support in another patch.
Implements bp: run-senlin-api-under-apache
Change-Id: I18872546a653c5de26360b6289dd1f5886c4a2b7
This patch for the action handler layer.
The action will update the cluster by the plan
we created if user bind batch policy to the cluster.
Change-Id: I42fc8cf2d255580c57990d686c24b620abd1cde8
Implements: blueprint support-batching-policy
Example lb_policy.yaml version has been updated to 1.1.
When use example lb_policy.yaml to create policy, it will relpy:
"The specified policy_type (senlin.policy.loadbalance-1.1)
could not be found."
Change-Id: Ica03442b87fcff7be61149faa70a869dd4088839
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.
Change-Id: I87d6445a451e380a290f4a6cf9364c621dc293e5
This patch creates a new container type profile, currently
only support docker.
blueprint container-profile-support
Change-Id: I7ff2c77f1e0fd06f26bb46c80d17c616f361e1bc
Tempest plugin framework provides more flexibility for projects.
With this plugin, it's not requiring the tests live in the tempest
tree.
Blueprint: tempest-plugin-interface
Change-Id: Iaa3ee3aa3bf5d1d42912a97693ab60e8c81c3085
This patch adds support to nova server affinity policy. The policy was
adpated from the previous vSphereDRS policy. It is now registered and
enabled.
Change-Id: Id8e2926893dc719d06185baf7bec6844e5b85a95