You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/07/28 19:40:00 UTC

[jira] [Updated] (HDDS-15777) Make admin CLI subcommands parse IPv6 RPC addresses correctly

     [ https://issues.apache.org/jira/browse/HDDS-15777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HDDS-15777:
----------------------------------
    Labels: pull-request-available  (was: )

> Make admin CLI subcommands parse IPv6 RPC addresses correctly
> -------------------------------------------------------------
>
>                 Key: HDDS-15777
>                 URL: https://issues.apache.org/jira/browse/HDDS-15777
>             Project: Apache Ozone
>          Issue Type: Task
>            Reporter: Siyao Meng
>            Assignee: Prabhat Singh Yadav
>            Priority: Major
>              Labels: pull-request-available
>
> Several admin/insight subcommands take address.split(":")[0] as the host, which returns an empty or wrong host for IPv6 literals:
> - DecommissionOMSubcommand.java:137: InetAddress.getByName(rpcAddrStr.split(":")[0]).
> - NSSummaryAdmin.java:62,69 and BaseInsightSubCommand.java:148,156: address.split(":", 2)[0] for host and [1] for port. These default to 0.0.0.0:port today, so they only fail once an IPv6 bind address is configured.
> Proposed: use an IPv6-aware host/port parser. Add tests with IPv6 RPC addresses.
> Parent epic: HDDS-15763.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org