root@debian:~# sudo cp /etc/php/8.2/fpm/php-fpm.conf.dpkg-new /etc/php/8.2/fpm/php-fpm.conf
root@debian:~# sudo omv-salt deploy run phpfpm nginx
debian:
Data failed to compile:
----------
Rendering SLS 'base:omv.deploy.monit.20configure' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 37
---
[...]
# http://www.debianadmin.com/monitoring-debian-servers-using-monit.html
# http://www.uibk.ac.at/zid/systeme/linux/monit.html
# http://wiki.ubuntuusers.de/Monit
# http://viktorpetersson.com/2010/07/09/setting-up-monit-to-monitor-apache-and-postgresql-on-ubuntu
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %}<======================
configure_default_monit:
file.managed:
- name: "/etc/default/monit"
- contents:
[...]
---
----------
Rendering SLS 'base:omv.deploy.monit.services.collectd' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set perfstats_config = salt['omv_conf.get']('conf.system.monitoring.perfstats') %} <======================
{% if perfstats_config.enable | to_bool %}
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %}
{% set notification_config = salt['omv_conf.get_by_filter'](
[...]
---
----------
Rendering SLS 'base:omv.deploy.monit.services.filesystem' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get_by_filter'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set notification_config = salt['omv_conf.get_by_filter']( <======================
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitfilesystems'})[0] %}
{% if notification_config.enable | to_bool %}
[...]
---
----------
Rendering SLS 'base:omv.deploy.monit.services.nginx' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set webadmin_config = salt['omv_conf.get']('conf.webadmin') %} <======================
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %}
{% set notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitprocevents'})[0] %}
[...]
---
----------
Rendering SLS 'base:omv.deploy.monit.services.omv-engined' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================
{% set notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitprocevents'})[0] %}
configure_monit_omv-engined_service:
[...]
---
----------
Rendering SLS 'base:omv.deploy.monit.services.php-fpm' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================
{% set notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitprocevents'})[0] %}
configure_monit_php-fpm_service:
[...]
---
----------
Rendering SLS 'base:omv.deploy.monit.services.rrdcached' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set perfstats_config = salt['omv_conf.get']('conf.system.monitoring.perfstats') %} <======================
{% if perfstats_config.enable | to_bool %}
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %}
{% set notification_config = salt['omv_conf.get_by_filter'](
[...]
---
----------
Rendering SLS 'base:omv.deploy.monit.services.system' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================
{% set loadavg_notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitloadavg'})[0] %}
{% set memory_usage_notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
[...]
---
----------
Rendering SLS 'base:omv.deploy.nginx' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_utils.register_jinja_filters'; line 21
---
[...]
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
# Make sure custom Jinja filters are registered.
{% set _ = salt['omv_utils.register_jinja_filters']() %} <======================
include:
- .{{ salt['pillar.get']('deploy_nginx', 'default') }}
---
[ERROR ] Rendering exception occurred
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
output = template.render(**decoded_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 37, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 394, in call
if not __self.is_safe_callable(__obj):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 278, in is_safe_callable
getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 483, in render_jinja_tmpl
raise SaltRenderError("Jinja variable {}{}".format(exc, out), line, tmplstr)
salt.exceptions.SaltRenderError: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 37
---
[...]
# http://www.debianadmin.com/monitoring-debian-servers-using-monit.html
# http://www.uibk.ac.at/zid/systeme/linux/monit.html
# http://wiki.ubuntuusers.de/Monit
# http://viktorpetersson.com/2010/07/09/setting-up-monit-to-monitor-apache-and-postgresql-on-ubuntu
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================
configure_default_monit:
file.managed:
- name: "/etc/default/monit"
- contents:
[...]
---
[CRITICAL] Rendering SLS 'base:omv.deploy.monit.20configure' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 37
---
[...]
# http://www.debianadmin.com/monitoring-debian-servers-using-monit.html
# http://www.uibk.ac.at/zid/systeme/linux/monit.html
# http://wiki.ubuntuusers.de/Monit
# http://viktorpetersson.com/2010/07/09/setting-up-monit-to-monitor-apache-and-postgresql-on-ubuntu
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================
configure_default_monit:
file.managed:
- name: "/etc/default/monit"
- contents:
[...]
---
[ERROR ] Rendering exception occurred
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
output = template.render(**decoded_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 20, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 394, in call
if not __self.is_safe_callable(__obj):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 278, in is_safe_callable
getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 483, in render_jinja_tmpl
raise SaltRenderError("Jinja variable {}{}".format(exc, out), line, tmplstr)
salt.exceptions.SaltRenderError: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set perfstats_config = salt['omv_conf.get']('conf.system.monitoring.perfstats') %} <======================
{% if perfstats_config.enable | to_bool %}
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %}
{% set notification_config = salt['omv_conf.get_by_filter'](
[...]
---
[CRITICAL] Rendering SLS 'base:omv.deploy.monit.services.collectd' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set perfstats_config = salt['omv_conf.get']('conf.system.monitoring.perfstats') %} <======================
{% if perfstats_config.enable | to_bool %}
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %}
{% set notification_config = salt['omv_conf.get_by_filter'](
[...]
---
[ERROR ] Rendering exception occurred
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
output = template.render(**decoded_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 20, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 394, in call
if not __self.is_safe_callable(__obj):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 278, in is_safe_callable
getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get_by_filter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 483, in render_jinja_tmpl
raise SaltRenderError("Jinja variable {}{}".format(exc, out), line, tmplstr)
salt.exceptions.SaltRenderError: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get_by_filter'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set notification_config = salt['omv_conf.get_by_filter']( <======================
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitfilesystems'})[0] %}
{% if notification_config.enable | to_bool %}
[...]
---
[CRITICAL] Rendering SLS 'base:omv.deploy.monit.services.filesystem' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get_by_filter'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set notification_config = salt['omv_conf.get_by_filter']( <======================
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitfilesystems'})[0] %}
{% if notification_config.enable | to_bool %}
[...]
---
[ERROR ] Rendering exception occurred
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
output = template.render(**decoded_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 20, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 394, in call
if not __self.is_safe_callable(__obj):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 278, in is_safe_callable
getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 483, in render_jinja_tmpl
raise SaltRenderError("Jinja variable {}{}".format(exc, out), line, tmplstr)
salt.exceptions.SaltRenderError: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set webadmin_config = salt['omv_conf.get']('conf.webadmin') %} <======================
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %}
{% set notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitprocevents'})[0] %}
[...]
---
[CRITICAL] Rendering SLS 'base:omv.deploy.monit.services.nginx' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set webadmin_config = salt['omv_conf.get']('conf.webadmin') %} <======================
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %}
{% set notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitprocevents'})[0] %}
[...]
---
[ERROR ] Rendering exception occurred
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
output = template.render(**decoded_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 20, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 394, in call
if not __self.is_safe_callable(__obj):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 278, in is_safe_callable
getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 483, in render_jinja_tmpl
raise SaltRenderError("Jinja variable {}{}".format(exc, out), line, tmplstr)
salt.exceptions.SaltRenderError: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================
{% set notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitprocevents'})[0] %}
configure_monit_omv-engined_service:
[...]
---
[CRITICAL] Rendering SLS 'base:omv.deploy.monit.services.omv-engined' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================
{% set notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitprocevents'})[0] %}
configure_monit_omv-engined_service:
[...]
---
[ERROR ] Rendering exception occurred
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
output = template.render(**decoded_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 20, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 394, in call
if not __self.is_safe_callable(__obj):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 278, in is_safe_callable
getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 483, in render_jinja_tmpl
raise SaltRenderError("Jinja variable {}{}".format(exc, out), line, tmplstr)
salt.exceptions.SaltRenderError: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================
{% set notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitprocevents'})[0] %}
configure_monit_php-fpm_service:
[...]
---
[CRITICAL] Rendering SLS 'base:omv.deploy.monit.services.php-fpm' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================
{% set notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitprocevents'})[0] %}
configure_monit_php-fpm_service:
[...]
---
[ERROR ] Rendering exception occurred
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
output = template.render(**decoded_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 20, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 394, in call
if not __self.is_safe_callable(__obj):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 278, in is_safe_callable
getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 483, in render_jinja_tmpl
raise SaltRenderError("Jinja variable {}{}".format(exc, out), line, tmplstr)
salt.exceptions.SaltRenderError: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set perfstats_config = salt['omv_conf.get']('conf.system.monitoring.perfstats') %} <======================
{% if perfstats_config.enable | to_bool %}
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %}
{% set notification_config = salt['omv_conf.get_by_filter'](
[...]
---
[CRITICAL] Rendering SLS 'base:omv.deploy.monit.services.rrdcached' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set perfstats_config = salt['omv_conf.get']('conf.system.monitoring.perfstats') %} <======================
{% if perfstats_config.enable | to_bool %}
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %}
{% set notification_config = salt['omv_conf.get_by_filter'](
[...]
---
[ERROR ] Rendering exception occurred
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
output = template.render(**decoded_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 20, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 394, in call
if not __self.is_safe_callable(__obj):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 278, in is_safe_callable
getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 483, in render_jinja_tmpl
raise SaltRenderError("Jinja variable {}{}".format(exc, out), line, tmplstr)
salt.exceptions.SaltRenderError: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================
{% set loadavg_notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitloadavg'})[0] %}
{% set memory_usage_notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
[...]
---
[CRITICAL] Rendering SLS 'base:omv.deploy.monit.services.system' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'; line 20
---
[...]
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
{% set email_config = salt['omv_conf.get']('conf.system.notification.email') %} <======================
{% set loadavg_notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
{'operator': 'stringEquals', 'arg0': 'id', 'arg1': 'monitloadavg'})[0] %}
{% set memory_usage_notification_config = salt['omv_conf.get_by_filter'](
'conf.system.notification.notification',
[...]
---
[ERROR ] Rendering exception occurred
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
output = template.render(**decoded_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 21, in top-level template code
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 394, in call
if not __self.is_safe_callable(__obj):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 278, in is_safe_callable
getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_utils.register_jinja_filters'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
output = render_str(tmplstr, context, tmplpath)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 483, in render_jinja_tmpl
raise SaltRenderError("Jinja variable {}{}".format(exc, out), line, tmplstr)
salt.exceptions.SaltRenderError: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_utils.register_jinja_filters'; line 21
---
[...]
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
# Make sure custom Jinja filters are registered.
{% set _ = salt['omv_utils.register_jinja_filters']() %} <======================
include:
- .{{ salt['pillar.get']('deploy_nginx', 'default') }}
---
[CRITICAL] Rendering SLS 'base:omv.deploy.nginx' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_utils.register_jinja_filters'; line 21
---
[...]
#
# You should have received a copy of the GNU General Public License
# along with OpenMediaVault. If not, see .
# Make sure custom Jinja filters are registered.
{% set _ = salt['omv_utils.register_jinja_filters']() %} <======================
include:
- .{{ salt['pillar.get']('deploy_nginx', 'default') }}
---
root@debian:~#