Commit Graph

298 Commits

Author SHA1 Message Date
Lucian Petrut ea19cfd56e Add MAAS spec
We intend to add support for MAAS, another bare metal provisioning
and management service.

Note that the tox job fails at the moment as "whitelist_externals"
has been deprecated in favor of "allowlist_externals", so we'll
need to address that as well.

Another issue that we need to fix is that sphinx is unable to
locate some image files:

  /home/zuul/src/opendev.org/openstack/watcher-specs/doc/source/
  specs/newton/implemented/scoring-module.rst:232: WARNING: image

  file not readable: doc/source/images/scoring-module-deployment.png

Change-Id: I54b3c578f677ad7d554732a5018163e4780f9457
2023-10-23 14:47:27 +03:00
Zuul 86df397e3e Merge "Specificiation for time series framework and analysis" 2020-08-06 07:50:01 +00:00
licanwei 7549c5ed9a Add bp time-series-framework
Change-Id: I50d8b82b70eb441987f41ddedfcae3b07772d0e8
2020-07-02 15:01:33 +08:00
Dantali0n 2cf70bd765 Specificiation for time series framework and analysis
Introduces a specification which would allow for more intricate analysis
by strategies using simple time series analysis.

Change-Id: Icac8fd3e5736a374cde026a42f0fe9195e30fdac
2020-07-01 08:10:43 +02:00
Zuul e4cd2f807a Merge "Victoria Project Priorities for Watcher" 2020-06-04 08:19:28 +00:00
Andreas Jaeger f1048c2f60 Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version 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.

Disable openstackdocs_auto_name to use 'project' variable 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: Iac80c4e5270632c6d51590f40d3ca474bc59302a
2020-05-30 15:56:44 +02:00
licanwei eb8aa7b627 Victoria Project Priorities for Watcher
Change-Id: I29cd28177b0c22abb6abdb11ed0c02c8403f5f0b
2020-05-20 10:51:25 +08:00
suzhengwei a16dc8757c add victoria cycle spec
Change-Id: I9707d981cfba85692b76014a11f9b9c1e2f5db56
2020-04-27 16:48:45 +08:00
Andreas Jaeger f0ae3e5b07 Cleanup py27 support
Make a few cleanups:
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Switch to sphinx-build

Change-Id: Iaee99ab7ebbb7d866ef50b901e160be77538e566
2020-04-07 13:49:46 +02:00
Andreas Jaeger a7a24cc1af Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix:
W605 invalid escape sequence

Change-Id: Id55815b07d2355983a1ba97565f2473fdd49f4b3
2020-03-31 13:13:12 +00:00
Zuul 94462741bf Merge "rollback mechanism" 2020-02-29 07:06:41 +00:00
suzhengwei 522c79b956 rollback mechanism
Change-Id: I699761f76bffc96fc22ae8ee5bb010c405a0b3a6
Implements: blueprint rollback-mechanism
2020-02-19 17:06:04 +08:00
licanwei b32b5930b2 Add config option enable_webhooks_auth
Partially Implements: blueprint event-driven-optimization-based

Change-Id: Id88fa1d7c7fa49ccdfbeb011a4acca8626727b4d
2020-02-14 10:59:34 +08:00
Zuul c3ef3ccd8a Merge "Support event based audit" 2020-01-08 11:51:57 +00:00
licanwei 0a50de75fe Support event based audit
Partially Implements: blueprint event-driven-optimization-based

Change-Id: I1c1d61b143383290fc6d35068ac7367549b5779f
2019-12-15 06:58:31 +00:00
Ghanshyam Mann d2405162c7 [ussuri][goal] Drop python 2.7 support
OpenStack is dropping the py2.7 support in ussuri cycle.

specs repo either has py27 job or requirement or tox env.

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

Change-Id: I526e776be61e1fc7d3dda83b0cfa936b5306f04b
2019-12-13 18:56:24 +00:00
chenke c61233ceec Fix ussuri-priorities.rst format error
This file is missing a blank line, causing
the format to display incorrectly.

Change-Id: I76b4bb2adac2315e2056e3da3472cead54c706f9
2019-11-29 15:11:27 +08:00
Zuul ce22aa2efc Merge "Add Ussuri priorities" 2019-11-21 01:47:24 +00:00
licanwei a52911938a Add Ussuri priorities
Change-Id: Ief6ffb5179f9994d9a9112036417fd64b1903d2a
2019-11-20 09:53:19 +08:00
jacky06 29312926f0 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: Idf36ca3214dabc899cfdc7e5af20f29b8b86f4c3
2019-10-24 08:57:28 +08:00
licanwei 15f51154f8 Add Ussuri cycle specs
Change-Id: I48924a5438395af77531c0b7f20137069415d5c2
2019-10-17 19:36:57 -07:00
licanwei 9de0fa56ae Fix the page display
Change-Id: I501545c4c3c3caa9329e62da6cab99db4464fa44
2019-09-19 19:46:13 -07:00
Zuul 0366bb38d7 Merge "General purpose threadpool for the decision engine" 2019-09-19 03:17:07 +00:00
Zuul f0d600447b Merge "Build pdf docs" 2019-09-19 01:53:55 +00:00
licanwei 51b8cede0e Build pdf docs
Add a new pdf-docs environment to enable PDF build.

Change-Id: I02125d7f348ed956695f9b60ab605b2ffbddfd55
2019-09-18 00:19:56 -07:00
licanwei 5ba8bfe90f move Watcher train implemented specs
Change-Id: I121fe7c93e2902e8e2c4607d1eae8875489b3b7f
2019-09-17 23:22:17 -07:00
Zuul f89e61043d Merge "node resource consolidation spec" 2019-09-16 03:10:47 +00:00
Dantali0n 45bc16dec1 General purpose threadpool for the decision engine
Spec to create a general purpose threadpool to be implemented in the
decision engine. The amount of threads is configurable to best fit
different OpenStack deployments while the default value should be
conservative to prevent any issues.

Additionally, the building of the data model will use the threadpool
and will demonstrate its usefulness.

Test cases will be made for both the threadpool as well as for the
behavior of building the data model.

Change-Id: Iaaaea3bc436d405cf19f99b13ed4804e10e646c6
2019-09-12 10:05:21 +02:00
licanwei e634b83022 node resource consolidation spec
Partially Implements: blueprint node-resource-consolidation

Change-Id: I010b340cb3a715f39de726d1ec0c94659b337cd4
2019-09-10 10:00:03 +08:00
chenke 8bd1829204 Update show-datamodel-api spec
1. Update sample command for show-datamodel-api.
2. Modify REST API return value example.

Change-Id: I19593c3d4892e0e2c3d4e1cd08b47cf80167ebd8
2019-09-10 09:19:07 +08:00
licanwei 26f3881d8f update improve-compute-data-model spec
update some field names and add new property
Because resource usage is not stable field,
so remove it from the Data Model.

Partially Implements: blueprint improve-compute-data-model

Change-Id: I6d5da58272d33d6b867c2da3f709b1506401568f
2019-08-09 09:32:49 +08:00
licanwei cd6c31a197 Improve Compute Data Model
The fields(vcpus, memory and disk_capacity) in the Watcher ComputeNode
do not take allocation ratios used for overcommit into account so there
may be disparity between this and the used count. We need to add some
fields to solve this problem.

Change-Id: If2a6bbcd1faa735e93eabbbdb4cc99ae324fd85f
Implements: blueprint improve-compute-data-model
2019-07-10 14:28:52 +08:00
chenke 5360e76c66 Switch to the new canonical constraints URL on master
Reference:
1. http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html
2. https://review.opendev.org/#/c/601188

Change-Id: I87a908e1965fe9a0785329533eab7b9ce2ded8cb
2019-06-17 22:14:24 +08:00
Zuul 1e2609cd7f Merge "Spec for Grafana proxy datasource" 2019-06-01 02:21:04 +00:00
Dantali0n 56c1f631a0 Spec for Grafana proxy datasource
Spec for a new datasource to collect metrics using Grafana as a proxy
to the databases it integrates with.

Change-Id: Id224bf37a72347e634567c933c42a12ef9b048d3
Implements: blueprint grafana-proxy-datasource
2019-05-29 17:14:11 +02:00
Zuul f831a4e067 Merge "Add Placement helper" 2019-05-29 03:12:35 +00:00
Zuul e67c7f407e Merge "Spec for support-keystoneclient-option.rst" 2019-05-27 02:32:22 +00:00
licanwei 63dfb11e13 Add Placement helper
This patch added Placement to Watcher

Change-Id: I5d200978f2e2c2aa04148109b9252df696bf2132
Implements: blueprint support-placement-api
2019-05-24 00:38:02 -07:00
chenke ff3c716451 Spec for support-keystoneclient-option.rst
Change-Id: Ifdbc2f33d3811d56c842f0bb8922398e022c1311
2019-05-23 14:40:49 +08:00
melissaml 0134543625 Rename review.openstack.org to review.opendev.org
There are many references to review.openstack.org, and while the
redirect should work, we can also go ahead and fix them.

Change-Id: Ic8030eb290f08b3ac982618387b19f6a84479034
2019-05-12 04:23:48 +08:00
Zuul 6e3acf7722 Merge "Use pep8 replace py27" 2019-05-07 05:42:32 +00:00
chenke 3f2d3415e4 Use pep8 replace py27
Depends-on: I98d4c3e9924346b826e5267b0b7c6b73f86741aa
Change-Id: Iada900ac58f0cbfd5035a9cc371669dc998e8d80
2019-05-06 15:15:23 +08:00
Zuul 41932b4900 Merge "update git.openstack.org to opendev" 2019-05-06 06:54:10 +00:00
chenke 24e7a5f7d2 Make spec's line limited to a maximum of 79 characters
Change-Id: I98d4c3e9924346b826e5267b0b7c6b73f86741aa
2019-05-05 11:23:32 +08:00
liuwei 776f221fb8 update git.openstack.org to opendev
Fix line length in recently passed to spec to build with the url changes

Co-Authored-By: chenker <chen.ke14@zte.com.cn>
Co-Authored-By: Dantali0n <info@dantalion.nl>

Depends-on: I98d4c3e9924346b826e5267b0b7c6b73f86741aa
Change-Id: If2f80f65bb37656d0604b6565bbdd33be2c80cc0
2019-05-05 02:06:25 +00:00
Zuul 58a1a55a16 Merge "Formalize DataSourceBase interface" 2019-04-30 07:28:53 +00:00
Zuul bcbfca2567 Merge "Add a force field to audit" 2019-04-28 06:22:39 +00:00
Dantali0n b4fafe6d16 Formalize DataSourceBase interface
The methods of the DataSourceBase are changed to improve compatibility
with all the datasources. The parameters and their respected values
will be documented as well as the return types of methods.

With this changes the unit tests should be changed to match the new
interface accordingly.

Change-Id: Ib88d1041dbb976a9c7a42b33114851f3ece37759
Implements: blueprint formal-datasource-interface
2019-04-25 17:54:42 +02:00
licanwei d0681dd2ba Add a force field to audit
As now, Watcher doesn't allow to launch a new audit when there
is actionplan ongoing. This patch gives the choice to User,
if User set force when launching audit, Watcher will execute the
audit even other actionplan is ongoing.

Change-Id: I276ebcee0b09bfc6f27ec39f43ba2ecd230db2b2
Implements: blueprint add-force-field-to-audit
2019-04-25 17:17:23 +08:00
Zuul 63e50c2d9a Merge "Spec for global datasource order" 2019-04-20 04:44:00 +00:00