apache / skywalking

APM, Application Performance Monitoring System
https://skywalking.apache.org/
Apache License 2.0
23.75k stars 6.51k forks source link

[Bug] Use Helm install Skywalking , but got error : table: alarm_record does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later. #12601

Closed freshgeek closed 3 weeks ago

freshgeek commented 3 weeks ago

Search before asking

Apache SkyWalking Component

OAP server (apache/skywalking)

What happened

Use Helm install Skywalking , but got error : table: alarm_record does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

What you expected to happen

got error : table: alarm_record does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.
and oap server is unavailable

How to reproduce

my env :

helm values :

elasticsearch:
  config:
    password: hide
    user: admin
  ingress:
    enabled: true
    hosts:
      - es.hide
  persistence:
    enabled: true
  volumeClaimTemplate:
    accessModes:
      - ReadWriteOnce
    resources:
      requests:
        storage: 10Gi    
oap:
  dynamicConfig:
    enabled: true
  image:
    repository: apache/skywalking-oap-server
    tag: 10.0.1
  storageType: elasticsearch
ui:
  image:
    repository: apache/skywalking-ui
    tag: 10.0.1
  ingress:
    enabled: true
    hosts:
      - sky-ui.hide

Anything else

I searched for recent issues and discussions and found that it keeps mentioning init job. I observed that there was no init job generated and running during the installation process of helm (I cannot know if it failed to create or was created and then deleted)

There is no mention of how to troubleshoot or solve the problem

Are you willing to submit a pull request to fix on your own?

Code of Conduct

freshgeek commented 3 weeks ago

And I have tried again multiple times, but still the result is the same. I don't know how to solve or troubleshoot it