Guest User

Untitled

a guest
Apr 21st, 2020
14
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run nut 2>&1' with exit code '1': HP-OMV.workgroup: ---------- ID: configure_nut_nut_conf Function: file.managed Name: /etc/nut/nut.conf Result: True Comment: File /etc/nut/nut.conf is in the correct state Started: 22:38:27.882004 Duration: 69.497 ms Changes: ---------- ID: configure_nut_ups_conf Function: file.managed Name: /etc/nut/ups.conf Result: True Comment: File /etc/nut/ups.conf is in the correct state Started: 22:38:27.951764 Duration: 19.701 ms Changes: ---------- ID: configure_nut_upsd_conf Function: file.managed Name: /etc/nut/upsd.conf Result: True Comment: File /etc/nut/upsd.conf is in the correct state Started: 22:38:27.971725 Duration: 22.535 ms Changes: ---------- ID: configure_nut_upsd_users Function: file.managed Name: /etc/nut/upsd.users Result: True Comment: File /etc/nut/upsd.users updated Started: 22:38:27.994519 Duration: 28.495 ms Changes: ---------- diff: --- +++ @@ -1,11 +1,11 @@ # This file is auto-generated by openmediavault (https://www.openmediavault.org) # WARNING: Do not edit this file, your changes will get lost. [admin] -password = G6qgZYHzdxgQBZy4 +password = ZCst6MHun18sbNXb actions = set actions = fsd instcmds = ALL [monmaster] -password = E3m7FO3Y3FSvN72N +password = Ya9Lo2Rsi4Q4tuzF upsmon master ---------- ID: configure_nut_upsmon_conf Function: file.managed Name: /etc/nut/upsmon.conf Result: True Comment: File /etc/nut/upsmon.conf updated Started: 22:38:28.023393 Duration: 51.659 ms Changes: ---------- diff: --- +++ @@ -1,6 +1,6 @@ # This file is auto-generated by openmediavault (https://www.openmediavault.org) # WARNING: Do not edit this file, your changes will get lost. -MONITOR eaton3s 1 monmaster E3m7FO3Y3FSvN72N master +MONITOR eaton3s 1 monmaster Ya9Lo2Rsi4Q4tuzF master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD "/sbin/upssched" ---------- ID: configure_nut_upssched_conf Function: file.managed Name: /etc/nut/upssched.conf Result: True Comment: File /etc/nut/upssched.conf is in the correct state Started: 22:38:28.075300 Duration: 20.07 ms Changes: ---------- ID: configure_nut_default_upssched_cmd Function: file.managed Name: /etc/default/upssched-cmd Result: True Comment: File /etc/default/upssched-cmd updated Started: 22:38:28.095629 Duration: 5.968 ms Changes: ---------- diff: --- +++ @@ -1,4 +1,4 @@ # This file is auto-generated by openmediavault (https://www.openmediavault.org) # WARNING: Do not edit this file, your changes will get lost. OMV_NUT_UPSSCHEDCMD_EMAIL_ENABLE="YES" -OMV_NUT_UPSSCHEDCMD_SHUTDOWNTIMER=600 +OMV_NUT_UPSSCHEDCMD_SHUTDOWNTIMER=30 ---------- ID: remove_nut_udev_serialups_rule Function: file.absent Name: /etc/udev/rules.d/99-openmediavault-nut-serialups.rules Result: True Comment: File /etc/udev/rules.d/99-openmediavault-nut-serialups.rules is not present Started: 22:38:28.101843 Duration: 0.674 ms Changes: ---------- ID: start_nut_driver_service Function: service.running Name: nut-driver Result: False Comment: Service nut-driver is already enabled, and is dead Started: 22:38:28.119687 Duration: 6016.504 ms Changes: ---------- ID: start_nut_server_service Function: service.running Name: nut-server Result: True Comment: Service nut-server is already enabled, and is running Started: 22:38:34.140151 Duration: 20697.979 ms Changes: ---------- nut-server: True ---------- ID: monitor_nut_server_service Function: monit.monitor Name: nut-server Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/state.py", line 1933, in call **cdata['kwargs']) File "/usr/lib/python3/dist-packages/salt/loader.py", line 1951, in wrapper return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/states/monit.py", line 48, in monitor if 'Running' in value[name]: TypeError: string indices must be integers Started: 22:38:54.844714 Duration: 31.953 ms Changes: ---------- ID: start_nut_monitor_service Function: service.running Name: nut-monitor Result: True Comment: Service nut-monitor is already enabled, and is running Started: 22:38:54.877959 Duration: 190.063 ms Changes: ---------- nut-monitor: True ---------- ID: monitor_nut_monitor_service Function: monit.monitor Name: nut-monitor Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/state.py", line 1933, in call **cdata['kwargs']) File "/usr/lib/python3/dist-packages/salt/loader.py", line 1951, in wrapper return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/states/monit.py", line 48, in monitor if 'Running' in value[name]: TypeError: string indices must be integers Started: 22:38:55.068469 Duration: 18.876 ms Changes: Summary for HP-OMV.workgroup ------------- Succeeded: 10 (changed=5) Failed: 3 ------------- Total states run: 13 Total run time: 27.174 s
  2. Error #0:
  3. 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; omv-salt deploy run nut 2>&1' with exit code '1': HP-OMV.workgroup:
  4. ----------
  5. ID: configure_nut_nut_conf
  6. Function: file.managed
  7. Name: /etc/nut/nut.conf
  8. Result: True
  9. Comment: File /etc/nut/nut.conf is in the correct state
  10. Started: 22:38:27.882004
  11. Duration: 69.497 ms
  12. Changes:
  13. ----------
  14. ID: configure_nut_ups_conf
  15. Function: file.managed
  16. Name: /etc/nut/ups.conf
  17. Result: True
  18. Comment: File /etc/nut/ups.conf is in the correct state
  19. Started: 22:38:27.951764
  20. Duration: 19.701 ms
  21. Changes:
  22. ----------
  23. ID: configure_nut_upsd_conf
  24. Function: file.managed
  25. Name: /etc/nut/upsd.conf
  26. Result: True
  27. Comment: File /etc/nut/upsd.conf is in the correct state
  28. Started: 22:38:27.971725
  29. Duration: 22.535 ms
  30. Changes:
  31. ----------
  32. ID: configure_nut_upsd_users
  33. Function: file.managed
  34. Name: /etc/nut/upsd.users
  35. Result: True
  36. Comment: File /etc/nut/upsd.users updated
  37. Started: 22:38:27.994519
  38. Duration: 28.495 ms
  39. Changes:
  40. ----------
  41. diff:
  42. ---
  43. +++
  44. @@ -1,11 +1,11 @@
  45. # This file is auto-generated by openmediavault (https://www.openmediavault.org)
  46. # WARNING: Do not edit this file, your changes will get lost.
  47. [admin]
  48. -password = G6qgZYHzdxgQBZy4
  49. +password = ZCst6MHun18sbNXb
  50. actions = set
  51. actions = fsd
  52. instcmds = ALL
  53.  
  54. [monmaster]
  55. -password = E3m7FO3Y3FSvN72N
  56. +password = Ya9Lo2Rsi4Q4tuzF
  57. upsmon master
  58. ----------
  59. ID: configure_nut_upsmon_conf
  60. Function: file.managed
  61. Name: /etc/nut/upsmon.conf
  62. Result: True
  63. Comment: File /etc/nut/upsmon.conf updated
  64. Started: 22:38:28.023393
  65. Duration: 51.659 ms
  66. Changes:
  67. ----------
  68. diff:
  69. ---
  70. +++
  71. @@ -1,6 +1,6 @@
  72. # This file is auto-generated by openmediavault (https://www.openmediavault.org)
  73. # WARNING: Do not edit this file, your changes will get lost.
  74. -MONITOR eaton3s 1 monmaster E3m7FO3Y3FSvN72N master
  75. +MONITOR eaton3s 1 monmaster Ya9Lo2Rsi4Q4tuzF master
  76. MINSUPPLIES 1
  77. SHUTDOWNCMD "/sbin/shutdown -h +0"
  78. NOTIFYCMD "/sbin/upssched"
  79. ----------
  80. ID: configure_nut_upssched_conf
  81. Function: file.managed
  82. Name: /etc/nut/upssched.conf
  83. Result: True
  84. Comment: File /etc/nut/upssched.conf is in the correct state
  85. Started: 22:38:28.075300
  86. Duration: 20.07 ms
  87. Changes:
  88. ----------
  89. ID: configure_nut_default_upssched_cmd
  90. Function: file.managed
  91. Name: /etc/default/upssched-cmd
  92. Result: True
  93. Comment: File /etc/default/upssched-cmd updated
  94. Started: 22:38:28.095629
  95. Duration: 5.968 ms
  96. Changes:
  97. ----------
  98. diff:
  99. ---
  100. +++
  101. @@ -1,4 +1,4 @@
  102. # This file is auto-generated by openmediavault (https://www.openmediavault.org)
  103. # WARNING: Do not edit this file, your changes will get lost.
  104. OMV_NUT_UPSSCHEDCMD_EMAIL_ENABLE="YES"
  105. -OMV_NUT_UPSSCHEDCMD_SHUTDOWNTIMER=600
  106. +OMV_NUT_UPSSCHEDCMD_SHUTDOWNTIMER=30
  107. ----------
  108. ID: remove_nut_udev_serialups_rule
  109. Function: file.absent
  110. Name: /etc/udev/rules.d/99-openmediavault-nut-serialups.rules
  111. Result: True
  112. Comment: File /etc/udev/rules.d/99-openmediavault-nut-serialups.rules is not present
  113. Started: 22:38:28.101843
  114. Duration: 0.674 ms
  115. Changes:
  116. ----------
  117. ID: start_nut_driver_service
  118. Function: service.running
  119. Name: nut-driver
  120. Result: False
  121. Comment: Service nut-driver is already enabled, and is dead
  122. Started: 22:38:28.119687
  123. Duration: 6016.504 ms
  124. Changes:
  125. ----------
  126. ID: start_nut_server_service
  127. Function: service.running
  128. Name: nut-server
  129. Result: True
  130. Comment: Service nut-server is already enabled, and is running
  131. Started: 22:38:34.140151
  132. Duration: 20697.979 ms
  133. Changes:
  134. ----------
  135. nut-server:
  136. True
  137. ----------
  138. ID: monitor_nut_server_service
  139. Function: monit.monitor
  140. Name: nut-server
  141. Result: False
  142. Comment: An exception occurred in this state: Traceback (most recent call last):
  143. File "/usr/lib/python3/dist-packages/salt/state.py", line 1933, in call
  144. **cdata['kwargs'])
  145. File "/usr/lib/python3/dist-packages/salt/loader.py", line 1951, in wrapper
  146. return f(*args, **kwargs)
  147. File "/usr/lib/python3/dist-packages/salt/states/monit.py", line 48, in monitor
  148. if 'Running' in value[name]:
  149. TypeError: string indices must be integers
  150. Started: 22:38:54.844714
  151. Duration: 31.953 ms
  152. Changes:
  153. ----------
  154. ID: start_nut_monitor_service
  155. Function: service.running
  156. Name: nut-monitor
  157. Result: True
  158. Comment: Service nut-monitor is already enabled, and is running
  159. Started: 22:38:54.877959
  160. Duration: 190.063 ms
  161. Changes:
  162. ----------
  163. nut-monitor:
  164. True
  165. ----------
  166. ID: monitor_nut_monitor_service
  167. Function: monit.monitor
  168. Name: nut-monitor
  169. Result: False
  170. Comment: An exception occurred in this state: Traceback (most recent call last):
  171. File "/usr/lib/python3/dist-packages/salt/state.py", line 1933, in call
  172. **cdata['kwargs'])
  173. File "/usr/lib/python3/dist-packages/salt/loader.py", line 1951, in wrapper
  174. return f(*args, **kwargs)
  175. File "/usr/lib/python3/dist-packages/salt/states/monit.py", line 48, in monitor
  176. if 'Running' in value[name]:
  177. TypeError: string indices must be integers
  178. Started: 22:38:55.068469
  179. Duration: 18.876 ms
  180. Changes:
  181.  
  182. Summary for HP-OMV.workgroup
  183. -------------
  184. Succeeded: 10 (changed=5)
  185. Failed: 3
  186. -------------
  187. Total states run: 13
  188. Total run time: 27.174 s in /usr/share/php/openmediavault/system/process.inc:182
  189. Stack trace:
  190. #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute()
  191. #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
  192. #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
  193. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  194. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
  195. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatuscI...', '/tmp/bgoutputuI...')
  196. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
  197. #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
  198. #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
  199. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
  200. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
  201. #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
  202. #12 {main}
RAW Paste Data