Advertisement
Guest User

Untitled

a guest
Feb 6th, 2025
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.54 KB | Software | 0 0
  1. 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 quota 2>&1' with exit code '1': debian:
  2. Data failed to compile:
  3. ----------
  4. Rendering SLS 'base:omv.deploy.quota.default' failed: Jinja error: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  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. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  9. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
  10. self.environment.handle_exception()
  11. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
  12. raise rewrite_traceback_stack(source=source)
  13. File "<template>", line 43, in top-level template code
  14. File "/var/cache/salt/minion/extmods/modules/omv_utils.py", line 129, in is_block_device
  15. return openmediavault.device.is_block_device(path)
  16. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  17. File "/usr/lib/python3/dist-packages/openmediavault/device/utils.py", line 38, in is_block_device
  18. st = os.stat(path)
  19. ^^^^^^^^^^^^^
  20. OSError: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  21.  
  22. ; line 43
  23.  
  24. ---
  25. [...]
  26. {% set fsuuid = salt['cmd.run']('blkid -o value -s UUID ' ~ mountpoint.fsname) %}
  27. {% set device = mountpoint.fsname %}
  28. {% endif %}
  29.  
  30. # Proceed only if the device exists.
  31. {% if device | is_block_device %} <======================
  32.  
  33. {% if 'quota' not in mountpoint.opts %}
  34.  
  35. # The filesystem is not mounted with quota support, so remove the useless
  36. # quota files.
  37. [...]
  38. ---
  39. [ERROR ] Command 'blkid' failed with return code: 2
  40. [ERROR ] retcode: 2
  41. [ERROR ] Command 'blkid' failed with return code: 2
  42. [ERROR ] output:
  43. [ERROR ] Rendering exception occurred
  44. Traceback (most recent call last):
  45. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  46. output = template.render(**decoded_context)
  47. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  48. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
  49. self.environment.handle_exception()
  50. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
  51. raise rewrite_traceback_stack(source=source)
  52. File "<template>", line 43, in top-level template code
  53. File "/var/cache/salt/minion/extmods/modules/omv_utils.py", line 129, in is_block_device
  54. return openmediavault.device.is_block_device(path)
  55. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  56. File "/usr/lib/python3/dist-packages/openmediavault/device/utils.py", line 38, in is_block_device
  57. st = os.stat(path)
  58. ^^^^^^^^^^^^^
  59. OSError: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  60.  
  61. During handling of the above exception, another exception occurred:
  62.  
  63. Traceback (most recent call last):
  64. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
  65. output = render_str(tmplstr, context, tmplpath)
  66. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  67. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 523, in render_jinja_tmpl
  68. raise SaltRenderError(
  69. salt.exceptions.SaltRenderError: Jinja error: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  70. Traceback (most recent call last):
  71. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  72. output = template.render(**decoded_context)
  73. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  74. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
  75. self.environment.handle_exception()
  76. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
  77. raise rewrite_traceback_stack(source=source)
  78. File "<template>", line 43, in top-level template code
  79. File "/var/cache/salt/minion/extmods/modules/omv_utils.py", line 129, in is_block_device
  80. return openmediavault.device.is_block_device(path)
  81. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  82. File "/usr/lib/python3/dist-packages/openmediavault/device/utils.py", line 38, in is_block_device
  83. st = os.stat(path)
  84. ^^^^^^^^^^^^^
  85. OSError: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  86.  
  87. ; line 43
  88.  
  89. ---
  90. [...]
  91. {% set fsuuid = salt['cmd.run']('blkid -o value -s UUID ' ~ mountpoint.fsname) %}
  92. {% set device = mountpoint.fsname %}
  93. {% endif %}
  94.  
  95. # Proceed only if the device exists.
  96. {% if device | is_block_device %} <======================
  97.  
  98. {% if 'quota' not in mountpoint.opts %}
  99.  
  100. # The filesystem is not mounted with quota support, so remove the useless
  101. # quota files.
  102. [...]
  103. ---
  104. [CRITICAL] Rendering SLS 'base:omv.deploy.quota.default' failed: Jinja error: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  105. Traceback (most recent call last):
  106. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  107. output = template.render(**decoded_context)
  108. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  109. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
  110. self.environment.handle_exception()
  111. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
  112. raise rewrite_traceback_stack(source=source)
  113. File "<template>", line 43, in top-level template code
  114. File "/var/cache/salt/minion/extmods/modules/omv_utils.py", line 129, in is_block_device
  115. return openmediavault.device.is_block_device(path)
  116. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  117. File "/usr/lib/python3/dist-packages/openmediavault/device/utils.py", line 38, in is_block_device
  118. st = os.stat(path)
  119. ^^^^^^^^^^^^^
  120. OSError: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  121.  
  122. ; line 43
  123.  
  124. ---
  125. [...]
  126. {% set fsuuid = salt['cmd.run']('blkid -o value -s UUID ' ~ mountpoint.fsname) %}
  127. {% set device = mountpoint.fsname %}
  128. {% endif %}
  129.  
  130. # Proceed only if the device exists.
  131. {% if device | is_block_device %} <======================
  132.  
  133. {% if 'quota' not in mountpoint.opts %}
  134.  
  135. # The filesystem is not mounted with quota support, so remove the useless
  136. # quota files.
  137. [...]
  138. ---
  139.  
  140. 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 quota 2>&1' with exit code '1': debian:
  141. Data failed to compile:
  142. ----------
  143. Rendering SLS 'base:omv.deploy.quota.default' failed: Jinja error: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  144. Traceback (most recent call last):
  145. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  146. output = template.render(**decoded_context)
  147. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  148. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
  149. self.environment.handle_exception()
  150. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
  151. raise rewrite_traceback_stack(source=source)
  152. File "<template>", line 43, in top-level template code
  153. File "/var/cache/salt/minion/extmods/modules/omv_utils.py", line 129, in is_block_device
  154. return openmediavault.device.is_block_device(path)
  155. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  156. File "/usr/lib/python3/dist-packages/openmediavault/device/utils.py", line 38, in is_block_device
  157. st = os.stat(path)
  158. ^^^^^^^^^^^^^
  159. OSError: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  160.  
  161. ; line 43
  162.  
  163. ---
  164. [...]
  165. {% set fsuuid = salt['cmd.run']('blkid -o value -s UUID ' ~ mountpoint.fsname) %}
  166. {% set device = mountpoint.fsname %}
  167. {% endif %}
  168.  
  169. # Proceed only if the device exists.
  170. {% if device | is_block_device %} <======================
  171.  
  172. {% if 'quota' not in mountpoint.opts %}
  173.  
  174. # The filesystem is not mounted with quota support, so remove the useless
  175. # quota files.
  176. [...]
  177. ---
  178. [ERROR ] Command 'blkid' failed with return code: 2
  179. [ERROR ] retcode: 2
  180. [ERROR ] Command 'blkid' failed with return code: 2
  181. [ERROR ] output:
  182. [ERROR ] Rendering exception occurred
  183. Traceback (most recent call last):
  184. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  185. output = template.render(**decoded_context)
  186. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  187. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
  188. self.environment.handle_exception()
  189. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
  190. raise rewrite_traceback_stack(source=source)
  191. File "<template>", line 43, in top-level template code
  192. File "/var/cache/salt/minion/extmods/modules/omv_utils.py", line 129, in is_block_device
  193. return openmediavault.device.is_block_device(path)
  194. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  195. File "/usr/lib/python3/dist-packages/openmediavault/device/utils.py", line 38, in is_block_device
  196. st = os.stat(path)
  197. ^^^^^^^^^^^^^
  198. OSError: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  199.  
  200. During handling of the above exception, another exception occurred:
  201.  
  202. Traceback (most recent call last):
  203. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 219, in render_tmpl
  204. output = render_str(tmplstr, context, tmplpath)
  205. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  206. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 523, in render_jinja_tmpl
  207. raise SaltRenderError(
  208. salt.exceptions.SaltRenderError: Jinja error: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  209. Traceback (most recent call last):
  210. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  211. output = template.render(**decoded_context)
  212. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  213. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
  214. self.environment.handle_exception()
  215. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
  216. raise rewrite_traceback_stack(source=source)
  217. File "<template>", line 43, in top-level template code
  218. File "/var/cache/salt/minion/extmods/modules/omv_utils.py", line 129, in is_block_device
  219. return openmediavault.device.is_block_device(path)
  220. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  221. File "/usr/lib/python3/dist-packages/openmediavault/device/utils.py", line 38, in is_block_device
  222. st = os.stat(path)
  223. ^^^^^^^^^^^^^
  224. OSError: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  225.  
  226. ; line 43
  227.  
  228. ---
  229. [...]
  230. {% set fsuuid = salt['cmd.run']('blkid -o value -s UUID ' ~ mountpoint.fsname) %}
  231. {% set device = mountpoint.fsname %}
  232. {% endif %}
  233.  
  234. # Proceed only if the device exists.
  235. {% if device | is_block_device %} <======================
  236.  
  237. {% if 'quota' not in mountpoint.opts %}
  238.  
  239. # The filesystem is not mounted with quota support, so remove the useless
  240. # quota files.
  241. [...]
  242. ---
  243. [CRITICAL] Rendering SLS 'base:omv.deploy.quota.default' failed: Jinja error: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  244. Traceback (most recent call last):
  245. File "/usr/lib/python3/dist-packages/salt/utils/templates.py", line 477, in render_jinja_tmpl
  246. output = template.render(**decoded_context)
  247. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  248. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 1301, in render
  249. self.environment.handle_exception()
  250. File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 936, in handle_exception
  251. raise rewrite_traceback_stack(source=source)
  252. File "<template>", line 43, in top-level template code
  253. File "/var/cache/salt/minion/extmods/modules/omv_utils.py", line 129, in is_block_device
  254. return openmediavault.device.is_block_device(path)
  255. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  256. File "/usr/lib/python3/dist-packages/openmediavault/device/utils.py", line 38, in is_block_device
  257. st = os.stat(path)
  258. ^^^^^^^^^^^^^
  259. OSError: [Errno 107] Transport endpoint is not connected: '/srv/dev-disk-by-uuid-32D4CE71D4CE373F/nas-hdd1/nas-hdd1-services/media/'
  260.  
  261. ; line 43
  262.  
  263. ---
  264. [...]
  265. {% set fsuuid = salt['cmd.run']('blkid -o value -s UUID ' ~ mountpoint.fsname) %}
  266. {% set device = mountpoint.fsname %}
  267. {% endif %}
  268.  
  269. # Proceed only if the device exists.
  270. {% if device | is_block_device %} <======================
  271.  
  272. {% if 'quota' not in mountpoint.opts %}
  273.  
  274. # The filesystem is not mounted with quota support, so remove the useless
  275. # quota files.
  276. [...]
  277. --- in /usr/share/php/openmediavault/system/process.inc:247
  278. Stack trace:
  279. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
  280. #1 /usr/share/openmediavault/engined/rpc/config.inc(187): OMV\Engine\Module\ServiceAbstract->deploy()
  281. #2 [internal function]: Engined\Rpc\Config->applyChanges()
  282. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array()
  283. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(155): OMV\Rpc\ServiceAbstract->callMethod()
  284. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(628): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}()
  285. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(152): OMV\Rpc\ServiceAbstract->execBgProc()
  286. #7 /usr/share/openmediavault/engined/rpc/config.inc(208): OMV\Rpc\ServiceAbstract->callMethodBg()
  287. #8 [internal function]: Engined\Rpc\Config->applyChangesBg()
  288. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array()
  289. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
  290. #11 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call()
  291. #12 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement