-
Notifications
You must be signed in to change notification settings - Fork 545
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
multiple local bots on different machines #2151
Comments
Yes https://www.youtube.com/watch?v=65aywI2JcLA but that is not a supported usecase and might have scalability issues. You will on your own there. We recommend using Google Cloud for production usecases. |
In this video he runs bot and server on same VM. I want to run multiple bots on different machines and all of them connected to a single server. |
it should just work as long as you open the following ports listed here. -https://github.com/google/clusterfuzz/blob/master/src/local/butler/constants.py#L59 |
Hi, i tried to connect remote bots to the server. it shows the list of remote bots but when i submit the job, remote jobs seems to be not taking the job. I followed the steps mentioned in https://www.youtube.com/watch?v=65aywI2JcLA. Using these steps i am able to upload the jobs from other machines as well(where server is not running). Server constant.py (vm-cfz1 is my server hostname) CRON_SERVICE_PORT = 9009 DEV_APPSERVER_ADMIN_PORT = 9002 DATASTORE_EMULATOR_PORT = 9004 PUBSUB_EMULATOR_PORT = 9006 LOCAL_GCS_SERVER_PORT = 9008 remote bot(whose hostname is vm-cfz2) constant.py DEV_APPSERVER_PORT = 9000 CRON_SERVICE_PORT = 9009 DEV_APPSERVER_ADMIN_PORT = 9002 DATASTORE_EMULATOR_PORT = 9004 PUBSUB_EMULATOR_PORT = 9006 LOCAL_GCS_SERVER_PORT = 9008 command to run server: python3.7 butler.py run_server --storage-path /prj/clusterfuzz --bootstrap command to run bot: Note: /prj/clusterfuzz is shared path which is accessible to both server and remote bot. bot.log on remote bot: StackTrace: Also i tried to change PUBSUB_EMULATOR_HOST from 'localhost:' + str(PUBSUB_EMULATOR_PORT) to 'vm-cfz1:' + str(PUBSUB_EMULATOR_PORT) i get below error: Traceback (most recent call last): Thanks in advance. |
Can i run multiple local bots on different machines with one server on different machine ?
The text was updated successfully, but these errors were encountered: