Advertisement
Romi-Arg

Docker logs worker

Jul 14th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.94 KB | None | 0 0
  1. root@romina-HP-ENVY-Notebook:/home/romina/WebODM# docker logs worker
  2. Postgres is up - executing command
  3. wait-for-it.sh: waiting for broker:6379 without a timeout
  4. wait-for-it.sh: broker:6379 is available after 0 seconds
  5. wait-for-it.sh: waiting for webapp:8000 without a timeout
  6. wait-for-it.sh: webapp:8000 is available after 8 seconds
  7. Checking for celery... OK
  8. Starting worker using broker at redis://broker
  9. INFO Initializing GRASS engine using /usr/bin/grass76
  10. /usr/local/lib/python3.6/site-packages/celery/platforms.py:795: RuntimeWarning: You're running the worker with superuser privileges: this is
  11. absolutely not recommended!
  12.  
  13. Please specify a different user using the -u option.
  14.  
  15. User information: uid=0 euid=0 gid=0 egid=0
  16.  
  17. uid=uid, euid=euid, gid=gid, egid=egid,
  18. INFO Processing status: 40 for Task [Task of 2019-07-13T00:21:11.603Z] (5c9bd8de-0c96-4cee-9a70-5d704e146e02)
  19. [2019-07-13 14:36:08,577: INFO/ForkPoolWorker-2] worker.tasks.process_task[a2f21091-f352-426f-9aec-d4f5b8175334]: Processing status: 40 for Task [Task of 2019-07-13T00:21:11.603Z] (5c9bd8de-0c96-4cee-9a70-5d704e146e02)
  20. INFO Removing old assets directory: /webodm/app/media/project/2/task/5c9bd8de-0c96-4cee-9a70-5d704e146e02/assets/ for Task [Task of 2019-07-13T00:21:11.603Z] (5c9bd8de-0c96-4cee-9a70-5d704e146e02)
  21. [2019-07-13 14:36:08,620: INFO/ForkPoolWorker-2] worker.tasks.process_task[a2f21091-f352-426f-9aec-d4f5b8175334]: Removing old assets directory: /webodm/app/media/project/2/task/5c9bd8de-0c96-4cee-9a70-5d704e146e02/assets/ for Task [Task of 2019-07-13T00:21:11.603Z] (5c9bd8de-0c96-4cee-9a70-5d704e146e02)
  22. INFO Downloading all.zip for Task [Task of 2019-07-13T00:21:11.603Z] (5c9bd8de-0c96-4cee-9a70-5d704e146e02)
  23. [2019-07-13 14:36:09,728: INFO/ForkPoolWorker-2] worker.tasks.process_task[a2f21091-f352-426f-9aec-d4f5b8175334]: Downloading all.zip for Task [Task of 2019-07-13T00:21:11.603Z] (5c9bd8de-0c96-4cee-9a70-5d704e146e02)
  24. INFO Processing... Task [Task of 2019-07-13T15:38:37.086Z] (1fb8f711-9855-4d4a-948d-a8ebd0140082)
  25. [2019-07-13 15:39:24,672: INFO/ForkPoolWorker-132] worker.tasks.process_task[0dd18682-154d-4c8e-b8ab-f65e4776f3ad]: Processing... Task [Task of 2019-07-13T15:38:37.086Z] (1fb8f711-9855-4d4a-948d-a8ebd0140082)
  26. INFO Removing Task [Task of 2019-07-13T15:38:37.086Z] (1fb8f711-9855-4d4a-948d-a8ebd0140082)
  27. [2019-07-13 15:42:02,601: INFO/ForkPoolWorker-141] worker.tasks.process_task[7ef72f54-441c-499a-92fd-1fe5f7c3034c]: Removing Task [Task of 2019-07-13T15:38:37.086Z] (1fb8f711-9855-4d4a-948d-a8ebd0140082)
  28. INFO Cleaning up OAM datastore for task 1fb8f711-9855-4d4a-948d-a8ebd0140082
  29. [2019-07-13 15:42:02,948: INFO/ForkPoolWorker-141] worker.tasks.process_task[7ef72f54-441c-499a-92fd-1fe5f7c3034c]: Cleaning up OAM datastore for task 1fb8f711-9855-4d4a-948d-a8ebd0140082
  30. INFO Processing... Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  31. [2019-07-13 15:42:37,297: INFO/ForkPoolWorker-142] worker.tasks.process_task[addc2dba-f651-46e4-8053-dd2824c9ca24]: Processing... Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  32. INFO Deleted 1 projects
  33. [2019-07-13 15:43:02,272: INFO/ForkPoolWorker-143] worker.tasks.cleanup_projects[64a8ee3b-7a8b-4dd7-9403-b319686d4031]: Deleted 1 projects
  34. INFO Processing status: 40 for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  35. [2019-07-13 17:53:24,507: INFO/ForkPoolWorker-510] worker.tasks.process_task[f32250ed-a4c9-4832-b0a7-b77c4911cb27]: Processing status: 40 for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  36. INFO Downloading all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  37. [2019-07-13 17:53:24,510: INFO/ForkPoolWorker-510] worker.tasks.process_task[f32250ed-a4c9-4832-b0a7-b77c4911cb27]: Downloading all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  38. INFO Extracting all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  39. [2019-07-13 18:35:52,872: INFO/ForkPoolWorker-510] worker.tasks.process_task[f32250ed-a4c9-4832-b0a7-b77c4911cb27]: Extracting all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  40. ERROR Uncaught error! This is potentially bad. Please report it to http://github.com/OpenDroneMap/WebODM/issues: Error -3 while decompressing data: invalid distance code Traceback (most recent call last):
  41. File "/webodm/worker/tasks.py", line 103, in process_task
  42. task.process()
  43. File "/webodm/app/models/task.py", line 624, in process
  44. self.extract_assets_and_complete()
  45. File "/webodm/app/models/task.py", line 659, in extract_assets_and_complete
  46. zip_h.extractall(assets_dir)
  47. File "/usr/local/lib/python3.6/zipfile.py", line 1524, in extractall
  48. self._extract_member(zipinfo, path, pwd)
  49. File "/usr/local/lib/python3.6/zipfile.py", line 1579, in _extract_member
  50. shutil.copyfileobj(source, target)
  51. File "/usr/local/lib/python3.6/shutil.py", line 79, in copyfileobj
  52. buf = fsrc.read(length)
  53. File "/usr/local/lib/python3.6/zipfile.py", line 872, in read
  54. data = self._read1(n)
  55. File "/usr/local/lib/python3.6/zipfile.py", line 948, in _read1
  56. data = self._decompressor.decompress(data, n)
  57. zlib.error: Error -3 while decompressing data: invalid distance code
  58.  
  59. [2019-07-13 18:35:57,784: ERROR/ForkPoolWorker-510] worker.tasks.process_task[f32250ed-a4c9-4832-b0a7-b77c4911cb27]: Uncaught error! This is potentially bad. Please report it to http://github.com/OpenDroneMap/WebODM/issues: Error -3 while decompressing data: invalid distance code Traceback (most recent call last):
  60. File "/webodm/worker/tasks.py", line 103, in process_task
  61. task.process()
  62. File "/webodm/app/models/task.py", line 624, in process
  63. self.extract_assets_and_complete()
  64. File "/webodm/app/models/task.py", line 659, in extract_assets_and_complete
  65. zip_h.extractall(assets_dir)
  66. File "/usr/local/lib/python3.6/zipfile.py", line 1524, in extractall
  67. self._extract_member(zipinfo, path, pwd)
  68. File "/usr/local/lib/python3.6/zipfile.py", line 1579, in _extract_member
  69. shutil.copyfileobj(source, target)
  70. File "/usr/local/lib/python3.6/shutil.py", line 79, in copyfileobj
  71. buf = fsrc.read(length)
  72. File "/usr/local/lib/python3.6/zipfile.py", line 872, in read
  73. data = self._read1(n)
  74. File "/usr/local/lib/python3.6/zipfile.py", line 948, in _read1
  75. data = self._decompressor.decompress(data, n)
  76. zlib.error: Error -3 while decompressing data: invalid distance code
  77.  
  78. INFO Processing status: 40 for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  79. [2019-07-13 18:35:59,003: INFO/ForkPoolWorker-593] worker.tasks.process_task[0a92ed09-4b3a-4183-86e2-bc43ccfbae41]: Processing status: 40 for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  80. INFO Removing old assets directory: /webodm/app/media/project/4/task/ea87b8e8-cc16-4ec8-add3-691d3a1207ea/assets/ for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  81. [2019-07-13 18:35:59,004: INFO/ForkPoolWorker-593] worker.tasks.process_task[0a92ed09-4b3a-4183-86e2-bc43ccfbae41]: Removing old assets directory: /webodm/app/media/project/4/task/ea87b8e8-cc16-4ec8-add3-691d3a1207ea/assets/ for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  82. INFO Downloading all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  83. [2019-07-13 18:35:59,402: INFO/ForkPoolWorker-593] worker.tasks.process_task[0a92ed09-4b3a-4183-86e2-bc43ccfbae41]: Downloading all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  84. INFO Extracting all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  85. [2019-07-13 19:17:21,343: INFO/ForkPoolWorker-593] worker.tasks.process_task[0a92ed09-4b3a-4183-86e2-bc43ccfbae41]: Extracting all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  86. ERROR Uncaught error! This is potentially bad. Please report it to http://github.com/OpenDroneMap/WebODM/issues: Error -3 while decompressing data: invalid literal/length code Traceback (most recent call last):
  87. File "/webodm/worker/tasks.py", line 103, in process_task
  88. task.process()
  89. File "/webodm/app/models/task.py", line 624, in process
  90. self.extract_assets_and_complete()
  91. File "/webodm/app/models/task.py", line 659, in extract_assets_and_complete
  92. zip_h.extractall(assets_dir)
  93. File "/usr/local/lib/python3.6/zipfile.py", line 1524, in extractall
  94. self._extract_member(zipinfo, path, pwd)
  95. File "/usr/local/lib/python3.6/zipfile.py", line 1579, in _extract_member
  96. shutil.copyfileobj(source, target)
  97. File "/usr/local/lib/python3.6/shutil.py", line 79, in copyfileobj
  98. buf = fsrc.read(length)
  99. File "/usr/local/lib/python3.6/zipfile.py", line 872, in read
  100. data = self._read1(n)
  101. File "/usr/local/lib/python3.6/zipfile.py", line 948, in _read1
  102. data = self._decompressor.decompress(data, n)
  103. zlib.error: Error -3 while decompressing data: invalid literal/length code
  104.  
  105. [2019-07-13 19:17:22,684: ERROR/ForkPoolWorker-593] worker.tasks.process_task[0a92ed09-4b3a-4183-86e2-bc43ccfbae41]: Uncaught error! This is potentially bad. Please report it to http://github.com/OpenDroneMap/WebODM/issues: Error -3 while decompressing data: invalid literal/length code Traceback (most recent call last):
  106. File "/webodm/worker/tasks.py", line 103, in process_task
  107. task.process()
  108. File "/webodm/app/models/task.py", line 624, in process
  109. self.extract_assets_and_complete()
  110. File "/webodm/app/models/task.py", line 659, in extract_assets_and_complete
  111. zip_h.extractall(assets_dir)
  112. File "/usr/local/lib/python3.6/zipfile.py", line 1524, in extractall
  113. self._extract_member(zipinfo, path, pwd)
  114. File "/usr/local/lib/python3.6/zipfile.py", line 1579, in _extract_member
  115. shutil.copyfileobj(source, target)
  116. File "/usr/local/lib/python3.6/shutil.py", line 79, in copyfileobj
  117. buf = fsrc.read(length)
  118. File "/usr/local/lib/python3.6/zipfile.py", line 872, in read
  119. data = self._read1(n)
  120. File "/usr/local/lib/python3.6/zipfile.py", line 948, in _read1
  121. data = self._decompressor.decompress(data, n)
  122. zlib.error: Error -3 while decompressing data: invalid literal/length code
  123.  
  124. INFO Processing status: 40 for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  125. [2019-07-13 19:17:24,077: INFO/ForkPoolWorker-593] worker.tasks.process_task[bc1df72c-e58b-4e5c-a36f-7573e3c79688]: Processing status: 40 for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  126. INFO Removing old assets directory: /webodm/app/media/project/4/task/ea87b8e8-cc16-4ec8-add3-691d3a1207ea/assets/ for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  127. [2019-07-13 19:17:24,078: INFO/ForkPoolWorker-593] worker.tasks.process_task[bc1df72c-e58b-4e5c-a36f-7573e3c79688]: Removing old assets directory: /webodm/app/media/project/4/task/ea87b8e8-cc16-4ec8-add3-691d3a1207ea/assets/ for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  128. INFO Downloading all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  129. [2019-07-13 19:17:24,415: INFO/ForkPoolWorker-593] worker.tasks.process_task[bc1df72c-e58b-4e5c-a36f-7573e3c79688]: Downloading all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  130. [2019-07-13 19:37:28,389: WARNING/MainProcess] consumer: Connection to broker lost. Trying to re-establish the connection...
  131. Traceback (most recent call last):
  132. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 177, in _read_from_socket
  133. raise socket.error(SERVER_CLOSED_CONNECTION_ERROR)
  134. OSError: Connection closed by server.
  135.  
  136. During handling of the above exception, another exception occurred:
  137.  
  138. Traceback (most recent call last):
  139. File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 2408, in _execute
  140. return command(*args)
  141. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 624, in read_response
  142. response = self._parser.read_response()
  143. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 284, in read_response
  144. response = self._buffer.readline()
  145. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 216, in readline
  146. self._read_from_socket()
  147. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 191, in _read_from_socket
  148. (e.args,))
  149. redis.exceptions.ConnectionError: Error while reading from socket: ('Connection closed by server.',)
  150.  
  151. During handling of the above exception, another exception occurred:
  152.  
  153. Traceback (most recent call last):
  154. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 484, in connect
  155. sock = self._connect()
  156. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 541, in _connect
  157. raise err
  158. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 529, in _connect
  159. sock.connect(socket_address)
  160. ConnectionRefusedError: [Errno 111] Connection refused
  161.  
  162. During handling of the above exception, another exception occurred:
  163.  
  164. Traceback (most recent call last):
  165. File "/usr/local/lib/python3.6/site-packages/celery/worker/consumer/consumer.py", line 320, in start
  166. blueprint.start(self)
  167. File "/usr/local/lib/python3.6/site-packages/celery/bootsteps.py", line 119, in start
  168. step.start(parent)
  169. File "/usr/local/lib/python3.6/site-packages/celery/worker/consumer/consumer.py", line 596, in start
  170. c.loop(*c.loop_args())
  171. File "/usr/local/lib/python3.6/site-packages/celery/worker/loops.py", line 88, in asynloop
  172. next(loop)
  173. File "/usr/local/lib/python3.6/site-packages/kombu/async/hub.py", line 354, in create_loop
  174. cb(*cbargs)
  175. File "/usr/local/lib/python3.6/site-packages/kombu/transport/redis.py", line 1040, in on_readable
  176. self.cycle.on_readable(fileno)
  177. File "/usr/local/lib/python3.6/site-packages/kombu/transport/redis.py", line 337, in on_readable
  178. chan.handlers[type]()
  179. File "/usr/local/lib/python3.6/site-packages/kombu/transport/redis.py", line 667, in _receive
  180. ret.append(self._receive_one(c))
  181. File "/usr/local/lib/python3.6/site-packages/kombu/transport/redis.py", line 678, in _receive_one
  182. response = c.parse_response()
  183. File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 2430, in parse_response
  184. return self._execute(connection, connection.read_response)
  185. File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 2415, in _execute
  186. connection.connect()
  187. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 489, in connect
  188. raise ConnectionError(self._error_message(e))
  189. redis.exceptions.ConnectionError: Error 111 connecting to broker:6379. Connection refused.
  190. [2019-07-13 19:37:28,408: ERROR/MainProcess] consumer: Cannot connect to redis://broker:6379//: Error 111 connecting to broker:6379. Connection refused..
  191. Trying again in 2.00 seconds...
  192.  
  193. [2019-07-13 19:37:30,522: ERROR/MainProcess] consumer: Cannot connect to redis://broker:6379//: Error -5 connecting to broker:6379. No address associated with hostname..
  194. Trying again in 4.00 seconds...
  195.  
  196. Exception in thread Thread-2:
  197. Traceback (most recent call last):
  198. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 177, in _read_from_socket
  199. raise socket.error(SERVER_CLOSED_CONNECTION_ERROR)
  200. OSError: Connection closed by server.
  201.  
  202. During handling of the above exception, another exception occurred:
  203.  
  204. Traceback (most recent call last):
  205. File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 668, in execute_command
  206. return self.parse_response(connection, command_name, **options)
  207. File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 680, in parse_response
  208. response = connection.read_response()
  209. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 624, in read_response
  210. response = self._parser.read_response()
  211. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 284, in read_response
  212. response = self._buffer.readline()
  213. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 216, in readline
  214. self._read_from_socket()
  215. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 191, in _read_from_socket
  216. (e.args,))
  217. redis.exceptions.ConnectionError: Error while reading from socket: ('Connection closed by server.',)
  218.  
  219. During handling of the above exception, another exception occurred:
  220.  
  221. Traceback (most recent call last):
  222. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 484, in connect
  223. sock = self._connect()
  224. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 511, in _connect
  225. socket.SOCK_STREAM):
  226. File "/usr/local/lib/python3.6/socket.py", line 745, in getaddrinfo
  227. for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  228. socket.gaierror: [Errno -5] No address associated with hostname
  229.  
  230. During handling of the above exception, another exception occurred:
  231.  
  232. Traceback (most recent call last):
  233. File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  234. self.run()
  235. File "/usr/local/lib/python3.6/threading.py", line 864, in run
  236. self._target(*self._args, **self._kwargs)
  237. File "/webodm/worker/tasks.py", line 67, in loop
  238. func(*args)
  239. File "/webodm/worker/tasks.py", line 93, in update_lock
  240. redis_client.set(lock_id, time.time())
  241. File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 1171, in set
  242. return self.execute_command('SET', *pieces)
  243. File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 673, in execute_command
  244. connection.send_command(*args)
  245. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 610, in send_command
  246. self.send_packed_command(self.pack_command(*args))
  247. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 585, in send_packed_command
  248. self.connect()
  249. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 489, in connect
  250. raise ConnectionError(self._error_message(e))
  251. redis.exceptions.ConnectionError: Error -5 connecting to broker:6379. No address associated with hostname.
  252.  
  253. Exception in thread Thread-24:
  254. Traceback (most recent call last):
  255. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 177, in _read_from_socket
  256. raise socket.error(SERVER_CLOSED_CONNECTION_ERROR)
  257. OSError: Connection closed by server.
  258.  
  259. During handling of the above exception, another exception occurred:
  260.  
  261. Traceback (most recent call last):
  262. File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 668, in execute_command
  263. return self.parse_response(connection, command_name, **options)
  264. File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 680, in parse_response
  265. response = connection.read_response()
  266. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 624, in read_response
  267. response = self._parser.read_response()
  268. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 284, in read_response
  269. response = self._buffer.readline()
  270. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 216, in readline
  271. self._read_from_socket()
  272. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 191, in _read_from_socket
  273. (e.args,))
  274. redis.exceptions.ConnectionError: Error while reading from socket: ('Connection closed by server.',)
  275.  
  276. During handling of the above exception, another exception occurred:
  277.  
  278. Traceback (most recent call last):
  279. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 484, in connect
  280. sock = self._connect()
  281. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 511, in _connect
  282. socket.SOCK_STREAM):
  283. File "/usr/local/lib/python3.6/socket.py", line 745, in getaddrinfo
  284. for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  285. socket.gaierror: [Errno -5] No address associated with hostname
  286.  
  287. During handling of the above exception, another exception occurred:
  288.  
  289. Traceback (most recent call last):
  290. File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  291. self.run()
  292. File "/usr/local/lib/python3.6/threading.py", line 864, in run
  293. self._target(*self._args, **self._kwargs)
  294. File "/webodm/worker/tasks.py", line 67, in loop
  295. func(*args)
  296. File "/webodm/worker/tasks.py", line 93, in update_lock
  297. redis_client.set(lock_id, time.time())
  298. File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 1171, in set
  299. return self.execute_command('SET', *pieces)
  300. File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 673, in execute_command
  301. connection.send_command(*args)
  302. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 610, in send_command
  303. self.send_packed_command(self.pack_command(*args))
  304. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 585, in send_packed_command
  305. self.connect()
  306. File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 489, in connect
  307. raise ConnectionError(self._error_message(e))
  308. redis.exceptions.ConnectionError: Error -5 connecting to broker:6379. No address associated with hostname.
  309.  
  310. [2019-07-13 19:37:34,722: ERROR/MainProcess] consumer: Cannot connect to redis://broker:6379//: Error -5 connecting to broker:6379. No address associated with hostname..
  311. Trying again in 6.00 seconds...
  312.  
  313. Postgres is up - executing command
  314. wait-for-it.sh: waiting for broker:6379 without a timeout
  315. wait-for-it.sh: broker:6379 is available after 228 seconds
  316. wait-for-it.sh: waiting for webapp:8000 without a timeout
  317. wait-for-it.sh: webapp:8000 is available after 6 seconds
  318. Checking for celery... OK
  319. Starting worker using broker at redis://broker
  320. INFO Initializing GRASS engine using /usr/bin/grass76
  321. /usr/local/lib/python3.6/site-packages/celery/platforms.py:795: RuntimeWarning: You're running the worker with superuser privileges: this is
  322. absolutely not recommended!
  323.  
  324. Please specify a different user using the -u option.
  325.  
  326. User information: uid=0 euid=0 gid=0 egid=0
  327.  
  328. uid=uid, euid=euid, gid=gid, egid=egid,
  329. INFO Removing Task [Task of 2019-07-13T00:21:11.603Z] (5c9bd8de-0c96-4cee-9a70-5d704e146e02)
  330. [2019-07-13 20:55:35,675: INFO/ForkPoolWorker-2] worker.tasks.process_task[055c6d10-b4a7-47e9-b7a0-caddc96d660a]: Removing Task [Task of 2019-07-13T00:21:11.603Z] (5c9bd8de-0c96-4cee-9a70-5d704e146e02)
  331. INFO Processing status: 40 for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  332. [2019-07-13 20:55:36,688: INFO/ForkPoolWorker-3] worker.tasks.process_task[eb7c8484-dc9e-4ef5-9b0a-71849056bc5e]: Processing status: 40 for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  333. INFO Removing old assets directory: /webodm/app/media/project/4/task/ea87b8e8-cc16-4ec8-add3-691d3a1207ea/assets/ for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  334. [2019-07-13 20:55:36,710: INFO/ForkPoolWorker-3] worker.tasks.process_task[eb7c8484-dc9e-4ef5-9b0a-71849056bc5e]: Removing old assets directory: /webodm/app/media/project/4/task/ea87b8e8-cc16-4ec8-add3-691d3a1207ea/assets/ for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  335. INFO Downloading all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  336. [2019-07-13 20:55:37,178: INFO/ForkPoolWorker-3] worker.tasks.process_task[eb7c8484-dc9e-4ef5-9b0a-71849056bc5e]: Downloading all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  337. INFO Cleaning up OAM datastore for task 5c9bd8de-0c96-4cee-9a70-5d704e146e02
  338. [2019-07-13 20:55:37,502: INFO/ForkPoolWorker-2] worker.tasks.process_task[055c6d10-b4a7-47e9-b7a0-caddc96d660a]: Cleaning up OAM datastore for task 5c9bd8de-0c96-4cee-9a70-5d704e146e02
  339. INFO Deleted 1 projects
  340. [2019-07-13 20:56:25,593: INFO/ForkPoolWorker-6] worker.tasks.cleanup_projects[94573d4f-70c5-45ec-bbb2-79ffbe9c3260]: Deleted 1 projects
  341. psql: could not translate host name "db" to address: Name or service not known
  342. Postgres is unavailable - sleeping
  343. psql: could not translate host name "db" to address: Name or service not known
  344. Postgres is unavailable - sleeping
  345. psql: could not translate host name "db" to address: Name or service not known
  346. Postgres is unavailable - sleeping
  347. psql: could not translate host name "db" to address: Name or service not known
  348. Postgres is unavailable - sleeping
  349. psql: could not translate host name "db" to address: Name or service not known
  350. Postgres is unavailable - sleeping
  351. psql: could not translate host name "db" to address: Name or service not known
  352. Postgres is unavailable - sleeping
  353. psql: could not translate host name "db" to address: Name or service not known
  354. Postgres is unavailable - sleeping
  355. psql: could not translate host name "db" to address: Name or service not known
  356. Postgres is unavailable - sleeping
  357. psql: could not translate host name "db" to address: Name or service not known
  358. Postgres is unavailable - sleeping
  359. psql: could not translate host name "db" to address: Name or service not known
  360. Postgres is unavailable - sleeping
  361. psql: could not translate host name "db" to address: Name or service not known
  362. Postgres is unavailable - sleeping
  363. psql: could not translate host name "db" to address: Name or service not known
  364. Postgres is unavailable - sleeping
  365. psql: could not translate host name "db" to address: Name or service not known
  366. Postgres is unavailable - sleeping
  367. psql: could not translate host name "db" to address: Name or service not known
  368. Postgres is unavailable - sleeping
  369. psql: could not translate host name "db" to address: Name or service not known
  370. Postgres is unavailable - sleeping
  371. psql: could not translate host name "db" to address: Name or service not known
  372. Postgres is unavailable - sleeping
  373. psql: could not translate host name "db" to address: Name or service not known
  374. Postgres is unavailable - sleeping
  375. psql: could not translate host name "db" to address: Name or service not known
  376. Postgres is unavailable - sleeping
  377. psql: could not translate host name "db" to address: Name or service not known
  378. Postgres is unavailable - sleeping
  379. psql: could not translate host name "db" to address: Name or service not known
  380. Postgres is unavailable - sleeping
  381. psql: could not translate host name "db" to address: Name or service not known
  382. Postgres is unavailable - sleeping
  383. psql: could not connect to server: Connection refused
  384. Is the server running on host "db" (172.18.0.5) and accepting
  385. TCP/IP connections on port 5432?
  386. Postgres is unavailable - sleeping
  387. Postgres is up - executing command
  388. wait-for-it.sh: waiting for broker:6379 without a timeout
  389. wait-for-it.sh: broker:6379 is available after 0 seconds
  390. wait-for-it.sh: waiting for webapp:8000 without a timeout
  391. wait-for-it.sh: webapp:8000 is available after 7 seconds
  392. Checking for celery... OK
  393. Starting worker using broker at redis://broker
  394. INFO Initializing GRASS engine using /usr/bin/grass76
  395. /usr/local/lib/python3.6/site-packages/celery/platforms.py:795: RuntimeWarning: You're running the worker with superuser privileges: this is
  396. absolutely not recommended!
  397.  
  398. Please specify a different user using the -u option.
  399.  
  400. User information: uid=0 euid=0 gid=0 egid=0
  401.  
  402. uid=uid, euid=euid, gid=gid, egid=egid,
  403. INFO Processing status: 40 for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  404. [2019-07-14 13:14:20,856: INFO/ForkPoolWorker-2] worker.tasks.process_task[7e47c618-f558-4b7b-93d4-61d157c0e44d]: Processing status: 40 for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  405. INFO Downloading all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
  406. [2019-07-14 13:14:20,859: INFO/ForkPoolWorker-2] worker.tasks.process_task[7e47c618-f558-4b7b-93d4-61d157c0e44d]: Downloading all.zip for Task [Task of 2019-07-13T15:42:16.674Z] (ea87b8e8-cc16-4ec8-add3-691d3a1207ea)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement