Commit Graph

583 Commits

Author SHA1 Message Date
Tyler Adams 6b15b97689 Remove executable permissions from files that don't need it
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
2024-03-02 00:14:48 +00:00
wangkuntian 0743b6ec7b Add the lost component when in installation
Change-Id: I88b261be4a421c53dfadcd5ea9291fd4c569b344
2022-11-10 10:18:08 +08:00
wangjiaqi07 fddf48c9c4 remove unicode from code
Change-Id: I56e72f7bb4a6829ac9f96ec418b3359ae6cd8e3f
2022-08-25 09:34:35 +08:00
Erik Olof Gunnar Andersson cc5f321d2a Remove legacy testing code
The rally integration is no longer maintained, and isn't used
by the current CI.

Change-Id: I84d507c57e5c4888acb72390388481d62db9f60a
2021-11-29 13:17:50 -08:00
Zuul d5d3bb9307 Merge "Add doc description for stop_timeout_before_update" 2021-11-28 23:03:47 +00:00
Zuul 390779ca1e Merge "Delete unavailable py2 package" 2021-09-16 20:16:25 +00:00
Zuul 5c416ee6f0 Merge "Correct a typo in the document" 2021-05-06 05:43:34 +00:00
LinPeiWen 19c30d86ba Delete unavailable py2 package
The openstack Ussuri and Victoria versions no longer support the
Centos7 and pyrhon2 environment packages. Correct the missing
problems in the latest document

Change-Id: Ie17133b86f421868cddca46c29225d51ae671594
2021-04-26 07:44:15 +00:00
Zuul 3753c52f24 Merge "Update error in install-rdo.rst and update default port" 2021-03-30 03:43:54 +00:00
Ghanshyam Mann b5edbcbb6e [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also replace policy.json to policy.yaml ref from doc and tests.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: I9028875399b54ab961ae46ca13f9cf6e6fc7ad89
2020-12-25 15:39:08 +00:00
Duc Truong a5407c72e6 Add doc description for stop_timeout_before_update
Update documentation to add stop_timeout_before_update config paramater.

Change-Id: I3f3c7d43c7d732fc712a916a25c762f531118a22
2020-11-30 20:06:39 +00:00
“miaoyuliang” 1bace4641d Update error in install-rdo.rst and update default port
Nova placement use port 8778, to avoid confusion, Update
senlin default port from  8778 to 8777. And update
spelling mistakes in install-rdo.rst

Change-Id: I342b1badf3910ea07ea64523cdb8a19a8a0ccb06
2020-09-26 00:31:31 +00:00
suhaiming 7f7f5d655e Correct a typo in the document
Change-Id: Ibf4d60d1eaf81afb89d68d2a9e0e4ede5f1064d3
2020-09-09 09:03:38 +00:00
root f4884bcf16 install-rdo.rst typo fixed
Change-Id: I961fc048e162fa6aa48e5f05e5a3b6da3c5f2ec0
2020-08-05 08:06:47 +00:00
melissaml c4d9ae77a7 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Set openstackdocs_auto_name to use 'project' as name.

Change pygments_style to 'native' since old theme version always
used 'native' and the theme now respects the setting and using 'sphinx'
can lead to some strange rendering.

openstackdocstheme renames some variables, so follow the
renames before the next release removes them. A couple of variables
are also not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I5db2dc63ea51f0005aa1244b5b9c692ec23ce314
2020-05-22 17:15:04 +08:00
gujin bf379ee6cc tox: Keeping going with docs
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Change-Id: I9c2c81c6f6e3064e91ceb1704e4b7cdf86fa8f01
2020-05-19 00:20:43 +08:00
Duc Truong 5ae51e7344 Fix doc glossary terms
Glossary terms are case-sensitive. This change fixes the terms used in the
documentation to match the capitalization used in the glossary terms.

Change-Id: I6cc2cf7251e53c98c512f21c6504a2e795c26b33
2020-04-22 10:01:16 -07:00
Andreas Jaeger 20a434c862 Cleanup Python 2.7 support
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
2020-03-27 17:35:47 +01:00
Adam Harwell d3bd9ef3f3 Allow LB creation with VIP_NETWORK *or* VIP_SUBNET
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
2020-03-16 12:43:30 -07:00
Adam Harwell 531283783e Add option to choose LB availability_zone
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
2020-03-03 11:10:39 -08:00
Erik Olof Gunnar Andersson 01eff94b76 Centralized configuration
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
2019-12-03 11:08:44 -08:00
Ghanshyam Mann 29c0e6fbdf [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Senlin is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I0377788d0db0e60d44c35f1d26eefd58502a452a
2019-11-17 17:48:53 +00:00
pengyuesheng 9523029e02 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: I432ae5415b9ab8ca7247fb5fb2a8b6e1819029ba
2019-11-15 02:47:26 +00:00
Erik Olof Gunnar Andersson 54997a14ea Split engine service into three services
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
2019-11-04 11:36:56 -08:00
Duc Truong e792d91935 Add tainted field to nodes
Allow users to marked nodes as tainted.  Tainted nodes will be selected
first for scale-in operations.

* Updated API microversion to 1.13
* Updated node table to add tainted field
* Updated docs

Change-Id: I3a391a31240b5206ad83cd054084b9946fbab24e
2019-10-22 21:27:55 +00:00
pengyuesheng 179a4a4ab0 Sync Sphinx requirement
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: Ia34415e18f3c3c10ba3c669967cf4f5ab0e6ad11
2019-08-01 17:11:15 +08:00
Andreas Jaeger c993775bd4 Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: Ie28caca2519b6e5940bb884876113b84d45c3048
2019-07-22 19:19:20 +02:00
Zuul 134e825577 Merge "Fix keystone_authtoken config in docs" 2019-07-09 17:19:52 +00:00
Duc Truong ebefa20ca2 Update docs and examples for health policy v1.1
The documentation and example health policies need to be updated to
reflect health policy v1.1 schema changes.

Change-Id: Ie447397b001fba9798025370cdb0087e679fdfe4
Closes-Bug: #1834516
2019-06-28 22:34:17 +00:00
Duc Truong 074ee9f7fe Fix keystone_authtoken config in docs
The keystone_authtoken configuration in the installatiion documentation
are incorrect.  Updated the documentation to use correct values that
work in devstack for senlin.

Change-Id: I9ee7e6c9d5e8e86dcefd459599ebee5f151a612a
Closes-Bug: #1834515
2019-06-28 18:12:31 +00:00
jacky06 80ba25ec6a Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Ibf7030d5cef07c29d4e13fddef611715373a4af8
2019-05-29 11:19:30 +08:00
Duc Truong 7775928abc Add webhook v2 support
Previously webhook API introduced microversion 1.10 to allow callers to
pass arbritary data in the body along with the webhook call.  This was
done so that webhooks would work with aodh again.  However, aodh and
most webhook callers cannot pass in the header necessary to specify the
microversion.  Thus, I'm introducing webhook v2 here so that webhooks
behave like in microversion 1.10 but without the need to specify that
microversion header.

Closes-Bug: #1828856
Change-Id: I7f5cdb2ea19c6ca1a9ea68e64515804f219a73ee
2019-05-13 19:04:51 +00:00
Ian Wienand aaf352663a Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Id77ad092d3117d38bcacfb9dcb7a0b921145d4cc
2019-03-24 20:36:06 +00:00
Zuul 4f5a61433d Merge "Add action_purge to senlin-manage" 2019-01-25 01:50:52 +00:00
Jude Cross 3770d11a5f Add action_purge to senlin-manage
This patch add the action_purge subcommand to senlin-manage.

This subcommand is used to purge the specified action records
in senlin's database.

Change-Id: Idf4e04621c812c3a7aa53e9fd402b2ec3081fa89
2019-01-22 18:42:06 -08:00
lijunjie 20e40cb4fe Fix the misspelling of "required"
Change-Id: Ic5fa51dcb3b04a1b835c4b157bf4f8ebb92ff769
2019-01-16 17:52:11 +08:00
Zuul 0ddbc1146f Merge "add line to fix Unexpected indentation" 2018-11-16 01:50:16 +00:00
Zuul 592ab120db Merge "Minor error" 2018-11-13 22:01:22 +00:00
wangqi c9858bd6af add line to fix Unexpected indentation
Change-Id: I86dc1e4773ccbeb1835c13a1cf84784692e0f53e
2018-11-07 16:15:18 +00:00
gaobin b421f39bde Minor error
Change-Id: Ifadcd638e10266ce0394770e02ee0f61cc59087d
2018-11-06 09:42:33 +08:00
whoami-rajat f529ffe610 Add senlin-status upgrade check command framework
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
2018-11-05 12:20:59 -05:00
Zuul 248f976d79 Merge "Add sphinx extension to document policies/profiles" 2018-10-29 22:31:19 +00:00
Duc Truong d8df1f8c51 Add sphinx extension to document policies/profiles
This change adds a sphinx extention to build sections of the policy and
profile documentation from source code.

- Add new extension
- Modify contributor documentation for policies to show spec fields
  from source code
- Modify user documentation for policies and profiles to show properties
  from source code
- Modify user documentation for policies and profiles to include
  samples extracted from examples directory
- Update tox to run pep8 against sphinx extension

Change-Id: I32f68867d14c3288385dbdf3b4df14e8ca2fd01f
2018-10-24 16:59:06 +00:00
Jude Cross 364b1402a1 Update scaling policy logic to be applied before action acceptance
This patch alters the cluster_scale_in and cluster_scale_out actions to
no longer place the action into the actions table when a conflict is
detected. This behavior is an improvement on the old way actions are
processed as the requester will now receive immediate feedback from the API
when an action cannot be processed. This change  also honors the scaling
action cooldown in the same manner by erring via the API when a scaling
action cannot be processed due to cooldown.

Depends-On: https://review.openstack.org/#/c/602460/
Implements: blueprint scaling-action-acceptance
Change-Id: If0dcf5e427d3d6973d2c5e52fada8a6c925240d5
2018-10-15 14:30:01 -07:00
Zuul 22ef7b98c0 Merge "Multiple detection modes spec" 2018-09-20 07:53:28 +00:00
Zuul de095d24a4 Merge "Fail-fast on locked resource spec" 2018-09-13 11:25:01 +00:00
Duc Truong facd502b70 Multiple detection modes spec
Change-Id: I49e1025debaf6eae6bcc54db46ecd654cb94964a
Implements: blueprint multiple-detection-modes
2018-09-11 15:46:34 -07:00
Duc Truong 1c92710d06 Fail-fast on locked resource spec
Implements: blueprint fail-fast-locked-resource
Change-Id: I7d4a9d4007bd95c025b5099c03f9905b3a714463
2018-09-07 00:13:11 +00:00
Yuanbin.Chen 32dfa177d7 Delete receiver doc exist "senlin command line" comment
Change-Id: I255fc27ce6298b7b259d13a5642c869b16ecdf2b
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-08-28 11:53:05 +08:00
Zuul 4747fc634d Merge "Optimise the process of verify" 2018-07-16 15:09:59 +00:00