-
Notifications
You must be signed in to change notification settings - Fork 1.3k
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
io_tune core dump on t2.micro EC2 instances #1645
Comments
@glommer can you take a look? |
Sure. It sounds like a permission error. Likely at /var/lib/scylla. Maybe some On Sep 4, 2016 3:19 AM, "Tzach Livyatan" notifications@github.com wrote:
|
@tzach @glommer is correct the issue is permissions you are running scylla_io_setup from the centos user that does not have write privleges into /var/lib/scylla we can provide the following instructions (at least it did for me) and ended up with something else
So the user can use developer-mode to overcome this. It is far from being perfect but does provide the correct information (e.g. the user should enable developer-mode) Is that enough ? |
The doc already requires |
The doc does require it - and you did not do what the doc requires - you ran scylla_io_setup
directly and not sudo scylla_io_setup we can instruct the user todo that not only in the doc but also when we fail in boot
|
Note that I was following the instructions on the AMI:
this must be fixed. |
…tances On instances differenet then i2/m3/c3 we provide instructions to run scylla_ip_setup. Running scylla_io_setup requires access to /var/lib/scylla to crate a temporary file. To gain access to that directory the user should run 'sudo scylla_io_setup'. refs: #1645 Signed-off-by: Shlomi Livne <shlomi@scylladb.com> Message-Id: <4ce90ca1ba4da8f07cf8aa15e755675463a22933.1473935778.git.shlomi@scylladb.com>
@glommer what is left is not to coredump in case there are no permissions and to provide the info and exit with an error. |
…tances On instances differenet then i2/m3/c3 we provide instructions to run scylla_ip_setup. Running scylla_io_setup requires access to /var/lib/scylla to crate a temporary file. To gain access to that directory the user should run 'sudo scylla_io_setup'. refs: #1645 Signed-off-by: Shlomi Livne <shlomi@scylladb.com> Message-Id: <4ce90ca1ba4da8f07cf8aa15e755675463a22933.1473935778.git.shlomi@scylladb.com> (cherry picked from commit acb8307)
@slivne can I test with 1.4.1 AMI? |
yes On Wed, Nov 9, 2016 at 5:26 PM, Tzach Livyatan notifications@github.com
|
Well, the original problem was solved, but the entire process is not pleasant. |
|
Installation details
Scylla version (or git commit hash): 1.3
OS (RHEL/CentOS/Ubuntu/AWS AMI): Scylla AMI, t2. micro
The following is a capture of trying to run 1.3 AMI on t2.micro instance type.
The text was updated successfully, but these errors were encountered: