Commit Graph

25 Commits

Author SHA1 Message Date
Ghanshyam Mann 5c72c8ff1c Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: Ief1bff470b060f9c0b9d9c8934c6bff19c74a1ab
2024-01-03 20:23:36 -08:00
songwenping 88fad44d93 Update python testing as per zed cycle testing runtime
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: I9795f0ddf38c1521e6996d9ff0c2c0193193d96a
2022-05-18 17:42:41 +08:00
Zuul a89511e088 Merge "host monitor by consul" 2022-03-03 11:26:36 +00:00
sue 7c476d07aa host monitor by consul
This is a new host monitor by consul. It can monitor host connectivity
via management, tenant and storage interfaces.

Implements: bp host-monitor-by-consul
Change-Id: I384ad70dfd9116c6e253e0562b762593a3379d0c
2021-12-23 14:39:09 +08:00
wu.shiming 857df761c7 Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: I38ed7a0367be9a9c0e01f59b8fb7bbd62300d0f7
2021-12-21 10:46:10 +08:00
Radosław Piliszek 8af96ce367 Fix home_page in setup.cfg
Change-Id: I0b5d49bd974d1dc8d78ff8f2ad87314e2b2e067f
2021-09-15 16:42:28 +00:00
XinxinShen b558651cd0 setup.cfg: Replace dashes with underscores
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: I66440018ae3e16962639976b00c9f65475d8223e
2021-04-28 10:54:57 +08:00
Radosław Piliszek da5bba8eac Revert "remove py37"
This reverts commit 9d5dd9f555.

Reason for revert: Python 3.7 *is* supported because it falls
in the range of supported Python versions (3.6-3.8).

Change-Id: Ie59a7232e12715ba753cedb7812378feabcf02de
2021-01-13 10:25:58 +00:00
XinxinShen 9d5dd9f555 remove py37
Remove python3.7 from setup.cfg, since Wallaby's python
supported runtimes are python 3.6 and python 3.8[1]:

[1]: https://governance.openstack.org/tc/reference/runtimes/wallaby.html

Change-Id: Iba457e91cb2b74dbb4fa06ce738203f88c7e2d45
2021-01-04 16:40:02 +08:00
Radosław Piliszek e8798b6201 Add py38 package metadata
Change-Id: I84de74fdc4da8ebec430555d08a1cd8246735e43
2020-11-13 11:31:04 +01:00
gugug 649c9016ec Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: Ic97f0c22cd333593df049f61ba0316a07a0075e3
2020-05-19 23:56:19 +08:00
Andreas Jaeger 1cf29b9d0d Cleanup py27 support
This repo is now testing only with Python 3, so let's 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 obsolete sections from setup.cfg
- Update classifiers
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Remove mccabe from lower-constraints, we don't need it there,
  it is constrainted by hacking.
- Add xml and xslt libs to bindep, these are needed for building
  some requirements

Change-Id: Ia78b92c3b807623e70d85c3bce44e3b7011ca282
2020-04-17 21:48:40 +02:00
Ghanshyam Mann 8711c071c5 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

masakari-monitors 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: Id27862284d34f6585881da39c0385cda91959b93
2020-01-23 17:29:04 +00:00
Corey Bryant b7cdcb0964 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Co-Authored-By: gujin <gu.jin@99cloud.net>
Change-Id: I4585d250117f19cca577b2e3aaa74aba7ec73e9b
Story: #2005924
Task: #34221
2019-08-26 21:53:29 +05:30
jayashri bidwe ae3ab24f9a Remove deprecated shell scripts
As per deprecation notes [1], removed all unused shell
scripts from hostmonitor and processmonitor.

[1]: https://docs.openstack.org/releasenotes/masakari-monitors/ocata.html

Change-Id: I93761ce4685c258058cb2d6b2ccb2323636f33ff
2019-06-19 10:27:22 +05:30
Ghanshyam Mann d853db3b34 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: Ib1c5f2f6740d4c227ce5493afa545b62ff1f3c45
2019-04-14 23:23:25 +00:00
Louie KWAN a680e323b8 Introspective Instance Monitoring through QEMU Guest Agent
https://blueprints.launchpad.net/masakari/+spec/introspective-instance-monitoring

Currently, Masakari instance monitoring is strictly black-box
type monitoring through qemu and libvirt. There are however a number of
internal instance/VM faults, that if monitored and detected by Masakari,
could be recovered by existing Masakari auto-recovery mechanisms; increasing
the overall availability of the instance/VM. This blueprint introduces the
capability of performing introspective instance monitoring of VMs, in order
to detect, report and optionally recover VMs from internal VM faults.
Specifically, VM Heartbeating Monitoring via the QEMU Guest Agent.

Change-Id: I9efc6afc8d476003d3aa7fee8c31bcaa65438674
Implements: blueprint introspective-instance-monitoring
2018-07-12 14:02:34 +00:00
Dinesh Bhor 5f59145276 Use os-testr and add PY35 support
masakari-monitors should use os-testr instead of testr as
it is more powerful and provide much prettier output than testr.

This patch also disables the use of PY34 and adds PY35 for in tox
as the gating on python 3.4 is restricted to <= Mitaka in OpenStack.
This is due to the change from Ubuntu Trusty to Xenial, where only
python3.5 is available. Python 3 don't have 'file' builtin method so
to make it compatible with Python 2 and 3 used 'open' builtin method.
Also fixed the failing test cases due to that.

Change-Id: Ib84b0b28a845e49eaef969d0fc995b1adbb7b29d
2017-07-26 16:19:24 +05:30
Kengo Takahara 00a1bd3242 Remove data_files definition from setup.cfg
data_files definition of setup.cfg is unnecessary.
This patch removes the data_files definition of setup.cfg.

Change-Id: I224ae8b99c78ed1f3e1853047e1e50ff56ac5b6b
Closes-Bug: #1665524
2017-02-24 16:30:14 +09:00
Kengo Takahara 191724d60d Add implement of loading hostmonitor driver
This pathc adds implementation of loading hostmonitor driver
using stevedore.

Change-Id: I29666484b35cb5f295b0ab183e9bb3cbbcc28d21
Implements: bp pythonize-host-and-process-monitor
2017-02-06 11:00:07 +00:00
Kengo Takahara 6a6cc0a892 Add python hostmonitor only main process
Implement python hostmonitor with only main process.

Change-Id: Ie55067f051686b6f8c7c6803c1e78c73bb2bba8a
Implements: bp pythonize-host-and-process-monitor
2017-02-06 10:59:53 +00:00
Kengo Takahara 1d852ff626 Add python processmonitor only main process
Implement python processmonitor with only main process.

Change-Id: I77288ac1e5814d196b25c5b36ec5e448845d20fc
Implements: bp pythonize-host-and-process-monitor
2017-02-01 04:39:59 +00:00
Kengo Takahara 6d2e05a664 Add the start scripts of processmonitor and hostmonitor
This patch adds the start scripts of masakari-processmonitor
and masakari-hostmonitor.

Change-Id: I40eea294aafc96c44b197401fba08ac3cdfe5f9e
Closes-Bug: #1655844
2017-01-12 16:07:31 +09:00
Kengo Takahara dcb3211050 Add a mechanism to use the oslo libraries
Implement a mechanism for masakarimonitors to use oslo.log,
oslo.config and oslo.service.

Change-Id: I3e933d339b0998468464c6a804fff623f37afd55
2016-11-07 02:36:51 +00:00
Sampath Priyankara bb3728c9cc Initial Cookiecutter Commit.
Change-Id: I3a5df63fc0b4486bed457b7d42cd5d2b873fd307
2016-11-01 13:46:13 +09:00