Problems with "Deploying Elasticsearch with Chef Solo" tutorial

Hi all,

I'm experimenting with the ElasticSearch tutorial "Deploying Elasticsearch
with Chef Solo" and am getting the following error when attempting the
section entitled "The Full Installation"

When running the following command:

time ssh -t $SSH_OPTIONS $HOST "sudo chef-solo --node-name
elasticsearch-test-1 -j /tmp/node.json"

I get...

[2013-05-28T16:41:29+00:00] ERROR: Running exception handlers
[2013-05-28T16:41:29+00:00] ERROR: Exception handlers complete
[2013-05-28T16:41:30+00:00] FATAL: Stacktrace dumped to /var/chef-solo/chef-
stacktrace.out
[2013-05-28T16:41:30+00:00] FATAL: Gem::LoadError: ruby_block[Create EBS
volume on /dev/sda2 (size: 25GB)] (elasticsearch::ebs line 16) had an error:
Gem::LoadError: Unable to activate net-scp-1.1.1, because net-ssh-2.2.2conflicts
with net-ssh (>= 2.6.5)
Connection to ec2-54-214-79-108.us-west-2.compute.amazonaws.com closed.

I'm wondering if it is a Chef issue with the net-shh dependency in the
ElasticSearch cookbook. I've found a very similar issue in a discussion on
the Vagrant GitHub repo https://github.com/mitchellh/vagrant/issues/1355

Can anyone confirm this problem with the tutorial, and (even more
appreciated) offer a suggested fix?

Best wishes,

Daniel

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I am having the same issue with the recipe. After creating the EBS volume
SSH server dies.

On Tuesday, May 28, 2013 10:20:30 AM UTC-7, Daniel Bryant wrote:

Hi all,

I'm experimenting with the Elasticsearch tutorial "Deploying Elasticsearch
with Chef Solo" and am getting the following error when attempting the
section entitled "The Full Installation"

When running the following command:

time ssh -t $SSH_OPTIONS $HOST "sudo chef-solo --node-name
elasticsearch-test-1 -j /tmp/node.json"

I get...

[2013-05-28T16:41:29+00:00] ERROR: Running exception handlers
[2013-05-28T16:41:29+00:00] ERROR: Exception handlers complete
[2013-05-28T16:41:30+00:00] FATAL: Stacktrace dumped to /var/chef-solo/
chef-stacktrace.out
[2013-05-28T16:41:30+00:00] FATAL: Gem::LoadError: ruby_block[Create EBS
volume on /dev/sda2 (size: 25GB)] (elasticsearch::ebs line 16) had an
error: Gem::LoadError: Unable to activate net-scp-1.1.1, because net-ssh-
2.2.2 conflicts with net-ssh (>= 2.6.5)
Connection to ec2-54-214-79-108.us-west-2.compute.amazonaws.com closed.

I'm wondering if it is a Chef issue with the net-shh dependency in the
Elasticsearch cookbook. I've found a very similar issue in a discussion on
the Vagrant GitHub repo net-ssh version mismatch · Issue #1355 · hashicorp/vagrant · GitHub

Can anyone confirm this problem with the tutorial, and (even more
appreciated) offer a suggested fix?

Best wishes,

Daniel

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi,

there's been a problem with an older Chef version (10.x) and buggy Ark
cookbook version installed during bootstrap.

I've updated the supporting gist repository for the
tutorial: https://gist.github.com/karmi/2050769/revisions, verified it on
EC2, everything incl. EBS creation should be running.

Also notice that since publishing the tutorial, I've added lots of
instructions directly to the cookbook repository README
file: GitHub - sous-chefs/elasticsearch: Development repository for the elasticsearch cookbook,
which is being continuously updated, while the tutorial may lag behind.

Sorry for the inconvienience! Please ping me via mailing list or Github
issues at the cookbook repository if you bump into problems,

Karel

On Tuesday, May 28, 2013 7:20:30 PM UTC+2, Daniel Bryant wrote:

Hi all,

I'm experimenting with the Elasticsearch tutorial "Deploying Elasticsearch
with Chef Solo" and am getting the following error when attempting the
section entitled "The Full Installation"

When running the following command:

time ssh -t $SSH_OPTIONS $HOST "sudo chef-solo --node-name
elasticsearch-test-1 -j /tmp/node.json"

I get...

[2013-05-28T16:41:29+00:00] ERROR: Running exception handlers
[2013-05-28T16:41:29+00:00] ERROR: Exception handlers complete
[2013-05-28T16:41:30+00:00] FATAL: Stacktrace dumped to /var/chef-solo/
chef-stacktrace.out
[2013-05-28T16:41:30+00:00] FATAL: Gem::LoadError: ruby_block[Create EBS
volume on /dev/sda2 (size: 25GB)] (elasticsearch::ebs line 16) had an
error: Gem::LoadError: Unable to activate net-scp-1.1.1, because net-ssh-
2.2.2 conflicts with net-ssh (>= 2.6.5)
Connection to ec2-54-214-79-108.us-west-2.compute.amazonaws.com closed.

I'm wondering if it is a Chef issue with the net-shh dependency in the
Elasticsearch cookbook. I've found a very similar issue in a discussion on
the Vagrant GitHub repo net-ssh version mismatch · Issue #1355 · hashicorp/vagrant · GitHub

Can anyone confirm this problem with the tutorial, and (even more
appreciated) offer a suggested fix?

Best wishes,

Daniel

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.