While migrating from NABox 3.5.4 to 4.0.7, unable to migrate historical telemetry
This is an internet disconnected site with ~870GB of historical telemetry to move to the new instance.
Automated Migration successfully adds ‘pollers’, but fails the Prometheus snapshot.
/usr/local/nabox/docker-compose # migrate
Restarting Prometheus with admin API enabled... OK
Waiting for Prometheus.................... Failed
Taking snapshot...time=2024-12-19T00:28:44.667Z level=ERROR source=migrator.go:59 msg="Failed to take Prometheus snapshot" error="Failed to take prometheus snapshot: %!w(<nil>)"
The Manual migration has a successful snapshot but fails with the following errors
/usr/local/nabox/docker-compose # docker run --rm -v /data/prometheus:/prometheus -it --network docker-compose_default victoriame
trics/vmctl:heads-master-0-g93a29fce4e prometheus --prom-snapshot=$SNAPSHOT_PATH --vm-addr=https://$NABOX_IP/vm/ --vm-insecure-sk
ip-verify -s
Unable to find image 'victoriametrics/vmctl:heads-master-0-g93a29fce4e' locally
docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 127.0.0.1:53: no such host.
See 'docker run --help'.
/usr/local/nabox/docker-compose #
Deviations from documented process include the following
-
Add snapshot path as per what is returned -
Add target IP to URL in ‘docker run’ string (instead of variable) -
Add ‘dash’ to container name (ie, victoria-metrics/vmctl) -
Append ‘heads-master-0-g93a29fce4e’ with container ID (this is might be nonsensical, we don’t know a lot about containers)
Tests performed
-
Curl to victoria-metrics from origin is successful. (ie. curl –k https://$NABOX_IP/vm/) -
Curl to https://registry-1.docker.io/v2/, fails (disconnected site)