[Bug 2155240] Re: masakari-hostmonitor fails to start: masakarimonitors.cmd not installed

Launchpad Bug Tracker 2155240 at bugs.launchpad.net
Wed Jun 17 11:30:44 UTC 2026


** Merge proposal linked:
   https://code.launchpad.net/~gboutry/ubuntu/+source/masakari-monitors/+git/masakari-monitors/+merge/506754

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/2155240

Title:
  masakari-hostmonitor fails to start: masakarimonitors.cmd not
  installed

Status in Ubuntu Cloud Archive gazpacho series:
  New
Status in masakari-monitors package in Ubuntu:
  Fix Released
Status in masakari-monitors source package in Resolute:
  New
Status in masakari-monitors source package in Stonking:
  Fix Released

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/cloud-archive/gazpacho/+bug/2155240/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list