Commit Graph

14 Commits

Author SHA1 Message Date
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
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
Zuul 8004733630 Merge "Switch to newer openstackdocstheme and reno versions" 2020-08-29 08:52:45 +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
Ghanshyam Mann ce1efa1f2b Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I44a291ecc66588ac5b61b18d4197ec708cd5d69f
2020-05-12 19:28:44 -05:00
Zuul e2942167cc Merge "Cleanup py27 support" 2020-04-21 03:17:36 +00:00
suzhengwei f317a24a25 reset nova-compute process name
In masakari-engine, it enable/disable nova-compute service
by the process name. So process-monitor need to reset
the nova process name to "nova-compute" when trigger
process notification.

Change-Id: Ia6f22bd1d183093bb0345f323a80268fb62df388
Close-Bug: #1858757
2020-04-21 09:27:16 +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
Andreas Jaeger 64e2b887db Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Update local hacking checks to work with newer flake8.

Remove hacking and friends from lower-constraints, they're
not needed for installation.

Change-Id: Ic7903c61bde999685ca26b5a10d070c8d8d206a3
2020-04-01 21:07:40 +02:00
OpenStack Proposal Bot 34d185deee Updated from global requirements
Change-Id: Iabf9002261c8e828a4d92b2dfb11292c2e674247
2018-03-26 08:08:05 +00:00
OpenStack Proposal Bot dc6d5c3862 Updated from global requirements
Change-Id: I97e1d7ea5545bdcfb7b731c2fb120333121f3d44
2018-03-13 06:59:39 +00:00
OpenStack Proposal Bot cde057bc68 Updated from global requirements
Change-Id: I77a73d35df9009d0bc9ad64d919e47d7dc1c749a
2017-08-11 11:52:33 +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
Sampath Priyankara bb3728c9cc Initial Cookiecutter Commit.
Change-Id: I3a5df63fc0b4486bed457b7d42cd5d2b873fd307
2016-11-01 13:46:13 +09:00