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

Connect slave nodes from remote server to master node on local machine #726

Closed
canhdv-vng opened this issue Jan 24, 2018 · 1 comment
Closed

Comments

@canhdv-vng
Copy link

canhdv-vng commented Jan 24, 2018

Description of issue / feature request

When I try running Locust distributed, I run master node on a local machine to monitor web UI and then log in to a remote server and start slave nodes with --master-host=machine_ip. But nothing happens. How can I do this?

On the local machine, I ran command locust -f locustfile.py --master and on the remote server, I ran locust -f locustfile.py --slave --master-host=my_ip. Both scripts are the same.

Expected behavior

Slave nodes on the remote server will connect to master node on the local machine.

Actual behavior

Slave nodes don't connect to master node.

Environment settings (for bug reports)

  • OS: Ubuntu 16.04.3
  • Python version: 2.7
  • Locust version: 0.8.1

Steps to reproduce (for bug reports)

@cgoldberg
Copy link
Member

To help you at all, you need to show the command you are trying to start locust with on both master and slave. We are not all mind readers here :)

aloso, did you follow the docs?
https://docs.locust.io/en/latest/running-locust-distributed.html

I'm closing this for now, but happy to re-open if you can demonstrate there is an issue with locust.

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