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
Introduces a specification which would allow for more intricate analysis
by strategies using simple time series analysis.
Change-Id: Icac8fd3e5736a374cde026a42f0fe9195e30fdac
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
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
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
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
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
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
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
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
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
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
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
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