-
Notifications
You must be signed in to change notification settings - Fork 314
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
Provide a Rally package with all dependencies for offline install #226
Comments
Can you please elaborate what you mean exactly by "work a bit on dependency pulling"? :) What should Rally do exactly?
This is correct. Please see the FAQ item: Do I need an Internet connection?. Rally uses Github in two places:
I think you don't need to worry too much about 1. because it should simply fail in your case and you should see something like:
For 2., it depends on how you want to use it:
|
Hey :) Sorry I wasn't too clear. What I mean is that esrally install process is completely impossible when target machine is offline :) |
I see. I assumed you had Rally already installed, because of:
How did you install it originally? I assume, that you did something like:
(well, maybe you did the first step on another machine and copied the cloned repo). So, if I understand you correctly, what would help you is a self-contained Rally package that you can download and then just install on the target machine (which does not have an Internet connection)? A second question: Rally manages a lot of stuff for you (it's downloading Elasticsearch releases, benchmark data from S3 etc. etc). It's doable that you manage this yourself but it's a bit cumbersome at the moment. It would be great if you could tell me a little bit about your intended use case and then I see what we can do to make this easier for you. |
I have the same problem as my environment (like most corporate servers that sit behind a firewall) does not have internet access. I have downloaded esrally and its dependencies from PyPi and installed esrally successfully. How do i run tests in offline mode by downloading the required test files offline? the --offline option does not help as the tracks still need internet access. Any suggestions/workarounds? |
I hear you @prajwalkumar83 and @sokoow. The only machine that needs access to the Internet is the machine where you invoke Rally (and this should normally be a different machine than the one(s) you want to hit with the benchmark). So these are actually two issues:
The easiest option is to install Rally on a machine that has Internet access, e.g. a developer notebook and then copy the relevant data. For the rest of this comment, I will make the following assumptions:
Let's assume you want to run a specific track on
Note: The actual distribution version does not really matter; any version will do. You just need a version to run the benchmark. After the benchmark has run, you need to copy a few directories from
If you want to run the benchmark on Now you just need to add |
@sokoow I changed the ticket title to better reflect the intent. |
Here are the steps I used to get this working on CentOS 7: machine with internet:
Offline machine
machine with internet:
Offline machine
|
Many thanks @jakommo for creating these step-by-step instructions. |
With the next release, we will provide a .tar.gz package that contains Rally and all its dependencies + an installation helper script. Users are still required to install all prerequisites (Python et.al.) though. |
Can you work a bit on dependency pullng ? We see that esrally after it's installed, interacts with github and tries to pull from it - it'd be a total show stopper for environments that don't have github access for some reason.
The text was updated successfully, but these errors were encountered: