-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[yugabyted] Error while starting yugabyte cluster with './yugabyted start' on macOS #13373
Comments
…th private ip as advertise address by default Summary: The code changes, for supporting 0.0.0.0 as bind address, that was using private ip of the machine by default fails to work when running on a macOS machine. The python method socket.gethostbyname() fails to get the host ip of the machine of macOS. Reverting the changes back. Test Plan: Manual Testing Reviewers: nikhil Reviewed By: nikhil Subscribers: sgarg-yb Differential Revision: https://phabricator.dev.yugabyte.com/D18443
Another issue reported for itest failure for a default behaviour change. We will need update the tests before landing this feature. we have reverted the code change in master. The issue is test case is trying to connect on 127.0.0.1 by default however a feature was landed to change the behavior of yugabyted to bind on the host VM private-ip address instead on 127.0.0.1. YCQLSH should use host IP instead of loopback address. The test case has to be updated however this feature was broken on macOS, so we reverted the feature. There are workarounds for this issue. Do we have to backport the reverted code changes for 2.15.1.0 branch? Please let us know |
@nchandrappa Hi, are there any updates on this ? Im currently unable to start installing yugabtyeDB on my local machine due to this. Machine: Intel MBP 15 inch , Mac OS Big Sur |
We have reverted the code changes from the master, and a new fix is in progress. The issue will be fixed in YugabyteDB |
Hi @Yosuamuliawan19 There is a workaround by directly specifying the advertise_address. You can run the following command to start a single node cluster -
|
…ing advertising address Summary: Current Behaviour- * If advertise address is not provided, the rpc_bind_address of yb-master was being set to 0.0.0.0 whereas the rpc_bind_address of yb-tserver was being set to 127.0.0.1 Changed Behaviour - * In Linux, the private ip is used as advertise address if not given. * In MacOS, the function to find the private_ip address from python if not working properly so starting with 127.0.0.1 as bind address. Test Plan: Manual Testing Reviewers: nikhil Reviewed By: nikhil Subscribers: sgarg-yb Differential Revision: https://phabricator.dev.yugabyte.com/D18517
Code changes have landed and they will be available in |
Description
When trying to start a 1-node cluster on macOS using
./yugabyted start
, following error shows up.The python method socket.gethostbyname() is not able to get the host ip.
The text was updated successfully, but these errors were encountered: