Bug 37903 - Не хватает зависимости на python3-module-mako
Summary: Не хватает зависимости на python3-module-mako
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python-module-pecan (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Lenar Shakirov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-22 16:37 MSK by Alexander Makeenkov
Modified: 2020-01-22 23:42 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2020-01-22 16:37:26 MSK
Версия пакета: ceph-mgr-restful-14.2.6-alt1
Система: ALT Server x86_64

На один из хостов настроенного кластера устанавливаю пакет ceph-mgr-restful и перезагружаю сервис ceph-mgr@. В journalctl появляются ошибки:

янв 22 16:23:14 node1 ceph-mgr[3471]: 2020-01-22 16:23:14.448 7fca9fb44d00 -1 mgr[py] Module not found: 'restful'
янв 22 16:23:14 node1 ceph-mgr[3471]: 2020-01-22 16:23:14.448 7fca9fb44d00 -1 mgr[py] Traceback (most recent call last):
янв 22 16:23:14 node1 ceph-mgr[3471]:   File "/usr/lib/python3/site-packages/pecan/middleware/debug.py", line 14, in <module>
янв 22 16:23:14 node1 ceph-mgr[3471]:     from backlash.debug import DebuggedApplication
янв 22 16:23:14 node1 ceph-mgr[3471]: ModuleNotFoundError: No module named 'backlash'
янв 22 16:23:14 node1 ceph-mgr[3471]: During handling of the above exception, another exception occurred:
янв 22 16:23:14 node1 ceph-mgr[3471]: Traceback (most recent call last):
янв 22 16:23:14 node1 ceph-mgr[3471]:   File "/usr/share/ceph/mgr/restful/__init__.py", line 1, in <module>
янв 22 16:23:14 node1 ceph-mgr[3471]:     from .module import Module
янв 22 16:23:14 node1 ceph-mgr[3471]:   File "/usr/share/ceph/mgr/restful/module.py", line 21, in <module>
янв 22 16:23:14 node1 ceph-mgr[3471]:     from pecan import jsonify, make_app
янв 22 16:23:14 node1 ceph-mgr[3471]:   File "/usr/lib/python3/site-packages/pecan/__init__.py", line 8, in <module>
янв 22 16:23:14 node1 ceph-mgr[3471]:     from .middleware.debug import DebugMiddleware
янв 22 16:23:14 node1 ceph-mgr[3471]:   File "/usr/lib/python3/site-packages/pecan/middleware/debug.py", line 32, in <module>
янв 22 16:23:14 node1 ceph-mgr[3471]:     from mako.template import Template
янв 22 16:23:14 node1 ceph-mgr[3471]: ModuleNotFoundError: No module named 'mako'
янв 22 16:23:14 node1 ceph-mgr[3471]: 2020-01-22 16:23:14.449 7fca9fb44d00 -1 mgr[py] Class not found in module 'restful'
янв 22 16:23:14 node1 ceph-mgr[3471]: 2020-01-22 16:23:14.449 7fca9fb44d00 -1 mgr[py] Error loading module 'restful': (2) No such file or directory
янв 22 16:23:14 node1 ceph-mgr[3471]: 2020-01-22 16:23:14.785 7fca9fb44d00 -1 log_channel(cluster) log [ERR] : Failed to load ceph-mgr modules: restful

Если установить пакет python3-module-mako, то ошибка не воспроизводится.
Comment 1 Alexey Shabalin 2020-01-22 23:42:18 MSK
Исправил в пакете python-module-pecan-1.3.3-alt1.