Description
i have created a weaviate:1.26.1 instance using docker-compose file in spot instance in azure i was running fine and having data and i wanted to migrate this data to azure general purpose instance and used same docker file to spin up weaviate:1.26.1 in new general purpose instance, so while migrating data from spot instance to genral purpose instance i have copied mount path dirctory from the spot instance and copied to general purpose instance (newly created) and changed mount path then i was facing below error
please refere to docker-compose file
version: '3.4'
services:
weaviate:
image: cr.weaviate.io/semitechnologies/weaviate:1.26.1
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
environment:
LOG_LEVEL: trace
QUERY_SLOW_LOG_ENABLED: 'true'
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'none'
ports:
- 8080:8080
- 50051:50051
volumes:
- weaviate_data:/var/lib/weaviate
restart: on-failure:0
prometheus:
image: prom/prometheus:latest
volumes:
- ./prometheus:/etc/prometheus/
- ./data/prometheus:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
ports:
- 9090:9090
grafana:
image: grafana/grafana
ports:
- 3000:3000
volumes:
- ./grafana/grafana.ini:/etc/grafana/grafana.ini
- ./grafana/datasource.yml:/etc/grafana/provisioning/datasources/prometheus.yml
- ./grafana/dashboard_provider.yml:/etc/grafana/provisioning/dashboards/dashboards.yml
- ./grafana/dashboards:/var/lib/grafana/dashboards
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
volumes:
weaviate_data:
```Preformatted text
please refer to new docker-compse file in mew vm then after copy docker volume data to newly created vm then
i have mounted data diretory
version: '3.4'
services:
weaviate:
image: cr.weaviate.io/semitechnologies/weaviate:1.26.1
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
environment:
LOG_LEVEL: trace
QUERY_SLOW_LOG_ENABLED: 'true'
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'none'
ports:
- 8080:8080
- 50051:50051
volumes:
- /home/azureuser/_data:/var/lib/weaviate #(old vm data copied to /home/azureuser/_data)
restart: on-failure:0
prometheus:
image: prom/prometheus:latest
volumes:
- ./prometheus:/etc/prometheus/
- ./data/prometheus:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
ports:
- 9090:9090
grafana:
image: grafana/grafana
ports:
- 3000:3000
volumes:
- ./grafana/grafana.ini:/etc/grafana/grafana.ini
- ./grafana/datasource.yml:/etc/grafana/provisioning/datasources/prometheus.yml
- ./grafana/dashboard_provider.yml:/etc/grafana/provisioning/dashboards/dashboards.yml
- ./grafana/dashboards:/var/lib/grafana/dashboards
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
then i was facing below error
{"action":"bootstrap","error":"could not join a cluster from [172.27.0.2:8300]","level":"warning","msg":"failed to join cluster, will notify next if voter","servers":["172.27.0.2:8300"],"time":"2024-11-23T16:01:56Z","voter":true}
{"action":"bootstrap","level":"info","msg":"notified peers this node is ready to join as voter","servers":["172.27.0.2:8300"],"time":"2024-11-23T16:01:56Z"}
{"action":"bootstrap","error":"could not join a cluster from [172.27.0.2:8300]","level":"warning","msg":"failed to join cluster, will notify next if voter","servers":["172.27.0.2:8300"],"time":"2024-11-23T16:01:58Z","voter":true}
{"action":"bootstrap","level":"info","msg":"notified peers this node is ready to join as voter","servers":["172.27.0.2:8300"],"time":"2024-11-23T16:01:58Z"}
{"action":"bootstrap","error":"could not join a cluster from [172.27.0.2:8300]","level":"warning","msg":"failed to join cluster, will notify next if voter","servers":["172.27.0.2:8300"],"time":"2024-11-23T16:02:00Z","voter":true}
{"action":"bootstrap","level":"info","msg":"notified peers this node is ready to join as voter","servers":["172.27.0.2:8300"],"time":"2024-11-23T16:02:00Z"}
{"action":"bootstrap","error":"could not join a cluster from [172.27.0.2:8300]","level":"warning","msg":"failed to join cluster, will notify next if voter","servers":["172.27.0.2:8300"],"time":"2024-11-23T16:02:02Z","voter":true}
{"action":"bootstrap","level":"info","msg":"notified peers this node is ready to join as voter","servers":["172.27.0.2:8300"],"time":"2024-11-23T16:02:02Z"}
{"action":"bootstrap","error":"could not join a cluster from [172.27.0.2:8300]","level":"warning","msg":"failed to join cluster, will notify next if voter","servers":["172.27.0.2:8300"],"time":"2024-11-23T16:02:03Z","voter":true}
{"action":"bootstrap","level":"info","msg":"notified peers this node is ready to join as voter","servers":["172.27.0.2:8300"],"time":"2024-11-23T16:02:03Z"}
thanks in advance
### Server Setup Information
- Weaviate Server Version:
- Deployment Method: <!-- docker/k8s/binary/embedded -->
- Multi Node? Number of Running Nodes:
- Client Language and Version:
- Multitenancy?:
### Any additional Information
<!-- logs, additional setup information, anything extra you did in the setup or variables not included in any guide you followed -->