Advertisement
Guest User

Untitled

a guest
Nov 30th, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.34 KB | None | 0 0
  1. spx@wissensdatenbank:~$ curl -XGET localhost:9200/_cluster/allocation/explain?pretty
  2. {
  3. "index" : "zammad_production_cti_log",
  4. "shard" : 0,
  5. "primary" : false,
  6. "current_state" : "unassigned",
  7. "unassigned_info" : {
  8. "reason" : "CLUSTER_RECOVERED",
  9. "at" : "2020-11-30T12:19:05.369Z",
  10. "last_allocation_status" : "no_attempt"
  11. },
  12. "can_allocate" : "no",
  13. "allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
  14. "node_allocation_decisions" : [
  15. {
  16. "node_id" : "LWkomN95Q4Gwux2jwkk_lA",
  17. "node_name" : "wissensdatenbank",
  18. "transport_address" : "127.0.0.1:9300",
  19. "node_attributes" : {
  20. "ml.machine_memory" : "4136869888",
  21. "xpack.installed" : "true",
  22. "transform.node" : "true",
  23. "ml.max_open_jobs" : "20"
  24. },
  25. "node_decision" : "no",
  26. "deciders" : [
  27. {
  28. "decider" : "same_shard",
  29. "decision" : "NO",
  30. "explanation" : "a copy of this shard is already allocated to this node [[zammad_production_cti_log][0], node[LWkomN95Q4Gwux2jwkk_lA], [P], s[STARTED], a[id=ms9tBn8XRfGp1HWvP9_2zQ]]"
  31. }
  32. ]
  33. }
  34. ]
  35. }
  36. spx@wissensdatenbank:~$ curl -XDELETE 'localhost:9200/zammad_production_cti_log/'
  37. {"acknowledged":true}spx@wissensdatenbank:~$
  38. spx@wissensdatenbank:~$ curl http://localhost:9200/_cluster/health?pretty
  39. {
  40. "cluster_name" : "elasticsearch",
  41. "status" : "yellow",
  42. "timed_out" : false,
  43. "number_of_nodes" : 1,
  44. "number_of_data_nodes" : 1,
  45. "active_primary_shards" : 8,
  46. "active_shards" : 8,
  47. "relocating_shards" : 0,
  48. "initializing_shards" : 0,
  49. "unassigned_shards" : 8,
  50. "delayed_unassigned_shards" : 0,
  51. "number_of_pending_tasks" : 0,
  52. "number_of_in_flight_fetch" : 0,
  53. "task_max_waiting_in_queue_millis" : 0,
  54. "active_shards_percent_as_number" : 50.0
  55. }
  56. spx@wissensdatenbank:~$ curl -XGET localhost:9200/_cluster/allocation/explain?pretty
  57. {
  58. "index" : "zammad_production_knowledge_base_translation",
  59. "shard" : 0,
  60. "primary" : false,
  61. "current_state" : "unassigned",
  62. "unassigned_info" : {
  63. "reason" : "CLUSTER_RECOVERED",
  64. "at" : "2020-11-30T12:19:05.369Z",
  65. "last_allocation_status" : "no_attempt"
  66. },
  67. "can_allocate" : "no",
  68. "allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
  69. "node_allocation_decisions" : [
  70. {
  71. "node_id" : "LWkomN95Q4Gwux2jwkk_lA",
  72. "node_name" : "wissensdatenbank",
  73. "transport_address" : "127.0.0.1:9300",
  74. "node_attributes" : {
  75. "ml.machine_memory" : "4136869888",
  76. "xpack.installed" : "true",
  77. "transform.node" : "true",
  78. "ml.max_open_jobs" : "20"
  79. },
  80. "node_decision" : "no",
  81. "deciders" : [
  82. {
  83. "decider" : "same_shard",
  84. "decision" : "NO",
  85. "explanation" : "a copy of this shard is already allocated to this node [[zammad_production_knowledge_base_translation][0], node[LWkomN95Q4Gwux2jwkk_lA], [P], s[STARTED], a[id=bl5Ljv98TsKqGTVxvu8WMA]]"
  86. }
  87. ]
  88. }
  89. ]
  90. }
  91. spx@wissensdatenbank:~$ curl -XDELETE 'localhost:9200/zammad_production_knowledge_base_translation/'
  92. {"acknowledged":true}spx@wissenGET localhost:9200/_cluster/allocation/explain?prettyge_base_translation/'
  93. {
  94. "index" : "zammad_production_organization",
  95. "shard" : 0,
  96. "primary" : false,
  97. "current_state" : "unassigned",
  98. "unassigned_info" : {
  99. "reason" : "CLUSTER_RECOVERED",
  100. "at" : "2020-11-30T12:19:05.369Z",
  101. "last_allocation_status" : "no_attempt"
  102. },
  103. "can_allocate" : "no",
  104. "allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
  105. "node_allocation_decisions" : [
  106. {
  107. "node_id" : "LWkomN95Q4Gwux2jwkk_lA",
  108. "node_name" : "wissensdatenbank",
  109. "transport_address" : "127.0.0.1:9300",
  110. "node_attributes" : {
  111. "ml.machine_memory" : "4136869888",
  112. "xpack.installed" : "true",
  113. "transform.node" : "true",
  114. "ml.max_open_jobs" : "20"
  115. },
  116. "node_decision" : "no",
  117. "deciders" : [
  118. {
  119. "decider" : "same_shard",
  120. "decision" : "NO",
  121. "explanation" : "a copy of this shard is already allocated to this node [[zammad_production_organization][0], node[LWkomN95Q4Gwux2jwkk_lA], [P], s[STARTED], a[id=21IXtjo6QwGlK9xwKw5WTA]]"
  122. }
  123. ]
  124. }
  125. ]
  126. }
  127. spx@wissensdatenbank:~$ curl -XDELETE 'localhost:9200/zammad_production_organization/'
  128. {"acknowledged":true}spx@wissenGET localhost:9200/_cluster/allocation/explain?prettyuction_organization/'
  129. {
  130. "index" : "zammad_production_knowledge_base_category_translation",
  131. "shard" : 0,
  132. "primary" : false,
  133. "current_state" : "unassigned",
  134. "unassigned_info" : {
  135. "reason" : "CLUSTER_RECOVERED",
  136. "at" : "2020-11-30T12:19:05.369Z",
  137. "last_allocation_status" : "no_attempt"
  138. },
  139. "can_allocate" : "no",
  140. "allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
  141. "node_allocation_decisions" : [
  142. {
  143. "node_id" : "LWkomN95Q4Gwux2jwkk_lA",
  144. "node_name" : "wissensdatenbank",
  145. "transport_address" : "127.0.0.1:9300",
  146. "node_attributes" : {
  147. "ml.machine_memory" : "4136869888",
  148. "xpack.installed" : "true",
  149. "transform.node" : "true",
  150. "ml.max_open_jobs" : "20"
  151. },
  152. "node_decision" : "no",
  153. "deciders" : [
  154. {
  155. "decider" : "same_shard",
  156. "decision" : "NO",
  157. "explanation" : "a copy of this shard is already allocated to this node [[zammad_production_knowledge_base_category_translation][0], node[LWkomN95Q4Gwux2jwkk_lA], [P], s[STARTED], a[id=pF9ON4N3RZ-cNbx3qwuzMw]]"
  158. }
  159. ]
  160. }
  161. ]
  162. }
  163. spx@wissensdatenbank:~$ curl -XDELETE 'localhost:9200/zammad_production_knowledge_base_category_translation/'
  164. {"acknowledged":true}spx@wissenGET localhost:9200/_cluster/allocation/explain?prettyategory_translation/'
  165. {
  166. "index" : "zammad_production_stats_store",
  167. "shard" : 0,
  168. "primary" : false,
  169. "current_state" : "unassigned",
  170. "unassigned_info" : {
  171. "reason" : "CLUSTER_RECOVERED",
  172. "at" : "2020-11-30T12:19:05.369Z",
  173. "last_allocation_status" : "no_attempt"
  174. },
  175. "can_allocate" : "no",
  176. "allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
  177. "node_allocation_decisions" : [
  178. {
  179. "node_id" : "LWkomN95Q4Gwux2jwkk_lA",
  180. "node_name" : "wissensdatenbank",
  181. "transport_address" : "127.0.0.1:9300",
  182. "node_attributes" : {
  183. "ml.machine_memory" : "4136869888",
  184. "xpack.installed" : "true",
  185. "transform.node" : "true",
  186. "ml.max_open_jobs" : "20"
  187. },
  188. "node_decision" : "no",
  189. "deciders" : [
  190. {
  191. "decider" : "same_shard",
  192. "decision" : "NO",
  193. "explanation" : "a copy of this shard is already allocated to this node [[zammad_production_stats_store][0], node[LWkomN95Q4Gwux2jwkk_lA], [P], s[STARTED], a[id=4Sbr0LJOTY-80GCzbXcPaw]]"
  194. }
  195. ]
  196. }
  197. ]
  198. }
  199. spx@wissensdatenbank:~$ curl -XDELETE 'localhost:9200/zammad_production_stats_store/'
  200. {"acknowledged":true}spx@wissenGET localhost:9200/_cluster/allocation/explain?prettyduction_stats_store/'
  201. {
  202. "index" : "zammad_production_ticket",
  203. "shard" : 0,
  204. "primary" : false,
  205. "current_state" : "unassigned",
  206. "unassigned_info" : {
  207. "reason" : "CLUSTER_RECOVERED",
  208. "at" : "2020-11-30T12:19:05.369Z",
  209. "last_allocation_status" : "no_attempt"
  210. },
  211. "can_allocate" : "no",
  212. "allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
  213. "node_allocation_decisions" : [
  214. {
  215. "node_id" : "LWkomN95Q4Gwux2jwkk_lA",
  216. "node_name" : "wissensdatenbank",
  217. "transport_address" : "127.0.0.1:9300",
  218. "node_attributes" : {
  219. "ml.machine_memory" : "4136869888",
  220. "xpack.installed" : "true",
  221. "transform.node" : "true",
  222. "ml.max_open_jobs" : "20"
  223. },
  224. "node_decision" : "no",
  225. "deciders" : [
  226. {
  227. "decider" : "same_shard",
  228. "decision" : "NO",
  229. "explanation" : "a copy of this shard is already allocated to this node [[zammad_production_ticket][0], node[LWkomN95Q4Gwux2jwkk_lA], [P], s[STARTED], a[id=i9sx-E-TQ7u73w9B7s9Qcg]]"
  230. }
  231. ]
  232. }
  233. ]
  234. }
  235. spx@wissensdatenbank:~$ curl -XDELETE 'localhost:9200/zammad_production_ticket/'
  236. {"acknowledged":true}spx@wissensdatenbank:~$
  237. spx@wissensdatenbank:~$
  238. spx@wissensdatenbank:~$
  239. spx@wissensdatenbank:~$ curl -XGET localhost:9200/_cluster/allocation/explain?pretty
  240. {
  241. "index" : "zammad_production_chat_session",
  242. "shard" : 0,
  243. "primary" : false,
  244. "current_state" : "unassigned",
  245. "unassigned_info" : {
  246. "reason" : "CLUSTER_RECOVERED",
  247. "at" : "2020-11-30T12:19:05.353Z",
  248. "last_allocation_status" : "no_attempt"
  249. },
  250. "can_allocate" : "no",
  251. "allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
  252. "node_allocation_decisions" : [
  253. {
  254. "node_id" : "LWkomN95Q4Gwux2jwkk_lA",
  255. "node_name" : "wissensdatenbank",
  256. "transport_address" : "127.0.0.1:9300",
  257. "node_attributes" : {
  258. "ml.machine_memory" : "4136869888",
  259. "xpack.installed" : "true",
  260. "transform.node" : "true",
  261. "ml.max_open_jobs" : "20"
  262. },
  263. "node_decision" : "no",
  264. "deciders" : [
  265. {
  266. "decider" : "same_shard",
  267. "decision" : "NO",
  268. "explanation" : "a copy of this shard is already allocated to this node [[zammad_production_chat_session][0], node[LWkomN95Q4Gwux2jwkk_lA], [P], s[STARTED], a[id=EXSrzoR6TqS7ARW8dnWT4g]]"
  269. }
  270. ]
  271. }
  272. ]
  273. }
  274. spx@wissensdatenbank:~$ curl -XDELETE 'localhost:9200/zammad_production_chat_session/'
  275. {"acknowledged":true}spx@wissenGET localhost:9200/_cluster/allocation/explain?prettyuction_chat_session/'
  276. {
  277. "index" : "zammad_production_knowledge_base_answer_translation",
  278. "shard" : 0,
  279. "primary" : false,
  280. "current_state" : "unassigned",
  281. "unassigned_info" : {
  282. "reason" : "CLUSTER_RECOVERED",
  283. "at" : "2020-11-30T12:19:05.369Z",
  284. "last_allocation_status" : "no_attempt"
  285. },
  286. "can_allocate" : "no",
  287. "allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
  288. "node_allocation_decisions" : [
  289. {
  290. "node_id" : "LWkomN95Q4Gwux2jwkk_lA",
  291. "node_name" : "wissensdatenbank",
  292. "transport_address" : "127.0.0.1:9300",
  293. "node_attributes" : {
  294. "ml.machine_memory" : "4136869888",
  295. "xpack.installed" : "true",
  296. "transform.node" : "true",
  297. "ml.max_open_jobs" : "20"
  298. },
  299. "node_decision" : "no",
  300. "deciders" : [
  301. {
  302. "decider" : "same_shard",
  303. "decision" : "NO",
  304. "explanation" : "a copy of this shard is already allocated to this node [[zammad_production_knowledge_base_answer_translation][0], node[LWkomN95Q4Gwux2jwkk_lA], [P], s[STARTED], a[id=crX0LM85TMeB9sUJmMWzfw]]"
  305. }
  306. ]
  307. }
  308. ]
  309. }
  310.  
  311. spx@wissensdatenbank:~$ curl -XDELETE 'localhost:9200/zammad_production_knowledge_base_answer_translation/'
  312. {"acknowledged":true}spx@wissensdatenbank:~$
  313. spx@wissensdatenbank:~$
  314. spx@wissensdatenbank:~$
  315. spx@wissensdatenbank:~$ curl -XGET localhost:9200/_cluster/allocation/explain?pretty
  316. {
  317. "index" : "zammad_production_user",
  318. "shard" : 0,
  319. "primary" : false,
  320. "current_state" : "unassigned",
  321. "unassigned_info" : {
  322. "reason" : "CLUSTER_RECOVERED",
  323. "at" : "2020-11-30T12:19:05.369Z",
  324. "last_allocation_status" : "no_attempt"
  325. },
  326. "can_allocate" : "no",
  327. "allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
  328. "node_allocation_decisions" : [
  329. {
  330. "node_id" : "LWkomN95Q4Gwux2jwkk_lA",
  331. "node_name" : "wissensdatenbank",
  332. "transport_address" : "127.0.0.1:9300",
  333. "node_attributes" : {
  334. "ml.machine_memory" : "4136869888",
  335. "xpack.installed" : "true",
  336. "transform.node" : "true",
  337. "ml.max_open_jobs" : "20"
  338. },
  339. "node_decision" : "no",
  340. "deciders" : [
  341. {
  342. "decider" : "same_shard",
  343. "decision" : "NO",
  344. "explanation" : "a copy of this shard is already allocated to this node [[zammad_production_user][0], node[LWkomN95Q4Gwux2jwkk_lA], [P], s[STARTED], a[id=QxRdCpAfRCyKzca3GTEX8g]]"
  345. }
  346. ]
  347. }
  348. ]
  349. }
  350. spx@wissensdatenbank:~$ curl -XGET localhost:9200/_cluster/allocation/explain?pretty
  351. {
  352. "index" : "zammad_production_user",
  353. "shard" : 0,
  354. "primary" : false,
  355. "current_state" : "unassigned",
  356. "unassigned_info" : {
  357. "reason" : "CLUSTER_RECOVERED",
  358. "at" : "2020-11-30T12:19:05.369Z",
  359. "last_allocation_status" : "no_attempt"
  360. },
  361. "can_allocate" : "no",
  362. "allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
  363. "node_allocation_decisions" : [
  364. {
  365. "node_id" : "LWkomN95Q4Gwux2jwkk_lA",
  366. "node_name" : "wissensdatenbank",
  367. "transport_address" : "127.0.0.1:9300",
  368. "node_attributes" : {
  369. "ml.machine_memory" : "4136869888",
  370. "xpack.installed" : "true",
  371. "transform.node" : "true",
  372. "ml.max_open_jobs" : "20"
  373. },
  374. "node_decision" : "no",
  375. "deciders" : [
  376. {
  377. "decider" : "same_shard",
  378. "decision" : "NO",
  379. "explanation" : "a copy of this shard is already allocated to this node [[zammad_production_user][0], node[LWkomN95Q4Gwux2jwkk_lA], [P], s[STARTED], a[id=QxRdCpAfRCyKzca3GTEX8g]]"
  380. }
  381. ]
  382. }
  383. ]
  384. }
  385. spx@wissensdatenbank:~$ curl -XGET localhost:9200/_cluster/allocation/explain?pretty
  386. {
  387. "index" : "zammad_production_user",
  388. "shard" : 0,
  389. "primary" : false,
  390. "current_state" : "unassigned",
  391. "unassigned_info" : {
  392. "reason" : "CLUSTER_RECOVERED",
  393. "at" : "2020-11-30T12:19:05.369Z",
  394. "last_allocation_status" : "no_attempt"
  395. },
  396. "can_allocate" : "no",
  397. "allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
  398. "node_allocation_decisions" : [
  399. {
  400. "node_id" : "LWkomN95Q4Gwux2jwkk_lA",
  401. "node_name" : "wissensdatenbank",
  402. "transport_address" : "127.0.0.1:9300",
  403. "node_attributes" : {
  404. "ml.machine_memory" : "4136869888",
  405. "xpack.installed" : "true",
  406. "transform.node" : "true",
  407. "ml.max_open_jobs" : "20"
  408. },
  409. "node_decision" : "no",
  410. "deciders" : [
  411. {
  412. "decider" : "same_shard",
  413. "decision" : "NO",
  414. "explanation" : "a copy of this shard is already allocated to this node [[zammad_production_user][0], node[LWkomN95Q4Gwux2jwkk_lA], [P], s[STARTED], a[id=QxRdCpAfRCyKzca3GTEX8g]]"
  415. }
  416. ]
  417. }
  418. ]
  419. }
  420. spx@wissensdatenbank:~$ sudo zammad run rake searchindex:rebuild
  421. [sudo] password for spx:
  422. drop indexes...done
  423. delete pipeline (pipeline)... done
  424. create indexes...done
  425. create pipeline (pipeline)... done
  426. reload data...
  427. reload User
  428. - started at 2020-11-30 12:50:23 UTC
  429. - took 1 seconds
  430. reload StatsStore
  431. - started at 2020-11-30 12:50:25 UTC
  432. - took 0 seconds
  433. reload Ticket
  434. - started at 2020-11-30 12:50:25 UTC
  435. - took 0 seconds
  436. reload Organization
  437. - started at 2020-11-30 12:50:26 UTC
  438. - took 0 seconds
  439. reload KnowledgeBase::Translation
  440. - started at 2020-11-30 12:50:26 UTC
  441. - took 0 seconds
  442. reload KnowledgeBase::Answer::Translation
  443. - started at 2020-11-30 12:50:26 UTC
  444. - took 44 seconds
  445. reload KnowledgeBase::Category::Translation
  446. - started at 2020-11-30 12:51:11 UTC
  447. - took 1 seconds
  448. reload Chat::Session
  449. - started at 2020-11-30 12:51:12 UTC
  450. - took 0 seconds
  451. reload Cti::Log
  452. - started at 2020-11-30 12:51:12 UTC
  453. - took 0 seconds
  454. spx@wissensdatenbank:~$ curl http://localhost:9200/_cluster/health?pretty
  455. {
  456. "cluster_name" : "elasticsearch",
  457. "status" : "yellow",
  458. "timed_out" : false,
  459. "number_of_nodes" : 1,
  460. "number_of_data_nodes" : 1,
  461. "active_primary_shards" : 9,
  462. "active_shards" : 9,
  463. "relocating_shards" : 0,
  464. "initializing_shards" : 0,
  465. "unassigned_shards" : 9,
  466. "delayed_unassigned_shards" : 0,
  467. "number_of_pending_tasks" : 0,
  468. "number_of_in_flight_fetch" : 0,
  469. "task_max_waiting_in_queue_millis" : 0,
  470. "active_shards_percent_as_number" : 50.0
  471. }
  472. spx@wissensdatenbank:~$
  473.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement