Commit Graph

268 Commits

Author SHA1 Message Date
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
Zuul 782a940480 Merge "Update python classifier in setup.cfg" 2024-02-18 07:33:13 +00:00
Vasyl Saienko f4769d3177 Honor libvirt.connection_uri in introspectivemonitor
Do not use default uri, pick up from parameters.

Change-Id: I8620aeab224ab37096656d20c4bcc3fe7e7f3f18
2024-02-13 16:36:14 +00:00
Vasyl Saienko b89aeeea88 [introspectivemonitor] Fix syntax for python3
Change-Id: I4810e852d7fbf6c0140ab64414eed63f93d3f956
2024-02-13 16:36:06 +00:00
Zuul 2d0e36eb1c Merge "Fix pep8 for new hacking" 2024-01-29 08:59:29 +00:00
Zuul b85834c8a8 Merge "Update master for stable/2023.2" 2024-01-29 07:56:41 +00:00
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
Vasyl Saienko 185003f7dc Fix pep8 for new hacking
Change-Id: I0bf55e6289fdbfcb6c564976f9040278fc8f9d71
2023-11-29 14:19:17 +02:00
Vasyl Saienko 58cbb346ef Honor test-requirements.txt for pep8 checks
Setup requirements for pep8 checks according to specification
in test-requirements.txt. Is needed to pin hacking.

Change-Id: I6fb44a1e42181cb56e8206783c9681d7eb49e060
2023-09-26 08:40:49 +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
suzhengwei cf646dfce2 not retry to send notification for specific http exception
When the host not added in the failover segment, it will raise 400(host
with name *** could not be found). It should not retry to send
notification in this case.

Change-Id: I24a6aba97b834ae92dabe85196f01d27bb518b3c
2023-01-04 11:41:33 +08:00
Radosław Piliszek f8f5bc103d Fix tox4 issues
New tox version 4 has changed interpretation of tox.ini

The passenv parsing requires the list to be comma-separated.
Since the names are case-insensitive, duplicates are removed.

skipsdist is now a synonym of no_package and avoids the
installation of the package in all cases.
However, some environments require it (for setup metadata).

Fix allowlist_externals where appropriate.

Change-Id: I929afe0d13a64caac5abf15a16d56fdb713537e5
2022-12-25 15:57:25 +00:00
Radosław Piliszek 146652e6bb [CI] Move queue setting to project level
Per [1] and [2].

[1] http://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html
[2] https://lists.openstack.org/pipermail/openstack-discuss/2022-September/030505.html

Change-Id: I0e3af06a2d80a0408035a564490d683f9191995b
2022-09-19 14:14:02 +00:00
OpenStack Release Bot d911b4fc0f Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I1c2bd7a915d8794d81dfc8c873168c95878e33d6
2022-09-13 12:35:33 +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
Takashi Natsume afcf34decc Use daemon property instead of setDaemon method
The setDaemon method of the threading.Thread was deprecated
in Python 3.10 (*).
Replace the setDaemon method with the daemon property.

*: https://docs.python.org/3.10/library/threading.html#threading.Thread.setDaemon

Change-Id: I643251c0394b8e8ede8198f580549ef6f260a9de
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2022-08-24 23:30:42 +09:00
Zuul b42b5e5b54 Merge "Update python testing as per zed cycle testing runtime" 2022-05-20 01:44:10 +00:00
Zuul 79fc5c9d26 Merge "Libvirt auth support" 2022-05-18 10:09:25 +00: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 1392f8514b Merge "Fix typo" 2022-05-18 09:25:19 +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
Maksim Malchuk cd245c7a3d CI: Fix issue with absent stestr
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
Change-Id: If115f529e042c47807006a1e6b42024da205bde0
2022-05-13 15:14:16 +03:00
Hervé Beraud fae39fc723 Fix typo
Change-Id: Ie01fd90260cc92fe167609ad85f78b8fa0975319
2022-05-12 16:10:08 +02:00
OpenStack Release Bot f46f67be1a Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I3117872c091b60446771ec0239032c0e3f3280b7
2022-03-10 08:00:12 +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
Zuul 89c067a4d8 Merge "connection too much when large scale failure" 2022-02-28 08:39:59 +00:00
Takashi Kajinami 741cffdfe7 Use LOG.warning instead of deprecated LOG.warn
The LOG.warn method is deprecated[1] and the LOG.warning method should
be used instead.

[1] https://docs.python.org/3/library/logging.html#logging.warning

Change-Id: I7e3dc5d1897cd10b94e0a5a5a06db667cba7d443
2022-01-28 09:05:39 +09:00
sue 4ecfb34a09 connection too much when large scale failure
When large scale failure, there would be too many host or instance
failure notifications in a very short time. Each time when one
notification to be sent to masakari, it needs to make client, which
brings great pressure to keystone.

This patch keep the client reusable when it is made. Until exception
it will be made again.

Change-Id: I39795bc796d3e2402881b8116cdc241aa2d60a9f
2022-01-26 15:19:25 +08:00
dengzhaosen 45adf21e01 Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime has been updated to add py39
testing as voting.

Change-Id: Ia9712770714d95c01ab2b8694e624885c2023926
2021-12-24 09:12:50 +08: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
zhaoleilc 50677c2ca8 Fix a typo
This patch fixes a typo.

Change-Id: Ib72b08823e6a086ef0efbb956a3c2cdb4366c217
2021-12-10 17:28:43 +08:00
zhaoyixin 5198a3c910 Fix some typos
This patch fixes some typos.

Closes-Bug: #1949540
Change-Id: Iddb519719f3aca80286e9ca1666040ac202e037e
2021-11-03 10:47:30 +08:00
Zuul 54f560f88a Merge "Fix home_page in setup.cfg" 2021-09-15 18:14:30 +00:00
Zuul 8143920095 Merge "Add Python3 yoga unit tests" 2021-09-15 17:06:52 +00:00
Zuul 529315bd77 Merge "Update master for stable/xena" 2021-09-15 17:06:44 +00:00
Radosław Piliszek 8af96ce367 Fix home_page in setup.cfg
Change-Id: I0b5d49bd974d1dc8d78ff8f2ad87314e2b2e067f
2021-09-15 16:42:28 +00:00
Thomas Goirand 7bece96965 Add note for package maintainers in requirements.txt
Change-Id: I7549ea76acd6ac12efa12fd53ef8b52220effc59
2021-09-15 14:28:07 +02:00
OpenStack Release Bot af0f140516 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ic01adf80d034d50ecec0d98f135e25fffc596356
2021-09-15 01:57:59 +00: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 4b99f7574c [CI] Gate on the same jobs as Masakari
This also reuses the "masakari" queue.

This is to ensure changes in masakari-monitors do not accidentally
break the DevStack deployment plugin in masakari.

Depends-On: https://review.opendev.org/c/openstack/masakari/+/806432
Depends-On: https://review.opendev.org/c/openstack/masakari/+/806440
Depends-On: https://review.opendev.org/c/openstack/masakari/+/806438
Change-Id: Id838cee5346930f3ecb096d92368710b9a4b76bc
2021-08-30 18:33:58 +00:00
Zuul 87732e6237 Merge "Deprecate masakari-processmonitor" 2021-08-30 07:59:07 +00:00
Radosław Piliszek 1cee543f93 [CI] Run cover jobs
Like in masakari.

Change-Id: Id954a1c0e61b9b4927f3f7b34bf8f80a1686e75b
2021-08-27 17:35:34 +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
Zuul 9245963260 Merge "Use some better linting" 2021-08-19 09:26:34 +00:00
Zuul 1ddc821bdc Merge "Generate PDF documentation" 2021-08-19 08:48:19 +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