Replies: 2 comments 15 replies
-
You seem to erase the storage and don't rerun the init job. |
Beta Was this translation helpful? Give feedback.
11 replies
-
We use the helm hook to create the init job, from you description there seems no init job at all. Please check your cluster and Helm whether hook is supported. https://github.com/apache/skywalking-helm/blob/6fe5e6f0d3b7686c6be0457733e825ee68cb9b35/chart/skywalking/templates/oap-init.job.yaml#L29 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
I am trying to deploy skywalking using terrafrom helm release, which is getting failed.
While further checking I found that pods for the OAP are not into running state.
$ kubectl get pods -n skywalking
NAME READY STATUS RESTARTS AGE
skywalking-postgresql-0 1/1 Running 0 11h
skywalking-skywalking-helm-oap-688bbd5dbb-8jfz5 0/1 CrashLoopBackOff 279 (2m16s ago) 18h
skywalking-skywalking-helm-oap-688bbd5dbb-kw7w2 0/1 CrashLoopBackOff 173 (4m40s ago) 11h
skywalking-skywalking-helm-ui-6bb48c8f49-gz7mh 1/1 Running 0 11h
While further describing oap pods found that Startup probe is failied.
Warning Unhealthy 8m21s (x2514 over 18h) kubelet Startup probe failed: dial tcp 100.64.40.194:12800: connect: connection refused
Further investigation done to check logs for the pods and found error that :
2024-12-13 05:05:06,081 org.apache.skywalking.oap.server.core.storage.model.ModelInstaller 43 [main] INFO [] - table: alarm_record does not exist. OAP is running in 'no-init' mode, waiting...
retry 3s later.
2024-12-13 05:05:09,082 org.apache.skywalking.oap.server.core.storage.model.ModelInstaller 43 [main] INFO [] - table: alarm_record does not exist. OAP is running in 'no-init' mode, waiting...
retry 3s later.
How to get rid of this error?
Below are setting used :
set {
name = "oap.image.tag"
value = "10.0.0 "
}
set {
name = "oap.storageType"
value = "postgresql"
}
set {
name = "ui.image.tag"
value = "10.0.0"
}
set {
name = "elasticsearch.enabled"
value = "false"
}
set {
name = "postgresql.enabled"
value = "true"
}
Beta Was this translation helpful? Give feedback.
All reactions