We are happy to announce the release of: masakari-monitors 12.0.0: Monitors for Masakari This release is part of the xena release series. The source is available from: https://opendev.org/openstack/masakari-monitors Download the package from: https://tarballs.openstack.org/masakari-monitors/ Please report issues through: https://bugs.launchpad.net/masakari-monitors/+bugs For more details, please see below. 12.0.0 ^^^^^^ Bug Fixes * Fixes hostmonitor reporting hosts down because of Pacemaker cluster partitioning. Now hostmonitor properly respects the status of Pacemaker cluster quorum. LP#1878548 Changes in masakari-monitors 11.0.0..12.0.0 ------------------------------------------- c2d9a4f Fix hostmonitor to respect quorum 4b99f75 [CI] Gate on the same jobs as Masakari 1cee543 [CI] Run cover jobs 2e8f43f Deprecate masakari-processmonitor 9a351ef Use pre-provided libvirt-python 18c79eb Use some better linting 80ee534 Generate PDF documentation 5299d5f [doc] Add config reference guide 339218d move DriverBase to the base dir fe85b8d [doc] Add masakari monitors usage fe4e094 Remove conditionals for an ancient openstacksdk e7154f3 Fix hostmonitor hanging forever after certain exceptions 31f5b47 Fix typos 76d9e89 Fix several code comment errors in process monitor. 6a496e7 Replace "split(' ')" with "split()" in masakari-monitors fe5247c [community goal] Update contributor documentation b558651 setup.cfg: Replace dashes with underscores f5d2eef Fix one reno b320863 Add Python3 xena unit tests fe59bda Update master for stable/wallaby 1087a38 Replaces yaml.load() with yaml.safe_load() Diffstat (except docs and test files) ------------------------------------- .gitignore | 6 ++ .yamllint | 8 +++ .zuul.yaml | 15 +++- CONTRIBUTING.rst | 22 +++--- HACKING.rst | 2 +- bindep.txt | 12 +++- masakarimonitors/ha/masakari.py | 11 +-- .../hostmonitor/{host_handler => }/driver.py | 0 .../hostmonitor/host_handler/handle_host.py | 32 +++++---- .../hostmonitor/host_handler/parse_cib_xml.py | 2 +- .../hostmonitor/host_handler/parse_crmmon_xml.py | 22 ++++++ .../introspectiveinstancemonitor/README.rst | 4 +- masakarimonitors/processmonitor/process.py | 2 +- .../process_handler/handle_process.py | 8 +-- .../hostmonitor/host_handler/test_handle_host.py | 83 +++++++++++++--------- .../host_handler/test_parse_crmmon_xml.py | 23 ++++++ ...y-check-when-host-failure-78649c512ef79199.yaml | 8 ++- .../notes/bug-1878548-5fab31aec6ba5407.yaml | 7 ++ .../notes/bug-1930361-fa8ce8e9781ea967.yaml | 5 ++ .../deprecate-processmonitor-95c8aefbc749c1ed.yaml | 7 ++ .../libvirt-still-required-22a8d817ee8d0be8.yaml | 11 +++ releasenotes/source/index.rst | 1 + releasenotes/source/wallaby.rst | 6 ++ requirements.txt | 8 ++- setup.cfg | 8 +-- test-requirements.txt | 10 +++ tox.ini | 46 ++++++++++++ 40 files changed, 654 insertions(+), 119 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index c4347be..96f6a4b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7 +6,0 @@ keystoneauth1>=3.4.0 # Apache-2.0 -libvirt-python>=6.0.0 # LGPLv2+ @@ -19,0 +19,7 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 + +# Due to the nature of libvirt-python package, in DevStack we use the one +# provided in the distro alongside libvirtd - to ensure the two are compatible, +# and also to avoid the pip error when it tries to uninstall the distro version +# (installed in such a way for Nova in DevStack). +# Do note libvirt-python is used only for instance-oriented monitors, so, e.g., +# it is not used by any host monitor. diff --git a/test-requirements.txt b/test-requirements.txt index edf3398..e795de4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -14,0 +15,10 @@ ddt>=1.0.1 # MIT + +# Due to the nature of libvirt-python package, in DevStack we use the one +# provided in the distro alongside libvirtd - to ensure the two are compatible, +# and also to avoid the pip error when it tries to uninstall the distro version +# (installed in such a way for Nova in DevStack). +# Do note libvirt-python is used only for instance-oriented monitors, so, e.g., +# it is not used by any host monitor. +# TODO(yoctozepto): Refactor code to not require libvirt-python for unit tests, +# basically following how it is handled in nova-compute and ceilometer-compute. +libvirt-python>=6.0.0 # LGPLv2+