openreplay / openreplay

Session replay and analytics tool you can self-host. Ideal for reproducing issues, co-browsing with users and optimizing your product.
https://openreplay.com
Other
9.29k stars 510 forks source link

Install fails with not being able to pull storage-openreplay image #1985

Closed solarvm closed 5 months ago

solarvm commented 5 months ago

Installation fails on a baremetal Ubuntu running openreplay -i <domain>. Helm chart install fails bringing storage-openreplay up. Logs showing ImagePullBackOff

Steps to reproduce the issue

  1. run openreplay -i <domain>
  2. Wait till it goes for app install
  3. in 5 min it times out bringing storage-openreplay online

Expected behavior I'd expect helm chart to succeed installing all the resources

Logs

...
ready.go:277: [debug] Deployment is not ready: app/storage-openreplay. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: app/storage-openreplay. 0 out of 1 expected pods are ready
install.go:441: [debug] Install failed and atomic is set, uninstalling release
uninstall.go:95: [debug] uninstall: Deleting openreplay
...

and pods list while chart is getting applied:

NAME                                                   READY   STATUS             RESTARTS   AGE
kyverno-reports-controller-568d77df4d-ntd5m            1/1     Running            0          4m23s
kyverno-background-controller-5c666b7464-pflnx         1/1     Running            0          4m23s
kyverno-cleanup-controller-655fcb44b8-qjvp8            1/1     Running            0          4m23s
kyverno-admission-controller-5f5976bc68-t5mxc          1/1     Running            0          4m23s
databases-migrate-q9zjf                                0/2     Completed          0          3m33s
canvas-maker-openreplay-b974dbb44-ckt4b                1/1     Running            0          3m16s
videostorage-openreplay-58f66668cc-4gqrs               1/1     Running            0          3m15s
canvas-handler-openreplay-666c65b4bd-ql84b             1/1     Running            0          3m17s
http-openreplay-7954c8b4c6-f8ktt                       1/1     Running            0          3m17s
frontend-openreplay-6c5d5fff75-cgz7t                   1/1     Running            0          3m17s
heuristics-openreplay-5dd9d4596f-8gzv5                 1/1     Running            0          3m15s
db-openreplay-6b5b44784b-4wj7x                         1/1     Running            0          3m17s
ender-openreplay-fc78b9c97-7h65b                       1/1     Running            0          3m17s
assist-openreplay-67b98b994-7pkqm                      1/1     Running            0          3m17s
sourcemapreader-openreplay-64c8d5668f-kjjps            1/1     Running            0          3m16s
chalice-openreplay-56d5787788-55lsz                    1/1     Running            0          3m15s
assets-openreplay-86c86f7cd7-d6sgn                     1/1     Running            0          3m17s
peers-openreplay-8b4895d9c-bm2pm                       1/1     Running            0          3m15s
alerts-openreplay-65c56d8b68-lvp9v                     1/1     Running            0          3m17s
imagestorage-openreplay-956cd8f7f-ktczt                1/1     Running            0          3m15s
integrations-openreplay-79db5bd4c5-gwr5m               1/1     Running            0          3m17s
sink-openreplay-79d464f8db-df8d5                       1/1     Running            0          3m17s
openreplay-ingress-nginx-controller-6db4f6bcbd-t4shq   1/1     Running            0          3m15s
storage-openreplay-79b956885f-tcskz                    0/1     ImagePullBackOff   0          3m16s

OpenReplay Environment

estradino commented 5 months ago

Fixed. Please rerun openreplay -u.

PIXPOINT commented 4 months ago

Hi, I have a similar problem on my newly installed system.

OS: Ubuntu 22.04.4 LTS Hardware: arm, 16GB, 265GB SSD

ready.go:277: [debug] Deployment is not ready: app/alerts-openreplay. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: app/alerts-openreplay. 0 out of 1 expected pods are ready
install.go:441: [debug] Install failed and atomic is set, uninstalling release
uninstall.go:95: [debug] uninstall: Deleting openreplay
...
client.go:310: [debug] Starting delete for "chalice-openreplay" ServiceAccount
client.go:310: [debug] Starting delete for "openreplay-ingress-nginx-admission" ValidatingWebhookConfiguration
uninstall.go:148: [debug] purge requested for openreplay
Error: release openreplay failed, and has been uninstalled due to atomic being set: client rate limiter Wait returned an error: rate: Wait(n=1) would exceed context deadline
helm.go:84: [debug] client rate limiter Wait returned an error: rate: Wait(n=1) would exceed context deadline
release openreplay failed, and has been uninstalled due to atomic being set
helm.sh/helm/v3/pkg/action.(*Install).failRelease
        helm.sh/helm/v3/pkg/action/install.go:449
helm.sh/helm/v3/pkg/action.(*Install).reportToRun
        helm.sh/helm/v3/pkg/action/install.go:433
helm.sh/helm/v3/pkg/action.(*Install).performInstall
        helm.sh/helm/v3/pkg/action/install.go:389
runtime.goexit
        runtime/asm_arm64.s:1270