Commit Graph

42 Commits

Author SHA1 Message Date
Zuul 65eb41d099 Merge "reno: Update master for unmaintained/wallaby" 2024-04-10 13:16:46 +00:00
Zuul 198e05de22 Merge "reno: Update master for unmaintained/xena" 2024-04-10 13:16:45 +00:00
Zuul ca1d72f6de Merge "reno: Update master for unmaintained/victoria" 2024-04-10 13:16:44 +00:00
OpenStack Release Bot 0a28779d93 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: I2241227bdfc49f42c38a4e4720b1b4403700ab4e
2024-03-14 07:13:19 +00:00
OpenStack Release Bot ce603444bb reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Ifb5aaaa7c133cdcd1fed6d1906f0f96d92431bd1
2024-03-05 18:25:20 +00:00
OpenStack Release Bot 5617fd6556 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Iea49138b8fa5a05cd1c0f98d47448da3397db763
2024-03-05 18:24:39 +00:00
OpenStack Release Bot 2a519fa5c7 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I945543061c49a6624f5e4b119d45040b821ffc27
2024-03-05 18:23:55 +00:00
OpenStack Release Bot ca1dd3cec2 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I946bc9f843b4f2701ebf5dbfd26f8b681c1383f4
2023-09-15 13:54:31 +00:00
OpenStack Release Bot 4aa998d492 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: I1c2ebb1beeebc2b764fa242bcc76452af371ab48
2023-02-28 13:33:26 +00:00
OpenStack Release Bot 81281540c2 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I288daacb023570eb47822ba5a2392b390fa61dc0
2022-09-13 12:35:32 +00:00
Maksim Malchuk 7a44244f25 Libvirt auth support
Related-Bug: #1965754
Change-Id: I46f63de4b8ca8e5acd5db9cb8b0d2e13393d666c
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2022-05-13 15:15:20 +00:00
OpenStack Release Bot 723171a04a Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: I4f80fbd6a0fee7dc691629a4aa43e1fb043514df
2022-03-10 08:00:11 +00: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
OpenStack Release Bot 71cc4b1f09 Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: Ie6e7755350983bb26a7c73ba958fbb4b8bc7eed4
2021-09-15 01:57:58 +00:00
Radosław Piliszek c2d9a4f9cb Fix hostmonitor to respect quorum
Both cibadmin-based and crm_mon-based host status queryings were
affected, allowing partitioned cluster to tell Masakari to
evacuate hosts from the other partition (which nota bene include
all remotes if applicable).

Closes-Bug: #1878548
Change-Id: I0b1ca8a011ee4da162a2c3a986c1dab9a3d38190
2021-09-13 19:27:52 +00:00
Radosław Piliszek 2e8f43ffcf Deprecate masakari-processmonitor
Per [1].

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-August/024306.html

Change-Id: I9353fed420292123654fdf17ca3bb87dfea84e1d
2021-08-27 16:35:36 +00:00
Radosław Piliszek 9a351efcec Use pre-provided libvirt-python
This is to satisfy both libvirtd compatibility and recent pip
sanity checks that started failing in DevStack jobs after [1],
impacting the main Masakari gate.

[1] https://review.opendev.org/c/openstack/devstack/+/802642

Change-Id: I448b9d2535bfaffa5a3bb77307baa0527a005144
2021-08-18 09:03:23 +00:00
sue e7154f3d77 Fix hostmonitor hanging forever after certain exceptions
The hostmonitor, like other Masakari monitors, starts as an
Oslo service (based on eventlet). The main thread is supposed
to run a loop that has an internal wait mechanism (instead of
reusing periodic_tasks from oslo_service). However, the loop
could be broken, if an unexpected exception appeared, and it
never ran again but the process was still alive (due to
oslo_service not stopping). The example mentioned in the bug
report is about unavailability of the Masakari API (and/or
Keystone API) before notification sending. This exception is
not caught early because SendNotification._make_client is
called outside of the try block (unlike the actual notification
sending). The exception bubbles up and stops the main loop,
leaving a useless hostmonitor process. The user is unaware
unless they notice the logs are no longer growing.

While the general design begs for a revamp (we might get away
with that by using Consul in the first place), the easy fix is
to prevent exceptions breaking the loop completely so that the
hostmonitor can continue to work and try to regain health.
At the very least it will keep posting ERROR messages in the log
which is more likely to be spotted in comparison to lack of logs
(which is, unfortunately, less commonly considered an alerting
situation).

This change also fixes, adapts and robustifies the two relevant
unit tests.

Closes-Bug: #1930361
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Change-Id: I7e3447dcddc7998e3e3c30f4f0019d91a99c79ce
2021-07-23 14:30:23 +00:00
Radosław Piliszek f5d2eeff93 Fix one reno
Change-Id: I9ca9854832e1a3f4a8af5089e5dff1377cecb9da
2021-03-27 18:32:10 +00:00
OpenStack Release Bot fe59bda67a Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.

Sem-Ver: feature
Change-Id: I3479664b937e2ba65c77f377d04f694f7830cf07
2021-03-26 15:55:19 +00:00
Zuul 12d67aede4 Merge "Drop CAP_NET_ADMIN" 2021-03-25 17:04:47 +00:00
Zuul 22059afc26 Merge "Repeated check to determine host status" 2021-03-24 01:33:26 +00:00
suzhengwei 987584a1c6 Repeated check to determine host status
The original test is adapted because the code now no longer
overwrites the same status.

Change-Id: Ic77f932f56974a66a092b15b0d211efd73b9fc9c
Implements: bp retry-check-when-host-failure
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2021-03-22 20:36:40 +00:00
Mark Goddard 0cdbb23587 [hostmonitor] Add pacemaker_node_type option
When running in a container, it might not be possible to use systemd
to verify the status of Corosync and Pacemaker.
In such case, allow the user to choose the stack being used.

Change-Id: I44ce3be6b6fda3834f6df63861b0dcf546da46a1
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2021-03-22 16:43:25 +00:00
Radosław Piliszek 07bd41f0b4 Drop CAP_NET_ADMIN
It is not required for performing monitors' duties.

Change-Id: Ib1297ce6e4fca0bfcb82d32b3669475d2011fbe1
2021-03-21 19:10:19 +00:00
XinxinShen 9768c7dacd remove unicode from code
Change-Id: I41eec434ef141764fa8f8f0dcafd3dfe3f1ee6b9
2021-01-05 14:28:09 +08:00
OpenStack Release Bot 7f85cb6379 Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: Ic5ab862a936af4d096116f6da0e0d9e0a174bccb
Sem-Ver: feature
2020-09-28 15:48:28 +00:00
Andreas Jaeger 3e93eab356 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.

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.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

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: I4d11b986ed6ce54fbc2b08234c061041099b709e
2020-05-31 18:04:55 +02:00
OpenStack Release Bot aac415de58 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: I0dc84d0afb9be10d9e10e5a932fed66a3f4d797f
Sem-Ver: feature
2020-04-23 15:43:18 +00:00
Zuul 5f712ad968 Merge "Use hostname to avoid clash with section" 2020-03-31 08:02:26 +00:00
Liam Young 8cb4de9e65 Use hostname to avoid clash with section
Switch to using 'hostname' rather than 'host' to specify the
Hostname, FQDN or IP address of this host. This is to avoid a
clash with a section of the same name *1

*1 https://github.com/openstack/masakari-monitors/blob/master/masakarimonitors/conf/host.py#L87

Change-Id: I7d95b063c2eabbd8893857b5e1e7d342db0aebec
Closes-Bug: #1866660
2020-03-30 09:21:03 +01: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
OpenStack Release Bot 51bf4d58be Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I935077185cf9fc66318a3b22d3315812bb916231
Sem-Ver: feature
2019-09-27 17:34:13 +00:00
Sean McGinnis 5de07cf22d
Switch from oslosphinx to openstackdocstheme
The oslosphinx package is not compatible with the current Sphinx 2.0.
This switches over to use the preferred and supported openstackdocstheme
instead.

Change-Id: I51787933d32ddb34cc879790334d44c325edb3db
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-04-10 07:41:26 -05:00
OpenStack Release Bot 5b338058ab Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: Id70650a393b233d2a98d4adcd363e170f218a722
Sem-Ver: feature
2019-03-22 16:45:21 +00:00
OpenStack Release Bot 1a7d74419d Update reno for stable/rocky
Change-Id: Ia91f6ff0564a7b7bbc406cb4f1260339d3f13693
2018-08-10 16:42:04 +00:00
Zuul 6c3ac11192 Merge "Fix stable branch releasenotes" 2018-07-18 01:06:17 +00:00
shilpa.devharakar 22925f1ee6 Fix stable branch releasenotes
This patch fixes stable branch releasenotes by adding respective source
files.

Change-Id: I2cbeb3fd324e16d10ed8f3945a67849cad914f0e
Closes-Bug: #1781239
2018-07-12 20:04:27 +05:30
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
Kengo Takahara b239514cbd Add warning messages about deprecation to process/host monitor
This patch adds warning messages to process/host monitor,
and adds a release note about process/host monitor.

Change-Id: I6527438fca457eb2ec6d7ca224520d7a8748394e
Implements: bp pythonize-host-and-process-monitor
2017-02-15 11:16:01 +00:00
Sampath Priyankara bb3728c9cc Initial Cookiecutter Commit.
Change-Id: I3a5df63fc0b4486bed457b7d42cd5d2b873fd307
2016-11-01 13:46:13 +09:00