You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/03/09 06:47:18 UTC

[GitHub] [skywalking] keylihai opened a new issue #6520: table: service_cpm_http_get does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

keylihai opened a new issue #6520:
URL: https://github.com/apache/skywalking/issues/6520


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   I deployed skywalking with helm. When i add new oal metrics in core.oal,i upgrade skywalking with 'helm upgrade',but the oap server can not run correctly. 
   ![image](https://user-images.githubusercontent.com/11571589/110429402-dd15ed80-80e5-11eb-86e2-7bb1138db935.png)
   ![image](https://user-images.githubusercontent.com/11571589/110429450-f159ea80-80e5-11eb-9078-a627e9f04421.png)
   ![image](https://user-images.githubusercontent.com/11571589/110429714-4ac21980-80e6-11eb-9481-6843528432ef.png)
   
   ___
   ### Bug
   - Which version of SkyWalking, OS, and JRE?
   
   - Which company or project?
   
   - What happened?
   If possible, provide a way to reproduce the error. e.g. demo application, component version.
   
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] kezhenxu94 commented on issue #6520: table: service_cpm_http_get does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

Posted by GitBox <gi...@apache.org>.
kezhenxu94 commented on issue #6520:
URL: https://github.com/apache/skywalking/issues/6520#issuecomment-799427467


   @keylihai I just opened https://github.com/apache/skywalking-kubernetes/pull/66 that may solve your problem


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] kezhenxu94 commented on issue #6520: table: service_cpm_http_get does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

Posted by GitBox <gi...@apache.org>.
kezhenxu94 commented on issue #6520:
URL: https://github.com/apache/skywalking/issues/6520#issuecomment-793988458


   @keylihai please provide full steps to reproduce this, I did `helm upgrade` but it says clearly that the `skywalking-es-init` cannot be upgraded.
   
   
   ```shell
   helm upgrade skywalking skywalking -n "${SKYWALKING_RELEASE_NAMESPACE}" \
     --set oap.image.tag=8.4.0-es6 \
     --set oap.storageType=elasticsearch \
     --set ui.image.tag=8.4.0 \
     --set elasticsearch.imageTag=6.8.6
   
   Error: UPGRADE FAILED: cannot patch "skywalking-es-init" with kind Job: Job.batch "skywalking-es-init" is invalid: spec.template: Invalid value: core.PodTemplateSpec{ObjectMeta:v1.ObjectMeta{Name:"skywalking-es-init", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string{"app":"skywalking", "component":"skywalking-job", "controller-uid":"a927b415-f27d-4f27-8ff4-4b90114635fc", "job-name":"skywalking-es-init", "release":"skywalking"}, Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:core.PodSpec{Volumes:[]core.Volume(nil), InitContainers:[]core.Container{core.Container{Name:"wait-for-elasticsearch", Image:"busybox:1.30", Command:[]string{"sh", "-c
 ", "for i in $(seq 1 60); do nc -z -w3 elasticsearch-master 9200 && exit 0 || sleep 5; done; exit 1"}, Args:[]string(nil), WorkingDir:"", Ports:[]core.ContainerPort(nil), EnvFrom:[]core.EnvFromSource(nil), Env:[]core.EnvVar(nil), Resources:core.ResourceRequirements{Limits:core.ResourceList(nil), Requests:core.ResourceList(nil)}, VolumeMounts:[]core.VolumeMount(nil), VolumeDevices:[]core.VolumeDevice(nil), LivenessProbe:(*core.Probe)(nil), ReadinessProbe:(*core.Probe)(nil), StartupProbe:(*core.Probe)(nil), Lifecycle:(*core.Lifecycle)(nil), TerminationMessagePath:"/dev/termination-log", TerminationMessagePolicy:"File", ImagePullPolicy:"IfNotPresent", SecurityContext:(*core.SecurityContext)(nil), Stdin:false, StdinOnce:false, TTY:false}}, Containers:[]core.Container{core.Container{Name:"oap", Image:"apache/skywalking-oap-server:8.3.0-es6", Command:[]string(nil), Args:[]string(nil), WorkingDir:"", Ports:[]core.ContainerPort(nil), EnvFrom:[]core.EnvFromSource(nil), Env:[]core.EnvVar{core
 .EnvVar{Name:"JAVA_OPTS", Value:"-Xmx2g -Xms2g -Dmode=init", ValueFrom:(*core.EnvVarSource)(nil)}, core.EnvVar{Name:"SW_STORAGE", Value:"elasticsearch", ValueFrom:(*core.EnvVarSource)(nil)}, core.EnvVar{Name:"SW_STORAGE_ES_CLUSTER_NODES", Value:"elasticsearch-master:9200", ValueFrom:(*core.EnvVarSource)(nil)}}, Resources:core.ResourceRequirements{Limits:core.ResourceList(nil), Requests:core.ResourceList(nil)}, VolumeMounts:[]core.VolumeMount(nil), VolumeDevices:[]core.VolumeDevice(nil), LivenessProbe:(*core.Probe)(nil), ReadinessProbe:(*core.Probe)(nil), StartupProbe:(*core.Probe)(nil), Lifecycle:(*core.Lifecycle)(nil), TerminationMessagePath:"/dev/termination-log", TerminationMessagePolicy:"File", ImagePullPolicy:"IfNotPresent", SecurityContext:(*core.SecurityContext)(nil), Stdin:false, StdinOnce:false, TTY:false}}, EphemeralContainers:[]core.EphemeralContainer(nil), RestartPolicy:"Never", TerminationGracePeriodSeconds:(*int64)(0xc00efb9ce0), ActiveDeadlineSeconds:(*int64)(nil), DN
 SPolicy:"ClusterFirst", NodeSelector:map[string]string(nil), ServiceAccountName:"", AutomountServiceAccountToken:(*bool)(nil), NodeName:"", SecurityContext:(*core.PodSecurityContext)(0xc02f69e8c0), ImagePullSecrets:[]core.LocalObjectReference(nil), Hostname:"", Subdomain:"", Affinity:(*core.Affinity)(nil), SchedulerName:"default-scheduler", Tolerations:[]core.Toleration(nil), HostAliases:[]core.HostAlias(nil), PriorityClassName:"", Priority:(*int32)(nil), PreemptionPolicy:(*core.PreemptionPolicy)(nil), DNSConfig:(*core.PodDNSConfig)(nil), ReadinessGates:[]core.PodReadinessGate(nil), RuntimeClassName:(*string)(nil), Overhead:core.ResourceList(nil), EnableServiceLinks:(*bool)(nil), TopologySpreadConstraints:[]core.TopologySpreadConstraint(nil)}}: field is immutable
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] keylihai commented on issue #6520: table: service_cpm_http_get does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

Posted by GitBox <gi...@apache.org>.
keylihai commented on issue #6520:
URL: https://github.com/apache/skywalking/issues/6520#issuecomment-794725606


   @kezhenxu94 i delete es-init job before upgrade. i also tried to install again after uninstall skywalking,but the result is same.
   i tried to add oap-cm-override like this:
   ![image](https://user-images.githubusercontent.com/11571589/110563268-0423fc00-8186-11eb-802e-763fdb5953dc.png)
   ![image](https://user-images.githubusercontent.com/11571589/110563234-f2daef80-8185-11eb-9d86-3daaf326c4d0.png)
   the configmap has been ok,but how can i use it in  es-init.yaml
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] keylihai commented on issue #6520: table: service_cpm_http_get does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

Posted by GitBox <gi...@apache.org>.
keylihai commented on issue #6520:
URL: https://github.com/apache/skywalking/issues/6520#issuecomment-793475057


   I put core.oal in conf.d/oap/oal


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wuguanyu commented on issue #6520: table: service_cpm_http_get does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

Posted by GitBox <gi...@apache.org>.
wuguanyu commented on issue #6520:
URL: https://github.com/apache/skywalking/issues/6520#issuecomment-1016404413


   > The es-init job complete correctly everytime
   
   When we upgrade skywalking chart  the es-init job will run evenrytime ?
   Why I use helm to upgrade skywalking es-init job not run


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] keylihai commented on issue #6520: table: service_cpm_http_get does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

Posted by GitBox <gi...@apache.org>.
keylihai commented on issue #6520:
URL: https://github.com/apache/skywalking/issues/6520#issuecomment-793474480


   i dont know update which config and how?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #6520: table: service_cpm_http_get does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #6520:
URL: https://github.com/apache/skywalking/issues/6520


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] keylihai commented on issue #6520: table: service_cpm_http_get does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

Posted by GitBox <gi...@apache.org>.
keylihai commented on issue #6520:
URL: https://github.com/apache/skywalking/issues/6520#issuecomment-793465185


   The es-init job complete correctly everytime


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] keylihai commented on issue #6520: table: service_cpm_http_get does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

Posted by GitBox <gi...@apache.org>.
keylihai commented on issue #6520:
URL: https://github.com/apache/skywalking/issues/6520#issuecomment-799920148


   @kezhenxu94 Thank you! Actually i have finded the pattern of config in oap-deplyment.yaml,but still thanks


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #6520: table: service_cpm_http_get does not exist. OAP is running in 'no-init' mode, waiting... retry 3s later.

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6520:
URL: https://github.com/apache/skywalking/issues/6520#issuecomment-793471414


   Have you updated the OAL in your init container?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org