scylladb / scylla-ami

7 stars 29 forks source link

Failed to run Scylla in developer mode #29

Closed tzach closed 5 years ago

tzach commented 7 years ago

I try to run a Scylla 2.0rc2 AMI on t2.micro in developer mode, using user input

--developer-mode 1

I was expecting Scylla to bypass the setup phase and start in developer mode. Instead I got:

By default, Scylla sends certain information about this node to a data collection server. For information, see http://www.scylladb.com/privacy/

    Constructing RAID volume...

Please wait for setup. To see status, run 
 'systemctl status scylla-ami-setup'

After setup finished, scylla-server service will launch.
To see status of scylla-server, run 
 'systemctl status scylla-server'

    t2.micro doesn't support enahanced networking!
To enable enhanced networking, please use the instance type which supports it.
More documentation available at: 
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html#enabling_enhanced_networking
tzach commented 7 years ago

@syuu1228 bug or feature?

syuu1228 commented 7 years ago

@tzach Tested, and I found that ds2_configure.py requires --totalnodes parameter together. Do you think this is correct behavior or should we set default parameter to totalnodes, maybe '1' by default?

Sep 04 09:09:30 ip-172-16-99-52 scylla_ami_setup[3024]: exit_path("Missing required --totalnodes (-n) switch.")
Sep 04 09:09:30 ip-172-16-99-52 scylla_ami_setup[3024]: File "/usr/lib/scylla/scylla-ami/ds2_configure.py", line 55, in exit_path
Sep 04 09:09:30 ip-172-16-99-52 scylla_ami_setup[3024]: raise AttributeError(errorMsg)
Sep 04 09:09:30 ip-172-16-99-52 scylla_ami_setup[3024]: AttributeError: Missing required --totalnodes (-n) switch. Aborting installation.
Sep 04 09:09:30 ip-172-16-99-52 scylla_ami_setup[3024]: Please verify your settings:
Sep 04 09:09:30 ip-172-16-99-52 scylla_ami_setup[3024]: --developer-mode 1
tzach commented 7 years ago

sorry, I was not clear. I did include the mandatory parameters clustername and totalnodes developer-mode was used in addition

syuu1228 commented 7 years ago

Ah okay.. will try again

On Mon, Sep 4, 2017 at 8:08 PM, Tzach Livyatan notifications@github.com wrote:

sorry, I was not clear. I did include the mandatory parameters clustername and totalnodes developer-mode was used in addition

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/scylladb/scylla-ami/issues/29#issuecomment-326935670, or mute the thread https://github.com/notifications/unsubscribe-auth/AALNYFq1NFNgme0DxqufC5MUxV0RliSOks5se9ougaJpZM4PLLbL .

syuu1228 commented 7 years ago

@tzach Tried to reproduce the issue, but scylla just started up finely. How did you confirmed that scylla failed to run in developer mode? The attached console message does not says Scylla failed to run, it just says RAID format is proceeding..

tzach commented 5 years ago

Closing, as we fail to reproduce.