Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yb-ctl and yb_servers() #8912

Open
kerneljake opened this issue Jun 15, 2021 · 0 comments
Open

yb-ctl and yb_servers() #8912

kerneljake opened this issue Jun 15, 2021 · 0 comments
Assignees

Comments

@kerneljake
Copy link
Contributor

With 2.7.2.0-dc886cdd build, yb_servers() does not return the correct IP address if you start with yb-ctl and specify an IP.

$ yb-ctl --rf=1 start --listen_ip=192.168.1.43
yugabyte@yugabyte=# select * from yb_servers();
   host    | port | connections | primary | cloud  |   region    | zone  | publicIP
-----------+------+-------------+---------+--------+-------------+-------+----------
 127.0.0.1 | 5433 |           0 |       1 | cloud1 | datacenter1 | rack1 |
(1 row)

Note it does work correctly if instead you start it with yugabyted start --listen some.ip.address.here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants