[Bug 2155240] [NEW] masakari-hostmonitor fails to start: masakarimonitors.cmd not installed
Guillaume Boutry
2155240 at bugs.launchpad.net
Thu Jun 4 09:59:09 UTC 2026
Public bug reported:
On resolute with masakari-monitors 21.0.0-0ubuntu1, the host monitor
fails immediately on startup:
Traceback (most recent call last):
File "/usr/bin/masakari-hostmonitor", line 6, in <module>
from masakarimonitors.cmd.hostmonitor import main
ModuleNotFoundError: No module named 'masakarimonitors.cmd'
Static inspection of the source package points to the 21.0.0 metadata
move to pyproject.toml. The current [tool.setuptools] section lists
only:
packages = ["masakarimonitors"]
With setuptools/pyproject metadata this does not install subpackages
such as masakarimonitors.cmd, masakarimonitors.hostmonitor, etc. The
console script is still generated, but its target module is missing from
the installed Python package.
Expected result:
masakari-hostmonitor starts, or at least imports masakarimonitors.cmd.hostmonitor successfully.
More over, autopkgtests fail with:
autopkgtest [11:55:53]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import masakari_monitors; print(masakari_monitors)" ; done
autopkgtest [11:55:53]: test autodep8-python3: [-----------------------
Testing with python3.14:
Traceback (most recent call last):
File "<string>", line 1, in <module>
import masakari_monitors; print(masakari_monitors)
^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'masakari_monitors'
** Affects: masakari-monitors (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to masakari-monitors in Ubuntu.
https://bugs.launchpad.net/bugs/2155240
Title:
masakari-hostmonitor fails to start: masakarimonitors.cmd not
installed
Status in masakari-monitors package in Ubuntu:
New
Bug description:
On resolute with masakari-monitors 21.0.0-0ubuntu1, the host monitor
fails immediately on startup:
Traceback (most recent call last):
File "/usr/bin/masakari-hostmonitor", line 6, in <module>
from masakarimonitors.cmd.hostmonitor import main
ModuleNotFoundError: No module named 'masakarimonitors.cmd'
Static inspection of the source package points to the 21.0.0 metadata
move to pyproject.toml. The current [tool.setuptools] section lists
only:
packages = ["masakarimonitors"]
With setuptools/pyproject metadata this does not install subpackages
such as masakarimonitors.cmd, masakarimonitors.hostmonitor, etc. The
console script is still generated, but its target module is missing
from the installed Python package.
Expected result:
masakari-hostmonitor starts, or at least imports masakarimonitors.cmd.hostmonitor successfully.
More over, autopkgtests fail with:
autopkgtest [11:55:53]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import masakari_monitors; print(masakari_monitors)" ; done
autopkgtest [11:55:53]: test autodep8-python3: [-----------------------
Testing with python3.14:
Traceback (most recent call last):
File "<string>", line 1, in <module>
import masakari_monitors; print(masakari_monitors)
^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'masakari_monitors'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/masakari-monitors/+bug/2155240/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list