No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

HUAWEI CLOUD Stack 6.5.0 Alarm and Event Reference 04

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
ALM-38008 Kubernetes Unavailable

ALM-38008 Kubernetes Unavailable

Description

This alarm is reported when a connection fails because the Kubernetes service is unavailable.

Attribute

Alarm ID

Alarm Severity

Alarm Type

38008

Major

Communications alarm

Parameters

Parameter Name

Parameter Description

serviceName

Indicates the name of the service that reports the alarm.

namespace

Indicates the namespace of the service that reports the alarm.

instanceid

Indicates the ID of the service instance for which the alarm is reported.

srvAddr

Indicates the access address of the service that reports the alarm.

Impact on the System

The Kubernetes function is unavailable, for example, applications cannot be added, deleted, or updated.

System Actions

None

Possible Causes

  • The node where the kube-apiserver instance is located breaks down.
  • The kube-apiserver instance is unavailable.
  • Access to kube-apiserver times out.

Procedure

  1. Run the ping manage_paas_er_vip command to check whether the network communication is abnormal.

    • If yes, contact network O&M personnel.
    • If no, go to 2.

  2. Check whether the master node breaks down to determine whether the node where the kube-apiserver instance is located breaks down.

    • If yes, reboot the node.
    • If no, go to 3.

  3. Check whether the kube-apiserver instance is in the Running state.

    1. Use PuTTY to log in to the manage_lb1_ip node.

      The default username is paas, and the default password is QAZ2wsx@123!.

    2. Run the following command and enter the password of the root user to switch to the root user:

      su - root

      Default password: QAZ2wsx@123!

    3. Run the kubectl get pod -n fst-manage | grep kube-apiserver command to check whether the kube-apiserver instance is in the Running state. If the command execution times out, go to 4.
      • If no, restart the kube-apiserver instance that is not in the Running state.
        1. Move kube-apiserver.manifest out of the /var/paas/kubernetes/manifests/ directory.
        2. Run the docker ps | grep kube-apiserver command to check whether the kube-apiserver container exists.
        3. After the kube-apiserver container exits completely, move the kube-apiserver.manifest file back to the /var/paas/kubernetes/manifests/ directory and wait for the kubelet to restart the instance. If the instance is still abnormal, contact related personnel.
      • If yes, go to 4.

  4. Run the kubectl get node command to check whether the command execution times out.

    1. Use PuTTY to log in to the manage_lb1_ip node.

      The default username is paas, and the default password is QAZ2wsx@123!.

    2. Run the following command and enter the password of the root user to switch to the root user:

      su - root

      Default password: QAZ2wsx@123!

    3. Run the kubectl get node command to query the nodes in the default namespace and check whether the command execution times out.
      • If yes, an ETCD exception occurs and ETCD querying times out. Contact ETCD personnel to locate and rectify the fault.
      • If no, go to 5.

  5. For other causes, contact technical support for assistance.

Alarm Clearing

This alarm is automatically cleared after the fault is rectified.

Related Information

None

Translation
Download
Updated: 2019-08-30

Document ID: EDOC1100062365

Views: 48558

Downloads: 33

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next