Advertisement
Highlander88

OMV Extras error

Nov 3rd, 2023
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.27 KB | None | 0 0
  1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color omvextras 2>&1' with exit code '1': debian:
  2. Data failed to compile:
  3. ----------
  4. Rendering SLS 'base:omv.deploy.omvextras.default' failed: Jinja error: 'testing'
  5. Traceback (most recent call last):
  6. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  7. output = template.render(**decoded_context)
  8. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1090, in render
  9. self.environment.handle_exception()
  10. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 832, in handle_exception
  11. reraise(*rewrite_traceback_stack(source=source))
  12. File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 28, in reraise
  13. raise value.with_traceback(tb)
  14. File "<template>", line 42, in top-level template code
  15. File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 410, in getattr
  16. value = getattr(obj, attribute)
  17. File "/usr/lib/python3/dist-packages/openmediavault/collectiontools.py", line 126, in __getitem__
  18. return dict.__getitem__(self, key)
  19. KeyError: 'testing'
  20.  
  21. ; line 42
  22.  
  23. ---
  24. [...]
  25. - name: "deb {{ repo_url }} {{ dist }} main"
  26. - file: "{{ list }}"
  27. - gpgcheck: 1
  28. - key_url: {{ repo_url }}/omvextras2026.asc
  29.  
  30. {%- if config.testing | to_bool %} <======================
  31.  
  32. "deb {{ repo_url }} {{ dist }}-testing main":
  33. pkgrepo.managed:
  34. - file: "{{ list }}"
  35.  
  36. [...]
  37. ---
  38. [ERROR ] Rendering exception occurred
  39. Traceback (most recent call last):
  40. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  41. output = template.render(**decoded_context)
  42. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1090, in render
  43. self.environment.handle_exception()
  44. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 832, in handle_exception
  45. reraise(*rewrite_traceback_stack(source=source))
  46. File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 28, in reraise
  47. raise value.with_traceback(tb)
  48. File "<template>", line 42, in top-level template code
  49. File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 410, in getattr
  50. value = getattr(obj, attribute)
  51. File "/usr/lib/python3/dist-packages/openmediavault/collectiontools.py", line 126, in __getitem__
  52. return dict.__getitem__(self, key)
  53. KeyError: 'testing'
  54.  
  55. During handling of the above exception, another exception occurred:
  56.  
  57. Traceback (most recent call last):
  58. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
  59. output = render_str(tmplstr, context, tmplpath)
  60. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 523, in render_jinja_tmpl
  61. raise SaltRenderError(
  62. salt.exceptions.SaltRenderError: Jinja error: 'testing'
  63. Traceback (most recent call last):
  64. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  65. output = template.render(**decoded_context)
  66. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1090, in render
  67. self.environment.handle_exception()
  68. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 832, in handle_exception
  69. reraise(*rewrite_traceback_stack(source=source))
  70. File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 28, in reraise
  71. raise value.with_traceback(tb)
  72. File "<template>", line 42, in top-level template code
  73. File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 410, in getattr
  74. value = getattr(obj, attribute)
  75. File "/usr/lib/python3/dist-packages/openmediavault/collectiontools.py", line 126, in __getitem__
  76. return dict.__getitem__(self, key)
  77. KeyError: 'testing'
  78.  
  79. ; line 42
  80.  
  81. ---
  82. [...]
  83. - name: "deb {{ repo_url }} {{ dist }} main"
  84. - file: "{{ list }}"
  85. - gpgcheck: 1
  86. - key_url: {{ repo_url }}/omvextras2026.asc
  87.  
  88. {%- if config.testing | to_bool %} <======================
  89.  
  90. "deb {{ repo_url }} {{ dist }}-testing main":
  91. pkgrepo.managed:
  92. - file: "{{ list }}"
  93.  
  94. [...]
  95. ---
  96. [CRITICAL] Rendering SLS 'base:omv.deploy.omvextras.default' failed: Jinja error: 'testing'
  97. Traceback (most recent call last):
  98. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  99. output = template.render(**decoded_context)
  100. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1090, in render
  101. self.environment.handle_exception()
  102. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 832, in handle_exception
  103. reraise(*rewrite_traceback_stack(source=source))
  104. File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 28, in reraise
  105. raise value.with_traceback(tb)
  106. File "<template>", line 42, in top-level template code
  107. File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 410, in getattr
  108. value = getattr(obj, attribute)
  109. File "/usr/lib/python3/dist-packages/openmediavault/collectiontools.py", line 126, in __getitem__
  110. return dict.__getitem__(self, key)
  111. KeyError: 'testing'
  112.  
  113. ; line 42
  114.  
  115. ---
  116. [...]
  117. - name: "deb {{ repo_url }} {{ dist }} main"
  118. - file: "{{ list }}"
  119. - gpgcheck: 1
  120. - key_url: {{ repo_url }}/omvextras2026.asc
  121.  
  122. {%- if config.testing | to_bool %} <======================
  123.  
  124. "deb {{ repo_url }} {{ dist }}-testing main":
  125. pkgrepo.managed:
  126. - file: "{{ list }}"
  127.  
  128. [...]
  129. ---
  130.  
  131. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color omvextras 2>&1' with exit code '1': debian:
  132. Data failed to compile:
  133. ----------
  134. Rendering SLS 'base:omv.deploy.omvextras.default' failed: Jinja error: 'testing'
  135. Traceback (most recent call last):
  136. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  137. output = template.render(**decoded_context)
  138. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1090, in render
  139. self.environment.handle_exception()
  140. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 832, in handle_exception
  141. reraise(*rewrite_traceback_stack(source=source))
  142. File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 28, in reraise
  143. raise value.with_traceback(tb)
  144. File "<template>", line 42, in top-level template code
  145. File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 410, in getattr
  146. value = getattr(obj, attribute)
  147. File "/usr/lib/python3/dist-packages/openmediavault/collectiontools.py", line 126, in __getitem__
  148. return dict.__getitem__(self, key)
  149. KeyError: 'testing'
  150.  
  151. ; line 42
  152.  
  153. ---
  154. [...]
  155. - name: "deb {{ repo_url }} {{ dist }} main"
  156. - file: "{{ list }}"
  157. - gpgcheck: 1
  158. - key_url: {{ repo_url }}/omvextras2026.asc
  159.  
  160. {%- if config.testing | to_bool %} <======================
  161.  
  162. "deb {{ repo_url }} {{ dist }}-testing main":
  163. pkgrepo.managed:
  164. - file: "{{ list }}"
  165.  
  166. [...]
  167. ---
  168. [ERROR ] Rendering exception occurred
  169. Traceback (most recent call last):
  170. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  171. output = template.render(**decoded_context)
  172. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1090, in render
  173. self.environment.handle_exception()
  174. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 832, in handle_exception
  175. reraise(*rewrite_traceback_stack(source=source))
  176. File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 28, in reraise
  177. raise value.with_traceback(tb)
  178. File "<template>", line 42, in top-level template code
  179. File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 410, in getattr
  180. value = getattr(obj, attribute)
  181. File "/usr/lib/python3/dist-packages/openmediavault/collectiontools.py", line 126, in __getitem__
  182. return dict.__getitem__(self, key)
  183. KeyError: 'testing'
  184.  
  185. During handling of the above exception, another exception occurred:
  186.  
  187. Traceback (most recent call last):
  188. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
  189. output = render_str(tmplstr, context, tmplpath)
  190. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 523, in render_jinja_tmpl
  191. raise SaltRenderError(
  192. salt.exceptions.SaltRenderError: Jinja error: 'testing'
  193. Traceback (most recent call last):
  194. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  195. output = template.render(**decoded_context)
  196. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1090, in render
  197. self.environment.handle_exception()
  198. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 832, in handle_exception
  199. reraise(*rewrite_traceback_stack(source=source))
  200. File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 28, in reraise
  201. raise value.with_traceback(tb)
  202. File "<template>", line 42, in top-level template code
  203. File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 410, in getattr
  204. value = getattr(obj, attribute)
  205. File "/usr/lib/python3/dist-packages/openmediavault/collectiontools.py", line 126, in __getitem__
  206. return dict.__getitem__(self, key)
  207. KeyError: 'testing'
  208.  
  209. ; line 42
  210.  
  211. ---
  212. [...]
  213. - name: "deb {{ repo_url }} {{ dist }} main"
  214. - file: "{{ list }}"
  215. - gpgcheck: 1
  216. - key_url: {{ repo_url }}/omvextras2026.asc
  217.  
  218. {%- if config.testing | to_bool %} <======================
  219.  
  220. "deb {{ repo_url }} {{ dist }}-testing main":
  221. pkgrepo.managed:
  222. - file: "{{ list }}"
  223.  
  224. [...]
  225. ---
  226. [CRITICAL] Rendering SLS 'base:omv.deploy.omvextras.default' failed: Jinja error: 'testing'
  227. Traceback (most recent call last):
  228. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  229. output = template.render(**decoded_context)
  230. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1090, in render
  231. self.environment.handle_exception()
  232. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 832, in handle_exception
  233. reraise(*rewrite_traceback_stack(source=source))
  234. File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 28, in reraise
  235. raise value.with_traceback(tb)
  236. File "<template>", line 42, in top-level template code
  237. File "/usr/lib/python3/dist-packages/jinja2/sandbox.py", line 410, in getattr
  238. value = getattr(obj, attribute)
  239. File "/usr/lib/python3/dist-packages/openmediavault/collectiontools.py", line 126, in __getitem__
  240. return dict.__getitem__(self, key)
  241. KeyError: 'testing'
  242.  
  243. ; line 42
  244.  
  245. ---
  246. [...]
  247. - name: "deb {{ repo_url }} {{ dist }} main"
  248. - file: "{{ list }}"
  249. - gpgcheck: 1
  250. - key_url: {{ repo_url }}/omvextras2026.asc
  251.  
  252. {%- if config.testing | to_bool %} <======================
  253.  
  254. "deb {{ repo_url }} {{ dist }}-testing main":
  255. pkgrepo.managed:
  256. - file: "{{ list }}"
  257.  
  258. [...]
  259. --- in /usr/share/php/openmediavault/system/process.inc:242
  260. Stack trace:
  261. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
  262. #1 /usr/share/openmediavault/engined/rpc/config.inc(178): OMV\Engine\Module\ServiceAbstract->deploy()
  263. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
  264. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  265. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
  266. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusyA...', '/tmp/bgoutputT9...')
  267. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
  268. #7 /usr/share/openmediavault/engined/rpc/config.inc(199): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
  269. #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
  270. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  271. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
  272. #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
  273. #12 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement