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 Troubleshooting Guide 02

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).
Restoration Method When Fuxi DaemonSet on the Portal Is Deleted By Mistake

Restoration Method When Fuxi DaemonSet on the Portal Is Deleted By Mistake

Symptom

The server process disappears.

Possible Causes

Fuxi DaemonSet is deleted by mistake.

Troubleshooting Method

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

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

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

    su - root

    Default password: QAZ2wsx@123!

  2. Run the following command to obtain normal Fuxi DaemonSet in other normal namespaces in the data zone and export the .yaml file to the local host:

    kubectl get ds fuxi -n {namespace} -oyaml>temp.yaml

  3. Run the following command to open the temp.yaml.

    vim temp.yaml

  4. Modify the .yaml file exported in the previous step and change the values of namespace and name under imagepullsecrets to the current project name and project name-secret, respectively.

    apiVersion: extensions/v1beta1
    kind: DaemonSet
    metadata:
      creationTimestamp: 2018-12-24T08:49:11Z
      enable: true
      generation: 1
      labels:
        name: fuxi
      name: fuxi
      namespace: aos-test
      resourceVersion: "1096791"
      selfLink: /apis/extensions/v1beta1/namespaces/aos-test/daemonsets/fuxi
      uid: c8550e3b-0758-11e9-95f3-fa163eb334bd
    spec:
      revisionHistoryLimit: 10
      selector:
        matchLabels:
          app: fuxi
      template:
        metadata:
          creationTimestamp: null
          enable: true
          labels:
            app: fuxi
        spec:
          dnsPolicy: ClusterFirst
          imagePullSecrets:
          - name: aos-test-secret
          nodeSelector:
            supportContainer: "true"
          ......

  5. Press Esc to switch to command mode and run the following command to save the change and exit:

    :wq!

  6. Save the modified content and run the following command to generate a new DaemonSet based on the .yaml file:

    kubectl create -f temp.yaml -n {namespace}

    The configuration is successful if the following information is displayed:

    daemonSet "fuxi" created

  7. If the fault persists, contact technical support for assistance.
Translation
Download
Updated: 2019-06-01

Document ID: EDOC1100062375

Views: 2015

Downloads: 12

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