PowerScale: isi_log_server does not allow custom port from OneFS 9.2.1.0 onwards

Summary: Log server address with port number can’t be added by isi_log_server, but address without port number works.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

When a log server is added with a port number, it will fail with an error message.
yma-5ofsj1r-1# isi_log_server add 10.205.228.122:768  <<<< add customer port, it throw error
isi_log_server: Invalid hostname: Refer to RFC-1123 for an acceptable format
Use 'isi_log_server help' for more information

Cause

Following regular expression do not include port detection, which results in matching failure of addresses with port.
DOMAIN_NAME_RE = "^$|^((([a-zA-Z0-9_][a-zA-Z0-9-]{0,61})?[a-zA-Z0-9])" \
                 "(\.([a-zA-Z0-9_][a-zA-Z0-9-]{0,61})?[a-zA-Z0-9])*)$"
IPV4_ADDR_REGEX = "^([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\\.([01]?[0-9]?" \
                  "[0-9]|2[0-4][0-9]|25[0-5])){3}$"
IPV6_ADDR_REGEX = "^[0-9A-Fa-f]{1,4}(:[0-9A-Fa-f]{1,4}){0,5}::([0-9A-Fa-f]" \
                  "{1,4}(:[0-9A-Fa-f]{1,4}){0,5})?$|^[0-9A-Fa-f]{1,4}" \
                  "(:[0-9A-Fa-f]{1,4}){7}$"
DN_IP_ADDR_REGEX = (
        "(" + DOMAIN_NAME_RE + "|" + IPV4_ADDR_REGEX + "|" + IPV6_ADDR_REGEX
        + ")"

Resolution

Fixed in PowerScale OneFS 9.7.0.0.

Affected Products

PowerScale OneFS
Article Properties
Article Number: 000220359
Article Type: Solution
Last Modified: 02 Apr 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.