manticoresoftware / manticoresearch-helm

Helm chart for Manticore Search
Apache License 2.0
34 stars 10 forks source link

Errors when deploying on kuber #77

Closed akametall closed 1 year ago

akametall commented 1 year ago

Then i deploy this on k8's

config: path: /mnt/manticore.conf content: | searchd { listen = /var/run/mysqld/mysqld.sock:mysql41 listen = 9306:mysql41 listen = 9308:http listen = $hostname:9312 listen = $hostname:9315-9415:replication node_address = $hostname binlog_path = /var/lib/manticore pid_file = /var/run/manticore/searchd.pid shutdown_timeout = 25s auto_optimize = 0 } source { type = pgsql sql_host = sql_user = postgres sql_pass = $PASSWORD sql_db = } index _index { type = plain source = path = }

 i get this in logs    

precaching table '_index' Index header format is not json, will try it as binary... WARNING: Unable to load header... Error failed to open i.sph: No such file or directory WARNING: table '_index': prealloc: failed to open .sph: No such file or directory - NOT SERVING

and this

2023-11-14 16:37:39,358 INFO success: searchd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) [2023-11-14T16:37:39.745240+00:00] Logs.INFO: Wait until manticoresearch-worker-1 came alive [] [] [2023-11-14T16:37:41.767922+00:00] Logs.INFO: Wait for NS... [] [] [2023-11-14T16:37:53.659698+00:00] Logs.INFO: Wait until join host come available ["manticoresearch-worker-0.manticoresearch-worker-svc",9306] []PHP Warning: mysqli::__construct(): php_network_getaddresses: getaddrinfo for manticoresearch-worker-0.manticoresearch-worker-svc failed: Name or service not known in /etc/manticoresearch/vendor/manticoresoftware/manticoresearch-auto-replication/src/Manticore/ManticoreConnector.php on line 35

i dont know wtf

akametall commented 1 year ago