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

elasticsearch::test doesn't work in ec2 with chef server #41

Closed
maewolfsky opened this issue Dec 12, 2012 · 6 comments
Closed

elasticsearch::test doesn't work in ec2 with chef server #41

maewolfsky opened this issue Dec 12, 2012 · 6 comments

Comments

@maewolfsky
Copy link

The elasticsearch::test doesn't work in the Amazon ec2 and chef server. I can upload the cookbook using
knife cookbook upload cookbook-elasticseach but when the recipe runs it doesn't find the tests:

[2012-12-12T17:38:59+00:00] DEBUG: Will run these tests: []

@maewolfsky
Copy link
Author

Looks like knife cookbook upload doesn't actually upload all the files, I don't see the tests/ directory in the opscode management console

@karmi
Copy link
Contributor

karmi commented Dec 12, 2012

Hi, the tests shouldn't run in a normal run: I just run them via the Vagrant integration locally. (But if you add the recipe to the node's run_list I guess it should be uploaded and run -- never tried this with Chef server though.)

@maewolfsky
Copy link
Author

No, that is what I'm saying, I did add it to the run_list and they didn't run.

@karmi
Copy link
Contributor

karmi commented Dec 12, 2012

No, that is what I'm saying, I did add it to the run_list and they didn't run.

Possible, never tried that :) I only run them locally via Vagrant, I believe Chef does some tricks to "clean up" the cookbooks when uploading them...

@karmi
Copy link
Contributor

karmi commented Jan 15, 2013

@mbaxa Hey, so what should we do about this issue? As I said, the tests are only meant to be run in Vagrant.

1/ Can you verify the situation with the latest cookbook and Chef versions?
2/ Can you please explain why and how you want to use the included tests with EC2?

@maewolfsky
Copy link
Author

  1. Using the most recent version of the cookbook, the tests do run locally (Before, I was having problems getting them to run at all even locally).

  2. I just expected that the tests would run the same way with EC2.

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

2 participants