and the latest few logs are -
[2022-06-28T12:42:15.216+00:00][8][4004][app-server][INFO]: Creating index for Actastic::Schema: workplace_search_pre_content_sources_v3
[2022-06-28T12:42:17.484+00:00][8][4188][app-server][DEBUG]: [db_lock] [installation] Lock heartbeat: status=[Starting] Creating indices for 41 models
[2022-06-28T12:42:17.531+00:00][8][4188][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_doc/installation",
"method": "get",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": null
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "476"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":172,\"_seq_no\":171,\"_primary_term\":1,\"found\":true,\"_source\":{\"product_version\":\"8.2.2\",\"locked_at\":\"2022-06-28T12:31:34+00:00\",\"expires_at\":\"2022-06-28T12:44:11+00:00\",\"last_heartbeat_at\":\"2022-06-28T12:42:11+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Starting] Creating indices for 41 models\",\"node_name\":\"enterprise-search-bselastic-ent-5668b4f75b-89m8r\",\"pid\":8,\"tid\":4004}}"
},
"duration": 43.1,
"stack": [
"lib/db_lock.class:299:in `_retrieve_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:504:in `ensure_we_still_own_the_lock!'",
"lib/db_lock.class:270:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:411:in `block in setup_heartbeat_timer'"
]
}
[2022-06-28T12:42:18.030+00:00][8][4188][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_update/installation",
"method": "post",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": "{\"doc\":{\"last_heartbeat_at\":\"2022-06-28T12:42:17+00:00\",\"expires_at\":\"2022-06-28T12:44:17+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Starting] Creating indices for 41 models\"}}"
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "176"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":173,\"result\":\"updated\",\"_shards\":{\"total\":2,\"successful\":2,\"failed\":0},\"_seq_no\":172,\"_primary_term\":1}"
},
"duration": 493.1,
"stack": [
"lib/db_lock.class:275:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:411:in `block in setup_heartbeat_timer'"
]
}
[2022-06-28T12:42:23.034+00:00][8][4188][app-server][DEBUG]: [db_lock] [installation] Lock heartbeat: status=[Starting] Creating indices for 41 models
[2022-06-28T12:42:23.083+00:00][8][4188][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_doc/installation",
"method": "get",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": null
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "476"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":173,\"_seq_no\":172,\"_primary_term\":1,\"found\":true,\"_source\":{\"product_version\":\"8.2.2\",\"locked_at\":\"2022-06-28T12:31:34+00:00\",\"expires_at\":\"2022-06-28T12:44:17+00:00\",\"last_heartbeat_at\":\"2022-06-28T12:42:17+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Starting] Creating indices for 41 models\",\"node_name\":\"enterprise-search-bselastic-ent-5668b4f75b-89m8r\",\"pid\":8,\"tid\":4004}}"
},
"duration": 45.4,
"stack": [
"lib/db_lock.class:299:in `_retrieve_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:504:in `ensure_we_still_own_the_lock!'",
"lib/db_lock.class:270:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:411:in `block in setup_heartbeat_timer'"
]
}
{"timestamp": "2022-06-28T12:42:24+00:00", "message": "readiness probe failed", "curl_rc": "7"}
[2022-06-28T12:42:24.204+00:00][8][4188][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_update/installation",
"method": "post",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": "{\"doc\":{\"last_heartbeat_at\":\"2022-06-28T12:42:23+00:00\",\"expires_at\":\"2022-06-28T12:44:23+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Starting] Creating indices for 41 models\"}}"
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "176"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":174,\"result\":\"updated\",\"_shards\":{\"total\":2,\"successful\":2,\"failed\":0},\"_seq_no\":173,\"_primary_term\":1}"
},
"duration": 1115.1,
"stack": [
"lib/db_lock.class:275:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:411:in `block in setup_heartbeat_timer'"
]
}
[2022-06-28T12:42:29.208+00:00][8][4188][app-server][DEBUG]: [db_lock] [installation] Lock heartbeat: status=[Starting] Creating indices for 41 models
[2022-06-28T12:42:29.351+00:00][8][4188][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_doc/installation",
"method": "get",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": null
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "476"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":174,\"_seq_no\":173,\"_primary_term\":1,\"found\":true,\"_source\":{\"product_version\":\"8.2.2\",\"locked_at\":\"2022-06-28T12:31:34+00:00\",\"expires_at\":\"2022-06-28T12:44:23+00:00\",\"last_heartbeat_at\":\"2022-06-28T12:42:23+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Starting] Creating indices for 41 models\",\"node_name\":\"enterprise-search-bselastic-ent-5668b4f75b-89m8r\",\"pid\":8,\"tid\":4004}}"
},
"duration": 138.6,
"stack": [
"lib/db_lock.class:299:in `_retrieve_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:504:in `ensure_we_still_own_the_lock!'",
"lib/db_lock.class:270:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:411:in `block in setup_heartbeat_timer'"
]
}
[2022-06-28T12:42:29.530+00:00][8][4188][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_update/installation",
"method": "post",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": "{\"doc\":{\"last_heartbeat_at\":\"2022-06-28T12:42:29+00:00\",\"expires_at\":\"2022-06-28T12:44:29+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Starting] Creating indices for 41 models\"}}"
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "176"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":175,\"result\":\"updated\",\"_shards\":{\"total\":2,\"successful\":2,\"failed\":0},\"_seq_no\":174,\"_primary_term\":1}"
},
"duration": 172.7,
"stack": [
"lib/db_lock.class:275:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:411:in `block in setup_heartbeat_timer'"
]
}
{"timestamp": "2022-06-28T12:42:34+00:00", "message": "readiness probe failed", "curl_rc": "7"}
[2022-06-28T12:42:34.533+00:00][8][4188][app-server][DEBUG]: [db_lock] [installation] Lock heartbeat: status=[Starting] Creating indices for 41 models
[2022-06-28T12:42:34.581+00:00][8][4188][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_doc/installation",
"method": "get",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": null
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "476"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":175,\"_seq_no\":174,\"_primary_term\":1,\"found\":true,\"_source\":{\"product_version\":\"8.2.2\",\"locked_at\":\"2022-06-28T12:31:34+00:00\",\"expires_at\":\"2022-06-28T12:44:29+00:00\",\"last_heartbeat_at\":\"2022-06-28T12:42:29+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Starting] Creating indices for 41 models\",\"node_name\":\"enterprise-search-bselastic-ent-5668b4f75b-89m8r\",\"pid\":8,\"tid\":4004}}"
},
"duration": 43.7,
"stack": [
"lib/db_lock.class:299:in `_retrieve_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:504:in `ensure_we_still_own_the_lock!'",
"lib/db_lock.class:270:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:411:in `block in setup_heartbeat_timer'"
]
}
[2022-06-28T12:42:35.581+00:00][8][4188][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_update/installation",
"method": "post",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": "{\"doc\":{\"last_heartbeat_at\":\"2022-06-28T12:42:34+00:00\",\"expires_at\":\"2022-06-28T12:44:34+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Starting] Creating indices for 41 models\"}}"
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "176"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":176,\"result\":\"updated\",\"_shards\":{\"total\":2,\"successful\":2,\"failed\":0},\"_seq_no\":175,\"_primary_term\":1}"
},
"duration": 994.0,
"stack": [
"lib/db_lock.class:275:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:411:in `block in setup_heartbeat_timer'"
]
}
[2022-06-28T12:42:40.585+00:00][8][4188][app-server][DEBUG]: [db_lock] [installation] Lock heartbeat: status=[Starting] Creating indices for 41 models
[2022-06-28T12:42:40.677+00:00][8][4188][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_doc/installation",
"method": "get",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": null
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "476"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":176,\"_seq_no\":175,\"_primary_term\":1,\"found\":true,\"_source\":{\"product_version\":\"8.2.2\",\"locked_at\":\"2022-06-28T12:31:34+00:00\",\"expires_at\":\"2022-06-28T12:44:34+00:00\",\"last_heartbeat_at\":\"2022-06-28T12:42:34+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Starting] Creating indices for 41 models\",\"node_name\":\"enterprise-search-bselastic-ent-5668b4f75b-89m8r\",\"pid\":8,\"tid\":4004}}"
},
"duration": 85.9,
"stack": [
"lib/db_lock.class:299:in `_retrieve_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:504:in `ensure_we_still_own_the_lock!'",
"lib/db_lock.class:270:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:411:in `block in setup_heartbeat_timer'"
]
}
[2022-06-28T12:42:41.111+00:00][8][4188][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_update/installation",
"method": "post",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": "{\"doc\":{\"last_heartbeat_at\":\"2022-06-28T12:42:40+00:00\",\"expires_at\":\"2022-06-28T12:44:40+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Starting] Creating indices for 41 models\"}}"
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "176"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":177,\"result\":\"updated\",\"_shards\":{\"total\":2,\"successful\":2,\"failed\":0},\"_seq_no\":176,\"_primary_term\":1}"
},
"duration": 426.5,
"stack": [
"lib/db_lock.class:275:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:411:in `block in setup_heartbeat_timer'"
]
}
[2022-06-28T12:42:42.004+00:00][8][4188][app-server][DEBUG]: Summarizing metrics...
[2022-06-28T12:42:42.004+00:00][8][4188][app-server][DEBUG]: Done summarizing 0 metrics.
{"timestamp": "2022-06-28T12:42:44+00:00", "message": "readiness probe failed", "curl_rc": "7"}
[2022-06-28T12:42:45.254+00:00][8][4004][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-actastic-workplace_search_pre_content_sources_v3",
"method": "put",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": "{\"settings\":{\"index\":{\"hidden\":true,\"refresh_interval\":-1},\"number_of_shards\":1,\"auto_expand_replicas\":\"0-3\",\"priority\":250},\"mappings\":{\"dynamic\":\"strict\",\"properties\":{\"id\":{\"type\":\"keyword\"},\"created_at\":{\"type\":\"date\"},\"updated_at\":{\"type\":\"date\"},\"service_type\":{\"type\":\"keyword\"},\"frito_pie_account_id\":{\"type\":\"keyword\"},\"context\":{\"type\":\"keyword\"},\"configuration\":{\"type\":\"object\",\"enabled\":false}}},\"aliases\":{}}"
},
"exception": "/usr/share/enterprise-search/lib/war/lib/swiftype/es/index.class:59: Read timed out (Faraday::TimeoutError)\n",
"duration": 30030.5,
"stack": [
"lib/actastic/schema.class:172:in `create_index!'",
"lib/actastic/schema.class:195:in `create_index_and_mapping!'",
"shared_togo/lib/shared_togo.class:912:in `block in apply_actastic_migrations'",
"shared_togo/lib/shared_togo.class:910:in `block in each'",
"shared_togo/lib/shared_togo.class:910:in `block in apply_actastic_migrations'",
"lib/db_lock.class:182:in `with_status'",
"shared_togo/lib/shared_togo.class:909:in `block in apply_actastic_migrations'",
"shared_togo/lib/shared_togo/audit_event.class:48:in `log_event_with_message'",
"shared_togo/lib/shared_togo.class:907:in `apply_actastic_migrations'",
"shared_togo/lib/shared_togo.class:420:in `block in install!'",
"lib/db_lock.class:171:in `with_lock'",
"shared_togo/lib/shared_togo.class:413:in `install!'",
"config/application.class:102:in `block in Application'",
"config/environment.class:9:in `<main>'",
"config/environment.rb:1:in `<main>'",
"shared_togo/lib/shared_togo/cli/command.class:37:in `initialize'",
"shared_togo/lib/shared_togo/cli/command.class:10:in `new'",
"shared_togo/lib/shared_togo/cli/command.class:10:in `run_and_exit'",
"shared_togo/lib/shared_togo/cli.class:143:in `run_supported_command'",
"shared_togo/lib/shared_togo/cli.class:125:in `run_command'",
"shared_togo/lib/shared_togo/cli.class:112:in `run!'",
"bin/enterprise-search-internal:15:in `<main>'"
]
}
[2022-06-28T12:42:45.255+00:00][8][4004][app-server][INFO]: [db_lock] [installation] Status: [Failed] Creating indices for 41 models: Error = Faraday::TimeoutError: Read timed out
[2022-06-28T12:42:45.307+00:00][8][4004][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_doc/installation",
"method": "get",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": null
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "476"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":177,\"_seq_no\":176,\"_primary_term\":1,\"found\":true,\"_source\":{\"product_version\":\"8.2.2\",\"locked_at\":\"2022-06-28T12:31:34+00:00\",\"expires_at\":\"2022-06-28T12:44:40+00:00\",\"last_heartbeat_at\":\"2022-06-28T12:42:40+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Starting] Creating indices for 41 models\",\"node_name\":\"enterprise-search-bselastic-ent-5668b4f75b-89m8r\",\"pid\":8,\"tid\":4004}}"
},
"duration": 46.3,
"stack": [
"lib/db_lock.class:299:in `_retrieve_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:504:in `ensure_we_still_own_the_lock!'",
"lib/db_lock.class:270:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:194:in `set_status'",
"lib/db_lock.class:185:in `with_status'",
"shared_togo/lib/shared_togo.class:909:in `block in apply_actastic_migrations'",
"shared_togo/lib/shared_togo/audit_event.class:48:in `log_event_with_message'",
"shared_togo/lib/shared_togo.class:907:in `apply_actastic_migrations'",
"shared_togo/lib/shared_togo.class:420:in `block in install!'",
"lib/db_lock.class:171:in `with_lock'",
"shared_togo/lib/shared_togo.class:413:in `install!'",
"config/application.class:102:in `block in Application'",
"config/environment.class:9:in `<main>'",
"config/environment.rb:1:in `<main>'",
"shared_togo/lib/shared_togo/cli/command.class:37:in `initialize'",
"shared_togo/lib/shared_togo/cli/command.class:10:in `new'",
"shared_togo/lib/shared_togo/cli/command.class:10:in `run_and_exit'",
"shared_togo/lib/shared_togo/cli.class:143:in `run_supported_command'",
"shared_togo/lib/shared_togo/cli.class:125:in `run_command'",
"shared_togo/lib/shared_togo/cli.class:112:in `run!'",
"bin/enterprise-search-internal:15:in `<main>'"
]
}
[2022-06-28T12:42:46.116+00:00][8][4188][app-server][DEBUG]: [db_lock] [installation] Lock heartbeat: status=[Failed] Creating indices for 41 models: Error = Faraday::TimeoutError: Read timed out
[2022-06-28T12:42:46.149+00:00][8][4188][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_doc/installation",
"method": "get",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": null
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "521"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":178,\"_seq_no\":177,\"_primary_term\":1,\"found\":true,\"_source\":{\"product_version\":\"8.2.2\",\"locked_at\":\"2022-06-28T12:31:34+00:00\",\"expires_at\":\"2022-06-28T12:44:45+00:00\",\"last_heartbeat_at\":\"2022-06-28T12:42:45+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Failed] Creating indices for 41 models: Error = Faraday::TimeoutError: Read timed out\",\"node_name\":\"enterprise-search-bselastic-ent-5668b4f75b-89m8r\",\"pid\":8,\"tid\":4004}}"
},
"duration": 27.7,
"stack": [
"lib/db_lock.class:299:in `_retrieve_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:504:in `ensure_we_still_own_the_lock!'",
"lib/db_lock.class:270:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:411:in `block in setup_heartbeat_timer'"
]
}
[2022-06-28T12:42:46.177+00:00][8][4004][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_update/installation",
"method": "post",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": "{\"doc\":{\"last_heartbeat_at\":\"2022-06-28T12:42:45+00:00\",\"expires_at\":\"2022-06-28T12:44:45+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Failed] Creating indices for 41 models: Error = Faraday::TimeoutError: Read timed out\"}}"
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "176"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":178,\"result\":\"updated\",\"_shards\":{\"total\":2,\"successful\":2,\"failed\":0},\"_seq_no\":177,\"_primary_term\":1}"
},
"duration": 863.8,
"stack": [
"lib/db_lock.class:275:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:194:in `set_status'",
"lib/db_lock.class:185:in `with_status'",
"shared_togo/lib/shared_togo.class:909:in `block in apply_actastic_migrations'",
"shared_togo/lib/shared_togo/audit_event.class:48:in `log_event_with_message'",
"shared_togo/lib/shared_togo.class:907:in `apply_actastic_migrations'",
"shared_togo/lib/shared_togo.class:420:in `block in install!'",
"lib/db_lock.class:171:in `with_lock'",
"shared_togo/lib/shared_togo.class:413:in `install!'",
"config/application.class:102:in `block in Application'",
"config/environment.class:9:in `<main>'",
"config/environment.rb:1:in `<main>'",
"shared_togo/lib/shared_togo/cli/command.class:37:in `initialize'",
"shared_togo/lib/shared_togo/cli/command.class:10:in `new'",
"shared_togo/lib/shared_togo/cli/command.class:10:in `run_and_exit'",
"shared_togo/lib/shared_togo/cli.class:143:in `run_supported_command'",
"shared_togo/lib/shared_togo/cli.class:125:in `run_command'",
"shared_togo/lib/shared_togo/cli.class:112:in `run!'",
"bin/enterprise-search-internal:15:in `<main>'"
]
}
[2022-06-28T12:42:46.179+00:00][8][4004][app-server][DEBUG]: [db_lock] [installation] Shutting down the heartbeat timer...
[2022-06-28T12:42:46.179+00:00][8][4004][app-server][DEBUG]: [db_lock] [installation] Waiting for heartbeat thread to finish...
[2022-06-28T12:42:46.243+00:00][8][4188][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_update/installation",
"method": "post",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": "{\"doc\":{\"last_heartbeat_at\":\"2022-06-28T12:42:46+00:00\",\"expires_at\":\"2022-06-28T12:44:46+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Failed] Creating indices for 41 models: Error = Faraday::TimeoutError: Read timed out\"}}"
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "176"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":179,\"result\":\"updated\",\"_shards\":{\"total\":2,\"successful\":2,\"failed\":0},\"_seq_no\":178,\"_primary_term\":1}"
},
"duration": 88.2,
"stack": [
"lib/db_lock.class:275:in `block in update_lock'",
"config/initializers/kernel.class:5:in `retryable'",
"lib/db_lock.class:269:in `update_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:411:in `block in setup_heartbeat_timer'"
]
}
[2022-06-28T12:42:46.281+00:00][8][4004][app-server][DEBUG]: [db_lock] [installation] The heartbeat should be down now
[2022-06-28T12:42:46.282+00:00][8][4004][app-server][DEBUG]: [db_lock] [installation] Status: Releasing the lock
[2022-06-28T12:42:46.301+00:00][8][4004][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_doc/installation",
"method": "get",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": null
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "521"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":179,\"_seq_no\":178,\"_primary_term\":1,\"found\":true,\"_source\":{\"product_version\":\"8.2.2\",\"locked_at\":\"2022-06-28T12:31:34+00:00\",\"expires_at\":\"2022-06-28T12:44:46+00:00\",\"last_heartbeat_at\":\"2022-06-28T12:42:46+00:00\",\"status_update_at\":\"2022-06-28T12:30:52+00:00\",\"last_status\":\"[Failed] Creating indices for 41 models: Error = Faraday::TimeoutError: Read timed out\",\"node_name\":\"enterprise-search-bselastic-ent-5668b4f75b-89m8r\",\"pid\":8,\"tid\":4004}}"
},
"duration": 13.3,
"stack": [
"lib/db_lock.class:299:in `_retrieve_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:466:in `release_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:174:in `with_lock'",
"shared_togo/lib/shared_togo.class:413:in `install!'",
"config/application.class:102:in `block in Application'",
"config/environment.class:9:in `<main>'",
"config/environment.rb:1:in `<main>'",
"shared_togo/lib/shared_togo/cli/command.class:37:in `initialize'",
"shared_togo/lib/shared_togo/cli/command.class:10:in `new'",
"shared_togo/lib/shared_togo/cli/command.class:10:in `run_and_exit'",
"shared_togo/lib/shared_togo/cli.class:143:in `run_supported_command'",
"shared_togo/lib/shared_togo/cli.class:125:in `run_command'",
"shared_togo/lib/shared_togo/cli.class:112:in `run!'",
"bin/enterprise-search-internal:15:in `<main>'"
]
}
[2022-06-28T12:42:46.389+00:00][8][4004][es][DEBUG]: {
"request": {
"url": "https://bselastic-es-http.bselastic.svc:9200/.ent-search-db-lock-20200304/_doc/installation?if_primary_term=1&if_seq_no=178",
"method": "delete",
"headers": {
"Authorization": "[FILTERED]",
"Content-Type": "application/json",
"x-elastic-product-origin": "enterprise-search",
"User-Agent": "Faraday v1.8.0"
},
"params": null,
"body": null
},
"response": {
"status": 200,
"headers": {
"x-elastic-product": "Elasticsearch",
"content-type": "application/json",
"content-length": "176"
},
"body": "{\"_index\":\".ent-search-db-lock-20200304\",\"_id\":\"installation\",\"_version\":180,\"result\":\"deleted\",\"_shards\":{\"total\":2,\"successful\":2,\"failed\":0},\"_seq_no\":179,\"_primary_term\":1}"
},
"duration": 80.4,
"stack": [
"lib/db_lock.class:305:in `delete_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:470:in `release_lock'",
"lib/apm_helpers.class:15:in `block in es_action_instrument_method'",
"lib/db_lock.class:174:in `with_lock'",
"shared_togo/lib/shared_togo.class:413:in `install!'",
"config/application.class:102:in `block in Application'",
"config/environment.class:9:in `<main>'",
"config/environment.rb:1:in `<main>'",
"shared_togo/lib/shared_togo/cli/command.class:37:in `initialize'",
"shared_togo/lib/shared_togo/cli/command.class:10:in `new'",
"shared_togo/lib/shared_togo/cli/command.class:10:in `run_and_exit'",
"shared_togo/lib/shared_togo/cli.class:143:in `run_supported_command'",
"shared_togo/lib/shared_togo/cli.class:125:in `run_command'",
"shared_togo/lib/shared_togo/cli.class:112:in `run!'",
"bin/enterprise-search-internal:15:in `<main>'"
]
}
[2022-06-28T12:42:46.390+00:00][8][4004][app-server][DEBUG]: [db_lock] [installation] Successfully released lock
Unexpected exception while running Enterprise Search:
Error: Read timed out at