What Do I Do If Edge Node Management Fails?
Symptom
The edge node cannot be managed on IEF.
Fault Locating
There are many causes for edge node management failures. The most common cause is that the edge node does not meet management requirements of IEF or the network is inaccessible. Follow the steps in the following figure to locate the cause of the edge node management failure.
You can run edgectl to check whether the edge node meets the management requirements. Before running edgectl, check whether the edgectl package exists in the /opt/edge-installer directory.
- If the package exists, you do not need to download it again.
- If the package does not exist, log in to the IEF console and download the tool of the corresponding version, for example, edgectl_x.x.x_x_x86_64.tar.gz, from Edge O&M Tool on the right of the Dashboard page. Then, decompress the package in the /opt/edge-installer directory.
Run the following commands to check whether the edge node meets the management requirements:
chmod +x /opt/edge-installer/edgectl
./opt/edge-installer/edgectl diagnose installation
- If the edge node does not meet the requirements, information similar to the following is displayed. You can locate and rectify the fault based on the error code in the message. For details, see Error Code Overview.
Failed to get Docker version. ERROR6102: Make sure that Docker is running. For more information, see IEF documentation. +-------------------------------+ | Installation diagnose failed. | +-------------------------------+
- If the edge node meets the requirements, the following information is displayed: In this case, you can continue to locate the fault based on Table 1.
+---------------------------------+ | Installation diagnose succeed. | +---------------------------------+
| Possible Cause | Solution |
|---|---|
| The edge node does not meet management requirements. | Edge Node Does Not Meet Management Requirements OS Kernel Version Is Too Early OS Information of the Edge Node Fails to Be Obtained NPU Driver Is Not Installed on the Edge Node with an AI Accelerator Card |
| Docker issues | |
| Network issues | Port 8883 Is Disabled by the Firewall |
| Other issues | A Certificate Is Used on Multiple Edge Nodes An Edge Node Is Managed for Multiple Times Command for Managing Edge Nodes Is Not Run in the Specified Directory |
Edge Node Does Not Meet Management Requirements
Edge Agent can be installed only on edge nodes that meet requirements listed in Table 2.
| Item | Specifications |
|---|---|
| OS | |
| Memory | ≥ 256 MB |
| CPU | ≥ 1 vCPU |
| Hard disk | ≥ 1 GB |
| GPU (optional) | The GPU models on the same edge node must be the same. NOTE: Currently, only NVIDIA GPUs, such as Tesla P4, P40, and T4, are supported. If a device equipped with GPU hardware is registered as an edge node, you can choose not to enable its GPUs. |
| Container engine (mandatory when containerized applications are deployed) | The Docker version must be later than 17.06. Docker 18.06.3 is recommended. (However, Docker 18.09.0 is not recommended as it has a serious bug. For details, see https://github.com/docker/for-linux/issues/543. If this version has been installed, upgrade it at the earliest possible opportunity. This issue has been resolved in Docker 18.09.0.60 embedded in Atlas 500 AI edge stations.) NOTICE: After Docker is installed, configure the Docker process to start at host startup. This configuration prevents system exceptions caused by Docker startup failures after the host is restarted. |
| Glibc | The Glibc version must be later than 2.17. |
| Port | Edge nodes need to use the following ports. Ensure that these ports are available.
|
OS Is Not Supported
Check whether your OS is supported by IEF by referring to Table 2. Do not use the Linux OS of the Chinese edition.
OS Kernel Version Is Too Early
Check whether the OS and kernel version of your edge node meet the requirements described in Table 2.
You can run the following commands to check whether your OS kernel version is too early:
sh /opt/edge-installer/conf/script/parse_user_config.sh node_id
If an error is reported, the OS kernel version is too early. Upgrade the kernel version or install an OS listed in Table 2, and then manage the edge node again.
OS Information of the Edge Node Fails to Be Obtained
View the IEF software installation logs. If the os field in the last line of the following output is empty, the OS information fails to be obtained.
2020-01-11 17:00:46.341 +08:00 DEBUG :0 init logger...
2020-01-11 17:00:46.341 +08:00 INFO config/config.go:45 New file source added for configuration: /opt/edge-installer/conf/config.yaml
2020-01-11 17:00:46.341 +08:00 INFO config/config.go:45 New file source added for configuration: /opt/edge-installer/conf/logging.yaml
2020-01-11 17:00:46.351 +08:00 INFO pkg/installer.go:24 start to install
2020-01-11 17:00:46.386 +08:00 INFO placementclient/placementclient.go:61 http_proxy:ProxyNotSet, https_proxy:ProxyNotSet
2020-01-11 17:00:46.437 +08:00 INFO httpclient/httpsclient.go:182 https_proxy:
2020-01-11 17:00:46.479 +08:00 INFO util/util.go:446 system cert file[/opt/IEF/Cert/system/sys_private_cert_crypto.crt] and system key file[/opt/IEF/Cert
/system/sys_private_cert_crypto.key] have been inited
2020-01-11 17:00:46.479 +08:00 INFO pkg/installer.go:46 ------------------install---------------
2020-01-11 17:00:46.479 +08:00 INFO deploy/bootstrap.go:48 install precheck success.
2020-01-11 17:00:46.479 +08:00 INFO deploy/bootstrap.go:54 install preprocess start
2020-01-11 17:00:46.479 +08:00 INFO deploy/deploy.go:39 install preprocess start
2020-01-11 17:00:46.501 +08:00 INFO util/util.go:192 get arch success
2020-01-11 17:00:46.502 +08:00 INFO util/util.go:216 os type is:"euleros"
2020-01-11 17:00:46.502 +08:00 INFO util/util.go:432 installer version [1.0.6]
2020-01-11 17:00:46.516 +08:00 INFO placementclient/placementclient.go:113 body : {"arch":"x86_64","installer_version":"1.0.6","os":"euleros"} NPU Driver Is Not Installed on the Edge Node with an AI Accelerator Card
If you try to register an edge node of the AI accelerator card type, make sure that the edge node supports NPUs and has an NPU driver installed.
Run the following command on your edge node:
ls /dev/davinci_manager /dev/hisi_hdc /dev/davinci*
If the file does not exist, no NPU driver is installed. Install an NPU driver.
GPU Driver Is Not Installed on the Edge Node with a GPU
If you try to register an edge node of the GPU type, make sure that the edge node supports GPUs and has a GPU driver installed.
Check whether the GPU driver can be properly loaded.
lsmod |grep -e nvidia -e nvidia-uvm
/var/IEF/nvidia/bin/nvidia-smi
If the GPU driver is not properly installed, install it by following the procedure described in Installing a GPU Driver.
Disk Space Is Full
The IEF software cannot be installed on the edge node if the disk space is full. Run the following command to check the disk space:
df -h
lsblk
Ensure that the disk usage of the following directories is not nearly 100%. For details about the disk space requirements, see Table 2.
- /opt/IEF
- /opt/edge-installer
- /opt/IEFpack
- /var/IEF
Container Engine Is Not Installed or Started
Run the following command to check whether a container engine is started:
systemctl status docker
- If the container engine information is not displayed, the container engine is not installed. Install a container engine based on the requirements listed in Table 2.
- If the container engine is not started, run the following command to start it:
Check the container engine status again.
- If the container engine is started properly, manage the edge node again.
- If the container engine cannot be started, restore or reinstall it.
Multiple docker0 Bridge Addresses Exist on the Edge Node
Two docker0 bridge addresses are generated after a container with container engine GUI is used. As a result, the docker0 bridge registration fails when IEF is managing the edge node, causing an IEF software installation failure. To rectify the fault, delete the redundant docker0 bridge address and reinstall the IEF software on the edge node.
You can run the following command to query the docker0 bridge address:
ip addr show | grep docker0
If multiple IP addresses are displayed, multiple docker0 bridges exist. Retain the IP address starting with 172 and delete other redundant docker0 bridge addresses.
Port 8883 Is Occupied
Run the following command to check whether port 8883 is occupied:
netstat -npl | grep 8883
The IEF core component (edgecore) depends on port 8883. If port 8883 is occupied, the edgecore component fails to be installed.
After IEF is properly installed, the edgecore component listens at port 8883. Therefore, ensure that port 8883 is not occupied.

Port 8883 Is Disabled by the Firewall
Check the firewall status on the edge node.
systemctl status firewalld
firewall-cmd --state
In the command output, notrunning indicates that the firewall is disabled and running indicates that the firewall is enabled.
If the firewall is enabled, enable port 8883 or disable the firewall.
Edge Node Cannot Connect to IEF
Run the following command to check whether the edge node can connect to IEF:
curl -i -k -v https://ief2-edgeaccess.cn-north-4.myhuaweicloud.com:443/
If no command output is displayed, the edge node is disconnected from IEF. Check the network and ensure that the edge node can connect to IEF.
Edge Node Fails to Resolve Domain Names
Ensure that your edge node can resolve the following domain names:
- Domain name of the region where IEF is located, for example, ief2-placement.cn-north-4.myhuaweicloud.com or ief2-placement.cn-north-1.myhuaweicloud.com. You can run the cat /opt/IEF/Cert/user-config command to query the domain name of your region.
- ief2-edgeaccess.cn-north-4.myhuaweicloud.com
Run the ping command to check whether the domain name can be resolved. For example:
ping ief2-edgeaccess.cn-north-4.myhuaweicloud.com ping ief2-placement.cn-north-4.myhuaweicloud.com
If the domain name cannot be resolved, reconfigure a DNS server. The DNS server with IP address 114.114.114.114 is recommended.
A Certificate Is Used on Multiple Edge Nodes
The same certificate is loaded on multiple edge nodes, and one of these nodes is in the Running state.
The edge nodes registered on the IEF console must correspond to the actual edge nodes. Do not create only one edge node on the IEF console and load the installation package and certificate downloaded from the IEF console to multiple edge nodes.
Run the following command to check whether the certificate is repeatedly used:
cat /var/IEF/sys/log/edge_core.log | grep websocket
The certificate is repeatedly used if a message indicating that node xxx has been occupied is displayed. (xxx indicates the ID of the edge node.)

An Edge Node Is Managed for Multiple Times
- The uninstall operation is not correctly performed before the edge node is managed again. To be specific, the edge node is deleted only on the IEF console, but the IEF software is not uninstalled from the edge node.
Run the following commands to check whether the IEF components on the edge node are running:
systemctl status edgecore
systemctl status edgemonitor
systemctl status edgelogger
If the edge node fails to be managed but the preceding components are still running, the components are not correctly uninstalled from the edge node. Run the following command to uninstall the components:
cd /opt/edge-installer; sudo ./installer -op=uninstall
Note that the following misoperation may occur:
To manage the edge node again, rename the original /opt directory of the node /opt_old, create a new /opt directory, and manage the node based on the guide provided by IEF. When the node management fails, an uninstall operation is performed. The system prompts that the uninstallation is successful but the preceding components are still running. This is because the IEF components you uninstalled are not those installed in the /opt_old directory. In this case, restore the /opt directory, uninstall the IEF components, and then manage the edge node again. However, do not perform this operation to manage an edge node again.
- IEF components on the edge node are not completely uninstalled.
If the uninstallation is complete but the management still fails, restart the edge node and try again.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.