guild-operators
guild-operators copied to clipboard
EKG_HOST does not accept resolvable hostnames
Describe the bug
The test for EKG_HOST is to validate an IPv4 address. When using containers / kubernetes with separate pods for node and cncli setting the name of the node service as EKG_HOST, which is resolvable, resulting in Not a valid IP format set for EKG host, please check env file!
To Reproduce Steps to reproduce the behavior:
- Define EKG_HOST as hostname that resolves to IPv4, for example
EKG_HOST=localhost - Run
cncli.sh leaderlog - See error
Expected behavior Resolvable names should not cause errors.
Version:
- OS: Debian
- Product version: CNTools 13.2.2
- Cardano Node version: 9.2.1
- Network you're connecting to: 2022-10-25T00:00:00Z