Skip to content
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

Attaching EBS takes a very long time and doesn't finish? #259

Closed
timbostop opened this issue Nov 17, 2014 · 3 comments
Closed

Attaching EBS takes a very long time and doesn't finish? #259

timbostop opened this issue Nov 17, 2014 · 3 comments

Comments

@timbostop
Copy link

I am running the scripts per the tutorial:
http://www.elasticsearch.org/tutorials/deploying-elasticsearch-with-chef-solo/

I've configured it to load ES 0.20.6 (which I know is old but I require for backwards compatibility with a product)

I had to run sudo yum groupinstall "Development Tools" on the AMI 2014 Linux box to get the script to work at all.

But now (everything seems to load and compile ok), I get:

[fog][WARNING] Unable to load the 'unf' gem. Your AWS strings may not be properly encoded.
[2014-11-17T15:28:16+00:00] INFO: Attaching volume: vol-f35d71f4 ........

and it takes longer than 2 hours (so far) and still hasn't finished attaching the volume.
In AWS I can see the EBS volume has been created and looks fine.

Any idea why it doesn't complete the process of attaching or what I can do to make it complete and move on to the step of configuring NGINX or anything.

I've had this working in the past (1 year ago) but am puzzled as to whats changed.

Thanks for any light you can shed.

@Halama
Copy link

Halama commented Jan 8, 2015

Make sure that you follow EBS device naming described here http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-attaching-volume.html
I had same issue when EBS was mounted to /dev/sde.

@edhgoose
Copy link

I ran into the same issue (I work with @timbostop) and can confirm that naming the device /dev/sdf instead of /dev/sda2 worked.

Thanks @Halama!

@martinb3
Copy link
Contributor

martinb3 commented Jul 6, 2015

Hello! It sounds like you were able to get this working. In the meantime, we've re-written the cookbook using libraries that expose resources and providers, and we've removed support for the EBS recipe. I would recommend using the AWS chef cookbook for this use case now. Hope this helps.

@martinb3 martinb3 closed this as completed Jul 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants