Advertisement
Guest User

Untitled

a guest
Feb 16th, 2025
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.72 KB | None | 0 0
  1. Updating Workbench settings. Please wait ...
  2. {'response': None, 'error': {'code': 0, 'message': 'Failed to execute command \' export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color halt 2>&1\' wi th exit code \'1\': debian:\n----------\n ID: configure_default_halt\n Function: file.managed\n Name: /etc/default/halt\n Result: False\ n Comment: Unable to manage file: Jinja variable \'salt.utils.templates.Alia sedLoader object\' has no attribute \'omv_conf.get_by_filter\'; line 2\n\n ---\n {%- set halt = salt[\'pillar.get\'](\'default:OMV_HAL T_HALT\', \'poweroff\') -%}\n {%- set interfaces = salt[\'omv_conf. get_by_filter\']( <======================\n \'conf.system.netw ork.interface\',\n {\'operator\': \'equals\', \'arg0\': \'wol\', \'arg1\': \'1\'}) -%}\n # Default behaviour of shutdown -h / halt. Set to "halt" or "poweroff".\n HALT={{ halt }}\n {%- i f interfaces | length > 0 %}\n [...]\n ---\n Start ed: 00:56:56.728372\n Duration: 459.039 ms\n Changes:\n----------\n ID: divert_default_halt\n Function: omv_dpkg.divert_add\n Name: /e tc/default/halt\n Result: False\n Comment: State \'omv_dpkg.divert_add\ ' was not found in SLS \'omv.deploy.halt.default\'\n Reason: \'omv_ dpkg.divert_add\' is not available.\n Changes:\n\nSummary for debian\n------ ------\nSucceeded: 0\nFailed: 2\n------------\nTotal states run: 2\nTotal run time: 459.039 ms\n[ERROR ] Rendering exception occurred\nTraceback (most recent call last):\n File "/usr/lib/python3/dist-packages/salt/utils/templates. py", line 477, in render_jinja_tmpl\n output = template.render(**decoded_cont ext)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib/python3/ dist-packages/jinja2/environment.py", line 1301, in render\n self.environment .handle_exception()\n File "/usr/lib/python3/dist-packages/jinja2/environment.p y", line 936, in handle_exception\n raise rewrite_traceback_stack(source=sour ce)\n File "<template>", line 2, in top-level template code\n File "/usr/lib/p ython3/dist-packages/jinja2/sandbox.py", line 394, in call\n if not __self.is _safe_callable(__obj):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/ lib/python3/dist-packages/jinja2/sandbox.py", line 278, in is_safe_callable\n getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\njinja2.exceptions.UndefinedError: \'s alt.utils.templates.AliasedLoader object\' has no attribute \'omv_conf.get_by_fi lter\'\n\nDuring handling of the above exception, another exception occurred:\n\ nTraceback (most recent call last):\n File "/usr/lib/python3/dist-packages/salt /utils/templates.py", line 219, in render_tmpl\n output = render_str(tmplstr, context, tmplpath)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 483, in render_j inja_tmpl\n raise SaltRenderError("Jinja variable {}{}".format(exc, out), lin e, tmplstr)\nsalt.exceptions.SaltRenderError: Jinja variable \'salt.utils.templa tes.AliasedLoader object\' has no attribute \'omv_conf.get_by_filter\'; line 2\n \n---\n{%- set halt = salt[\'pillar.get\'](\'default:OMV_HALT_HALT\', \'poweroff \') -%}\n{%- set interfaces = salt[\'omv_conf.get_by_filter\']( <============ ==========\n \'conf.system.network.interface\',\n {\'operator\': \'equals\', \ 'arg0\': \'wol\', \'arg1\': \'1\'}) -%}\n# Default behaviour of shutdown -h / ha lt. Set to "halt" or "poweroff".\nHALT={{ halt }}\n{%- if interfaces | length > 0 %}\n[...]\n---\n[ERROR ] Unable to manage file: Jinja variable \'salt.utils. templates.AliasedLoader object\' has no attribute \'omv_conf.get_by_filter\'; li ne 2\n\n---\n{%- set halt = salt[\'pillar.get\'](\'default:OMV_HALT_HALT\', \'po weroff\') -%}\n{%- set interfaces = salt[\'omv_conf.get_by_filter\']( <====== ================\n \'conf.system.network.interface\',\n {\'operator\': \'equal s\', \'arg0\': \'wol\', \'arg1\': \'1\'}) -%}\n# Default behaviour of shutdown - h / halt. Set to "halt" or "poweroff".\nHALT={{ halt }}\n{%- if interfaces | len gth > 0 %}\n[...]\n---\n[ERROR ] State \'omv_dpkg.divert_add\' was not found i n SLS \'omv.deploy.halt.default\'\nReason: \'omv_dpkg.divert_add\' is not availa ble.\n', 'trace': 'OMV\\ExecException: Failed to execute command \'export PATH=/ bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF -8; export LANGUAGE=; omv-salt deploy run --no-color halt 2>&1\' with exit code \'1\': debian:\n----------\n ID: configure_default_halt\n Function: file.managed\n Name: /etc/default/halt\n Result: False\n Comment : Unable to manage file: Jinja variable \'salt.utils.templates.AliasedLoader obj ect\' has no attribute \'omv_conf.get_by_filter\'; line 2\n\n ---\n {%- set halt = salt[\'pillar.get\'](\'default:OMV_HALT_HALT\', \'p oweroff\') -%}\n {%- set interfaces = salt[\'omv_conf.get_by_filter \']( <======================\n \'conf.system.network.interface \',\n {\'operator\': \'equals\', \'arg0\': \'wol\', \'arg1\': \'1 \'}) -%}\n # Default behaviour of shutdown -h / halt. Set to "halt" or "poweroff".\n HALT={{ halt }}\n {%- if interfaces | length > 0 %}\n [...]\n ---\n Started: 00:56:56. 728372\n Duration: 459.039 ms\n Changes:\n----------\n ID: diver t_default_halt\n Function: omv_dpkg.divert_add\n Name: /etc/default/ha lt\n Result: False\n Comment: State \'omv_dpkg.divert_add\' was not fou nd in SLS \'omv.deploy.halt.default\'\n Reason: \'omv_dpkg.divert_a dd\' is not available.\n Changes:\n\nSummary for debian\n------------\nSucce eded: 0\nFailed: 2\n------------\nTotal states run: 2\nTotal run time: 45 9.039 ms\n[ERROR ] Rendering exception occurred\nTraceback (most recent call l ast):\n File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477 , in render_jinja_tmpl\n output = template.render(**decoded_context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib/python3/dist-packages /jinja2/environment.py", line 1301, in render\n self.environment.handle_excep tion()\n File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception\n raise rewrite_traceback_stack(source=source)\n File " <template>", line 2, in top-level template code\n File "/usr/lib/python3/dist-p ackages/jinja2/sandbox.py", line 394, in call\n if not __self.is_safe_callabl e(__obj):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib/python3/d ist-packages/jinja2/sandbox.py", line 278, in is_safe_callable\n getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)\n ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\njinja2.exceptions.UndefinedError: \'salt.utils.tem plates.AliasedLoader object\' has no attribute \'omv_conf.get_by_filter\'\n\nDur ing handling of the above exception, another exception occurred:\n\nTraceback (m ost recent call last):\n File "/usr/lib/python3/dist-packages/salt/utils/templa tes.py", line 219, in render_tmpl\n output = render_str(tmplstr, context, tmp lpath)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib/py thon3/dist-packages/salt/utils/templates.py", line 483, in render_jinja_tmpl\n raise SaltRenderError("Jinja variable {}{}".format(exc, out), line, tmplstr)\n salt.exceptions.SaltRenderError: Jinja variable \'salt.utils.templates.AliasedLo ader object\' has no attribute \'omv_conf.get_by_filter\'; line 2\n\n---\n{%- se t halt = salt[\'pillar.get\'](\'default:OMV_HALT_HALT\', \'poweroff\') -%}\n{%- set interfaces = salt[\'omv_conf.get_by_filter\']( <======================\n \'conf.system.network.interface\',\n {\'operator\': \'equals\', \'arg0\': \'wo l\', \'arg1\': \'1\'}) -%}\n# Default behaviour of shutdown -h / halt. Set to "h alt" or "poweroff".\nHALT={{ halt }}\n{%- if interfaces | length > 0 %}\n[...]\n ---\n[ERROR ] Unable to manage file: Jinja variable \'salt.utils.templates.Ali asedLoader object\' has no attribute \'omv_conf.get_by_filter\'; line 2\n\n---\n {%- set halt = salt[\'pillar.get\'](\'default:OMV_HALT_HALT\', \'poweroff\') -%} \n{%- set interfaces = salt[\'omv_conf.get_by_filter\']( <=================== ===\n \'conf.system.network.interface\',\n {\'operator\': \'equals\', \'arg0\' : \'wol\', \'arg1\': \'1\'}) -%}\n# Default behaviour of shutdown -h / halt. Set to "halt" or "poweroff".\nHALT={{ halt }}\n{%- if interfaces | length > 0 %}\n[ ...]\n---\n[ERROR ] State \'omv_dpkg.divert_add\' was not found in SLS \'omv.d eploy.halt.default\'\nReason: \'omv_dpkg.divert_add\' is not available.\n in /us r/share/php/openmediavault/system/process.inc:247\nStack trace:\n#0 /usr/share/p hp/openmediavault/engine/module/serviceabstract.inc(62): OMV\\System\\Process->e xecute()\n#1 /usr/share/openmediavault/engined/rpc/config.inc(187): OMV\\Engine\ \Module\\ServiceAbstract->deploy()\n#2 [internal function]: Engined\\Rpc\\Config ->applyChanges()\n#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()\n#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\\ Rpc\\ServiceAbstract->callMethod()\n#5 /usr/sbin/omv-engined(544): OMV\\Rpc\\Rpc ::call()\n#6 {main}', 'http_status_code': 500}}
  3. ERROR: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr /local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; omv-salt de ploy run --no-color halt 2>&1' with exit code '1': debian:
  4. ----------
  5. ID: configure_default_halt
  6. Function: file.managed
  7. Name: /etc/default/halt
  8. Result: False
  9. Comment: Unable to manage file: Jinja variable 'salt.utils.templates.Aliase dLoader object' has no attribute 'omv_conf.get_by_filter'; line 2
  10.  
  11. ---
  12. {%- set halt = salt['pillar.get']('default:OMV_HALT_HALT', 'powero ff') -%}
  13. {%- set interfaces = salt['omv_conf.get_by_filter']( <========= =============
  14. 'conf.system.network.interface',
  15. {'operator': 'equals', 'arg0': 'wol', 'arg1': '1'}) -%}
  16. # Default behaviour of shutdown -h / halt. Set to "halt" or "power off".
  17. HALT={{ halt }}
  18. {%- if interfaces | length > 0 %}
  19. [...]
  20. ---
  21. Started: 00:56:56.728372
  22. Duration: 459.039 ms
  23. Changes:
  24. ----------
  25. ID: divert_default_halt
  26. Function: omv_dpkg.divert_add
  27. Name: /etc/default/halt
  28. Result: False
  29. Comment: State 'omv_dpkg.divert_add' was not found in SLS 'omv.deploy.halt. default'
  30. Reason: 'omv_dpkg.divert_add' is not available.
  31. Changes:
  32.  
  33. Summary for debian
  34. ------------
  35. Succeeded: 0
  36. Failed: 2
  37. ------------
  38. Total states run: 2
  39. Total run time: 459.039 ms
  40. [ERROR ] Rendering exception occurred
  41. Traceback (most recent call last):
  42. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in re nder_jinja_tmpl
  43. output = template.render(**decoded_context)
  44. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  45. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in ren der
  46. self.environment.handle_exception()
  47. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in hand le_exception
  48. raise rewrite_traceback_stack(source=source)
  49. File "<template>", line 2, in top-level template code
  50. File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 394, in call
  51. if not __self.is_safe_callable(__obj):
  52. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  53. File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 278, in is_safe_ callable
  54. getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)
  55. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  56. jinja2.exceptions.UndefinedError: 'salt.utils.templates.AliasedLoader object' ha s no attribute 'omv_conf.get_by_filter'
  57.  
  58. During handling of the above exception, another exception occurred:
  59.  
  60. Traceback (most recent call last):
  61. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in re nder_tmpl
  62. output = render_str(tmplstr, context, tmplpath)
  63. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  64. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 483, in re nder_jinja_tmpl
  65. raise SaltRenderError("Jinja variable {}{}".format(exc, out), line, tmplstr)
  66. salt.exceptions.SaltRenderError: Jinja variable 'salt.utils.templates.AliasedLoa der object' has no attribute 'omv_conf.get_by_filter'; line 2
  67.  
  68. ---
  69. {%- set halt = salt['pillar.get']('default:OMV_HALT_HALT', 'poweroff') -%}
  70. {%- set interfaces = salt['omv_conf.get_by_filter']( <======================
  71. 'conf.system.network.interface',
  72. {'operator': 'equals', 'arg0': 'wol', 'arg1': '1'}) -%}
  73. # Default behaviour of shutdown -h / halt. Set to "halt" or "poweroff".
  74. HALT={{ halt }}
  75. {%- if interfaces | length > 0 %}
  76. [...]
  77. ---
  78. [ERROR ] Unable to manage file: Jinja variable 'salt.utils.templates.AliasedLo ader object' has no attribute 'omv_conf.get_by_filter'; line 2
  79.  
  80. ---
  81. {%- set halt = salt['pillar.get']('default:OMV_HALT_HALT', 'poweroff') -%}
  82. {%- set interfaces = salt['omv_conf.get_by_filter']( <======================
  83. 'conf.system.network.interface',
  84. {'operator': 'equals', 'arg0': 'wol', 'arg1': '1'}) -%}
  85. # Default behaviour of shutdown -h / halt. Set to "halt" or "poweroff".
  86. HALT={{ halt }}
  87. {%- if interfaces | length > 0 %}
  88. [...]
  89. ---
  90. [ERROR ] State 'omv_dpkg.divert_add' was not found in SLS 'omv.deploy.halt.def ault'
  91. Reason: 'omv_dpkg.divert_add' is not available.
  92.  
  93.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement