Guest User

Untitled

a guest
May 15th, 2025
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.66 KB | None | 0 0
  1. (monolith) cchq@monolith:~$ sudo -iu cchq
  2. (monolith) cchq@monolith:~$ cd /home/cchq/www/monolith/current
  3. (monolith) cchq@monolith:~/www/monolith/current$ source python_env/bin/activate
  4. (python_env-3.9) (monolith) cchq@monolith:~/www/monolith/current$ INDEX_CNAME='apps'
  5. (python_env-3.9) (monolith) cchq@monolith:~/www/monolith/current$ ./manage.py elastic_sync_multiplexed start ${INDEX_CNAME}
  6. 2025-05-15 04:43:28,032 INFO [elastic_sync_multiplexed] Preparing index apps-2024-05-09 for reindex
  7. 2025-05-15 04:43:28,246 INFO [elastic_sync_multiplexed] Starting ReIndex process
  8. 2025-05-15 04:43:28,302 INFO [elastic_sync_multiplexed] Copying docs from index apps-20230524 to index apps-2024-05-09
  9.  
  10.  
  11.  
  12.  
  13. 2025-05-15 04:43:28,303 INFO [elastic_sync_multiplexed] -----------------IMPORTANT-----------------
  14. 2025-05-15 04:43:28,303 INFO [elastic_sync_multiplexed] TASK NUMBER - 973
  15. 2025-05-15 04:43:28,303 INFO [elastic_sync_multiplexed] -------------------------------------------
  16. 2025-05-15 04:43:28,303 INFO [elastic_sync_multiplexed] Save this Task Number, You will need it later for verifying your reindex process
  17.  
  18.  
  19.  
  20.  
  21. Looking for task with ID 'FPBZpy4EQd6pIh42hfgZUg:973' running on 'es0'
  22. Progress 0.00% (0 / 1302). Elapsed time: 0:00:10. Estimated remaining time: (average since start = unknown) (recent average = ) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  23. Progress 0.00% (0 / 1302). Elapsed time: 0:00:20. Estimated remaining time: (average since start = unknown) (recent average = ) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  24. Progress 0.00% (0 / 1302). Elapsed time: 0:00:30. Estimated remaining time: (average since start = unknown) (recent average = ) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  25. Progress 0.00% (0 / 1302). Elapsed time: 0:00:40. Estimated remaining time: (average since start = unknown) (recent average = ) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  26. Progress 0.00% (0 / 1302). Elapsed time: 0:00:50. Estimated remaining time: (average since start = unknown) (recent average = ) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  27. Progress 76.80% (1000 / 1302). Elapsed time: 0:01:00. Estimated remaining time: (average since start = 0:00:18) (recent average = ) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  28. Progress 100.00% (1302 / 1302). Elapsed time: 0:01:10. Estimated remaining time: (average since start = 0:00:00) (recent average = 0:00:00) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  29. Progress 100.00% (1302 / 1302). Elapsed time: 0:01:20. Estimated remaining time: (average since start = 0:00:00) (recent average = 0:00:00) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  30. Progress 100.00% (1302 / 1302). Elapsed time: 0:01:30. Estimated remaining time: (average since start = 0:00:00) (recent average = 0:00:00) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  31. Progress 100.00% (1302 / 1302). Elapsed time: 0:01:40. Estimated remaining time: (average since start = 0:00:00) (recent average = 0:00:00) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  32. Progress 100.00% (1302 / 1302). Elapsed time: 0:01:50. Estimated remaining time: (average since start = 0:00:00) (recent average = 0:00:00) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  33. Progress 100.00% (1302 / 1302). Elapsed time: 0:02:00. Estimated remaining time: (average since start = 0:00:00) (recent average = 0:00:00) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  34. Progress 100.00% (1302 / 1302). Elapsed time: 0:02:10. Estimated remaining time: (average since start = 0:00:00) (recent average = 0:00:00) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  35. Progress 100.00% (1302 / 1302). Elapsed time: 0:02:20. Estimated remaining time: (average since start = 0:00:00) (recent average = 0:00:00) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  36. Progress 100.00% (1302 / 1302). Elapsed time: 0:02:30. Estimated remaining time: (average since start = 0:00:00) (recent average = 0:00:00) Task ID: FPBZpy4EQd6pIh42hfgZUg:973
  37. Traceback (most recent call last):
  38. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/./manage.py", line 172, in <module>
  39. main()
  40. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/./manage.py", line 50, in main
  41. execute_from_command_line(sys.argv)
  42. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/python_env/lib/python3.9/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
  43. utility.execute()
  44. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/python_env/lib/python3.9/site-packages/django/core/management/__init__.py", line 436, in execute
  45. self.fetch_command(subcommand).run_from_argv(self.argv)
  46. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/python_env/lib/python3.9/site-packages/django/core/management/base.py", line 412, in run_from_argv
  47. self.execute(*args, **cmd_options)
  48. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/python_env/lib/python3.9/site-packages/django/core/management/base.py", line 458, in execute
  49. output = self.handle(*args, **options)
  50. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/corehq/apps/es/management/commands/elastic_sync_multiplexed.py", line 624, in handle
  51. cmd_func(
  52. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/corehq/apps/es/management/commands/elastic_sync_multiplexed.py", line 72, in start_reindex
  53. check_task_progress(task_id)
  54. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/corehq/apps/es/utils.py", line 101, in check_task_progress
  55. task_details = manager.get_task(task_id=task_id)
  56. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/corehq/apps/es/client.py", line 154, in get_task
  57. task_details = self._es.tasks.get(task_id=task_id)
  58. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/python_env/lib/python3.9/site-packages/elasticsearch6/client/utils.py", line 101, in _wrapped
  59. return func(*args, params=params, **kwargs)
  60. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/python_env/lib/python3.9/site-packages/elasticsearch6/client/tasks.py", line 84, in get
  61. return self.transport.perform_request(
  62. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/python_env/lib/python3.9/site-packages/elasticsearch6/transport.py", line 402, in perform_request
  63. status, headers_response, data = connection.perform_request(
  64. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/python_env/lib/python3.9/site-packages/elasticsearch6/connection/http_urllib3.py", line 252, in perform_request
  65. self._raise_error(response.status, raw_data)
  66. File "/home/cchq/www/monolith/releases/2025-05-15_03.39/python_env/lib/python3.9/site-packages/elasticsearch6/connection/base.py", line 253, in _raise_error
  67. raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
  68. elasticsearch6.exceptions.TransportError: TransportError(503, 'no_shard_available_action_exception', 'No shard available for [get [.tasks][task][FPBZpy4EQd6pIh42hfgZUg:973]: routing [null]]')
Advertisement
Add Comment
Please, Sign In to add comment