-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#5002] Show hostnames in master/tserver web UI when hostnames are sp…
…ecified in bind cmd line flags Summary: The web UI at port 7000/9000 still shows IP addresses when --webserver_interface, rpc_bind_addresses and server_broadcast_addresses for all nodes is set to DNS names. This diff makes it use the same logic as rpc_bind_addresses, where the cmd line flag is used unchanged when only a single non-wildcard address is used. Test Plan: 1. Run masters/tservers with --webserver_interface set to a DNS name, verify that no IPs show up for them. 1.1. Test above with an IPv6 address like [::1] and --net_address_filter=all 1.2 Test above with webserver_interface set to wildcards (0.0.0.0 and [::]) and verify regular IPs show up in the web interface. Reviewers: hector, bogdan, raju Reviewed By: raju Subscribers: ybase, bogdan Differential Revision: https://phabricator.dev.yugabyte.com/D8897
- Loading branch information
Showing
6 changed files
with
62 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters