You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/07/01 10:07:48 UTC

[GitHub] [inlong] genshengyang commented on issue #4826: [Bug][K8s] Helm upgrade inlong failed

genshengyang commented on issue #4826:
URL: https://github.com/apache/inlong/issues/4826#issuecomment-1172178434

   @lucaspeng12138 
   the mysql pod is still pending with enough resources.
   
   =================================================================
   kubectl describe pod inlong-mysql-0 -n inlong
   
   Name:           inlong-mysql-0
   Namespace:      inlong
   Priority:       0
   Node:           cn-hongkong.192.x.x.x/192.x.x.x
   Start Time:     Fri, 01 Jul 2022 17:52:13 +0800
   Labels:         app=inlong
                   cluster=inlong
                   component=mysql
                   controller-revision-hash=inlong-mysql-5b44f69fbd
                   release=inlong
                   statefulset.kubernetes.io/pod-name=inlong-mysql-0
   Annotations:    kubernetes.io/psp: ack.privileged
   Status:         Pending
   IP:
   IPs:            <none>
   Controlled By:  StatefulSet/inlong-mysql
   Containers:
     inlong-mysql:
       Container ID:
       Image:          mysql:8.0.28
       Image ID:
       Port:           3306/TCP
       Host Port:      0/TCP
       State:          Waiting
         Reason:       ContainerCreating
       Ready:          False
       Restart Count:  0
       Requests:
         cpu:     500m
         memory:  512Mi
       Environment:
         MYSQL_ROOT_PASSWORD:  <set to the key 'mysql-password' in secret 'inlong-mysql'>  Optional: false
       Mounts:
         /docker-entrypoint-initdb.d from sql (rw)
         /var/lib/mysql from data (rw)
         /var/run/secrets/kubernetes.io/serviceaccount from default-token-cb4zh (ro)
   Conditions:
     Type              Status
     Initialized       True
     Ready             False
     ContainersReady   False
     PodScheduled      True
   Volumes:
     data:
       Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
       ClaimName:  inlong-mysql-data
       ReadOnly:   false
     sql:
       Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
       ClaimName:  inlong-mysql-data
       ReadOnly:   false
     default-token-cb4zh:
       Type:        Secret (a volume populated by a Secret)
       SecretName:  default-token-cb4zh
       Optional:    false
   QoS Class:       Burstable
   Node-Selectors:  <none>
   Tolerations:     node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                    node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
   Events:
     Type     Reason            Age                   From               Message
     ----     ------            ----                  ----               -------
     Warning  FailedScheduling  6m2s                  default-scheduler  running "VolumeBinding" filter plugin for pod "inlong-mysql-0": pod has unbound immediate PersistentVolumeClaims
     Warning  FailedScheduling  6m2s                  default-scheduler  running "VolumeBinding" filter plugin for pod "inlong-mysql-0": pod has unbound immediate PersistentVolumeClaims
     Normal   Scheduled         6m                    default-scheduler  Successfully assigned inlong/inlong-mysql-0 to cn-hongkong.192.x.x.x
     Warning  FailedMount       103s (x2 over 3m58s)  kubelet            Unable to attach or mount volumes: unmounted volumes=[sql], unattached volumes=[data sql default-token-cb4zh]: timed out waiting for the condition
   
   ======================================================================
   kubectl describe PersistentVolumeClaim inlong-mysql-data -n inlong
   
   Name:          inlong-mysql-data
   Namespace:     inlong
   StorageClass:  model-nas-logs-sc
   Status:        Bound
   Volume:        nas-64a61608-0920-4ac7-b2ec-xxxxxxxxxxxx
   Labels:        app=inlong
                  app.kubernetes.io/managed-by=Helm
                  chart=inlong-2.0.2
                  cluster=inlong
                  component=mysql
                  heritage=Helm
                  release=inlong
   Annotations:   meta.helm.sh/release-name: inlong
                  meta.helm.sh/release-namespace: inlong
                  pv.kubernetes.io/bind-completed: yes
                  pv.kubernetes.io/bound-by-controller: yes
                  volume.beta.kubernetes.io/storage-provisioner: nasplugin.csi.alibabacloud.com
   Finalizers:    [kubernetes.io/pvc-protection]
   Capacity:      10Gi
   Access Modes:  RWO
   VolumeMode:    Filesystem
   Used By:       inlong-mysql-0
                  inlong-mysql-0
   Events:
     Type    Reason                 Age                    From                                                                                       Message
     ----    ------                 ----                   ----                                                                                       -------
     Normal  ExternalProvisioning   7m53s                  persistentvolume-controller                                                                waiting for a volume to be created, either by external provisioner "nasplugin.csi.alibabacloud.com" or manually created by system administrator
     Normal  Provisioning           7m53s (x2 over 7m53s)  nasplugin.csi.alibabacloud.com_sre-worker-k8s-test04_cf70b729-d474-4eb6-977a-75585c646573  External provisioner is provisioning volume for claim "inlong/inlong-mysql-data"
     Normal  ProvisioningSucceeded  7m53s (x2 over 7m53s)  nasplugin.csi.alibabacloud.com_sre-worker-k8s-test04_cf70b729-d474-4eb6-977a-75585c646573  Successfully provisioned volume nas-64a61608-0920-4ac7-b2ec-xxxxxxxxxxxx


-- 
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: commits-unsubscribe@inlong.apache.org

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