Hi team, here's a new case.
Problem Symptom
One or more iSCSI IP addresses fail to be configured and error The specified port has an IP address is reported on DeviceManager.
Problem Diagnosis
Analyze the script execution logs printed when the fault occurred. The is_port_exist_ip function reported an error, indicating that a specified port has already been configured with an IP address in the ifcfg-bondi.bak file, which conflicts with the current configuration.
zgrep -a "is_port_exist_ip" dsware.yy-dd-hh*

Contents in the ifcfg-bondi.bak file are as follows. The DEVICE=bondi field exists in the configuration file and IPADDR=xxx.xxx.xxx.xxx indicates the corresponding IP address.

Causes
Backup files of the network configuration files are generated when the operating system is running. When configuring iSCSI IP addresses, the software checks whether the specified IP addresses exist in all network configuration files stored in /etc/sysconfig/network-scripts or /etc/sysconfig/networks directories. If any of the IP addresses has been configured to another device in the backup file of a configuration file, the check will fail.
Solution
Check whether the backup files of network configuration files need to be retained. The common names of a backup file include ifcfg-*.bak and ifcfg-*.old. If the backup files are unnecessary, perform the following operations:
Solution 1: Move the backup files to the /home/fsadmin directory.
Solution 2: Delete unnecessary backup files with caution.
Configure the iSCSI IP addresses again and check whether the operation is successful.
If yes, no further action is required.
If no, go to 2.
Contact technical support engineers.
