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-34999 Important File Alarm

ALM-34999 Important File Alarm

Description

This alarm is reported when ICAgent detects that important files configured for each service do not exist or cannot be accessed by the paas user, or important files are modified or the permission is changed (the paas user cannot access them).

Attribute

Alarm ID

Alarm Severity

Alarm Type

34999

Major

Environment alarm

Parameters

Parameter Name

Parameter Description

fileName

Indicates the name of an important file that contains its file path.

eventType

Indicates the event type.

notExist: indicates that no important file exists. When the system starts, no important file is found or the paas user cannot access important files.

delete: indicates that important files are deleted. After the system is started, the existing important files are deleted or user paas cannot access important files.

permChange: indicates that the permission of important files is changed. After the system is started, the permission of existing important files is changed.

modify: indicates that the content of important files is modified. After the system is started, the content of existing important files is modified.

hostName

Indicates the host name.

hostIP

Indicates the host IP address.

Impact on the System

Related services and functions may be unavailable.

System Actions

None

Possible Causes

  1. When the system starts, no important file exists or the paas user cannot access important files.
  2. After the system is started, important files are deleted or the content of important files is modified.
  3. The permission of important files is modified.

Procedure

  1. Check the location information of the alarm.

    1. Use a browser to log in to the FusionStage OM zone console.
      1. Log in to ManageOne Maintenance Portal.
        • Login address: https://Address for accessing the homepage of ManageOne Maintenance Portal:31943, for example, https://oc.type.com:31943.
        • The default username is admin, and the default password is Huawei12#$.
      2. On the O&M Maps page, click the FusionStage link under Quick Links to go to the FusionStage OM zone console.
    2. Choose Application Operations > Application Operations from the main menu.
    3. In the navigation pane on the left, choose Alarm Center > Alarm List and query the alarm by setting query criteria.
    4. Click to expand the alarm information. Record the values of hostIP and hostName.

  2. Use PuTTY to log in to the manage_lb1_ip node. Run the following command to ping the IP address of the hostIP and check where the network is normal:

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

    ping hostIP

    • If the network is normal, go to 9.
    • If the network is abnormal, go to 3~8.

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

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

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

    su - root

    Default password: QAZ2wsx@123!

  5. Run the following command to check whether the node corresponding to the queried hostIP is a management zone node:

    kubectl get node hostName -oyaml | grep 'com.huawei.project/name'

    labels:    
     com.huawei.project/name: fst-manage

    Check whether the value of com.huawei.project/name is fst-manage.

    • If yes, the node is a management zone node. Go to 6.a.
    • If no, the node is a data zone node. Go to 6.b

  6. Query the IP address for logging in to the node.

    1. Run the following command to query InternalIP of the node:

      kubectl get node hostName -oyaml | grep -B 2 InternalIP

    2. Run the following command to query ExternalIP of the node:

      kubectl get node hostName -oyaml | grep ExternalIP

  7. Run the following command switch to the paas user:

    su - paas

  8. Run the following command to go to the node using the IP address queried in 6:

    ssh IP

  9. Use PuTTY to log in to the faulty node based on the value of the hostIP parameter.

    Default username: paas. Default password: QAZ2wsx@123!

  10. Query the important file and the content modification time based on fileName such as fileName:/etc/resolv.conf in the alarm details displayed on the OM console.

    • Run the following command to check whether the important file exists:

      ll /etc/ntp.conf

      When "No such file or directory" or "Permission denied" is displayed in the command output:

      • if the value of eventType is notExist, this important file does not exist or the paas user cannot access this important file when the system starts.
      • if the value of eventType is delete, this important file is deleted or the permission of this important file is modified.
    • Run the following command to check the modification time of the important file:

      stat /etc/resolv.conf

      Information similar to the following is displayed.

      File: '/etc/resolv.conf'  
      Size: 99          Blocks: 8        IO Block: 4096               regular fileDevice: ca01h/51713dI
      node: 2205957     Links: 1                                                                                                                                                 Access: (0644/-rw-r--r--)          Uid: ( 1000/    paas)   Gid: ( 1000/    paas)              
      Context: unconfined_u:object_r:user_home_t:s0
      Access: 2018-09-24 15:01:50.000000000 +0800
      Modify: 2018-08-30 15:00:52.000000000 +0800
      Change: 2018-08-30 15:00:52.000000000 +0800 
      Birth: -

    In the preceding command output, the Modify field indicates the modification time of the important file content. Update the time if the content of the important file is modified.

    • If the value of eventType is modify, the content of the important file is modified.

      Change: indicates the time when the important file status is changed. If the important file status (for example, the importmant file permission) is changed, update the time.

    • If the value of eventType is permChange, the permission of the important file is modified.

  11. Collect fault information and contact technical support.

Alarm Clearing

After ICAgent detects that important files exist, the system automatically clears the alarm.

Related Information

None

Translation
Download
Updated: 2019-08-30

Document ID: EDOC1100062365

Views: 34355

Downloads: 31

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