Homeproj: Redmine for CESNET: Issueshttps://homeproj.cesnet.cz/https://homeproj.cesnet.cz/httpauth-login/favicon.ico?16194486082022-02-15T16:42:27ZHomeproj: Redmine for CESNET
Redmine Mentat - Bug #7559 (New): Mentat import pipeline running after reboot while disabledhttps://homeproj.cesnet.cz/issues/75592022-02-15T16:42:27ZRadko Krkoškrkos@cesnet.cz
<p>The DB upgrade procedure, as described in <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Support: Upgrade PostgreSQL to v14 (Closed)" href="https://homeproj.cesnet.cz/issues/7555">#7555</a>, allows for reboot in step 9, if the circumstances require it. During execution on <code>mentat-hub</code>, after the reboot, the Mentat's import pipeline (the daemons) were running. No data was actually imported as the <code>warden-filer</code> was disabled at <code>systemctl</code> level (and the issue described in <a class="issue tracker-1 status-1 priority-4 priority-default" title="Bug: Spool dir is sometimes created with wrong privileges on start (New)" href="https://homeproj.cesnet.cz/issues/7121">#7121</a> also surfaced).<br />In step 1, Mentat is stopped and disabled using <code>mentat-controller.py</code>, so there seems to be some inconsistency. Should those two steps actually be enough to prevent the pipeline from running?<br />Setting low priority as this is actually a very rare scenario.</p> Mentat - Feature #7550 (New): A way to load additional data for IPs in 'Show event' in bulkhttps://homeproj.cesnet.cz/issues/75502022-01-27T06:26:09ZRadko Krkoškrkos@cesnet.cz
<p>Currently, only the first 20 entries in each host section are loaded in the dialog. Others have to be loaded manually one by one, not fun for events containing many addresses. The rate limiting is reasonable, but a way to load information for all the hosts would be very helpful.</p> Mentat - Bug #7108 (New): Hawat's babel.cfg is missing from deb installationhttps://homeproj.cesnet.cz/issues/71082021-03-08T15:55:46ZPavel Káchaph@cesnet.cz
<p>According to <a href="https://alchemist.cesnet.cz/mentat/doc/production/html/_doclib/development.html?highlight=babel#internationalization-and-translations" class="external">doc</a>, administrator should be able to locally change template texts along with appropriate localizations. However, needed Makefile falls flat because of missing ./lib/hawat/babel.cfg:</p>
<pre>
(venv) root@mentat-hub:/var/mentat/venv/lib/python3.7/site-packages/hawat# make hpybabel-update
...
*** Updating translations for Hawat user interface *** .
Traceback (most recent call last):
File "/var/mentat/venv/bin/pybabel", line 8, in <module>
sys.exit(main())
File "/var/mentat/venv/lib/python3.7/site-packages/babel/messages/frontend.py", line 929, in main
return CommandLineInterface().run(sys.argv)
File "/var/mentat/venv/lib/python3.7/site-packages/babel/messages/frontend.py", line 853, in run
return cmdinst.run()
File "/var/mentat/venv/lib/python3.7/site-packages/babel/messages/frontend.py", line 438, in run
mappings = self._get_mappings()
File "/var/mentat/venv/lib/python3.7/site-packages/babel/messages/frontend.py", line 502, in _get_mappings
with open(self.mapping_file, po_file_read_mode) as fileobj:
FileNotFoundError: [Errno 2] No such file or directory: './babel.cfg'
make: *** [Makefile:134: hpybabel-update] Error 1
</pre>