-
Notifications
You must be signed in to change notification settings - Fork 202
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
[Network interfaces and an instance-level security groups may not be specified on the same request] #127
Comments
Right you are! I fixed subnets so they are reported on the network_interface, but I need to also report security_groups on the network interface as well. The fix for this will go out in a patch release. |
…etwork_interfaces when network_interfaces is present, fixes #127
@tyler-ball i build and installed the kitchen-ec2 gem from master, but now I'm running into chef-boneyard/chef-dk#309
|
@kplimack Did you try moving |
i tried blowing away the old installation and installing fresh chefdk.
On Tue, May 26, 2015 at 10:04 AM, Tyler Ball notifications@github.com
|
ok, blew away the old chefdk, moved ~/.chefdk out of the way, installed chefdk clean, installed kitchen-ec2 gem from local build, working again! |
well, now TK is actually waiting on the node to become ready, but it's getting terminated and TK is waiting forever for a dead node. uh oh |
Hi @tyler-ball, I'm still experiencing the original error in v0.9.1 of the code (see snippets below). Is there a different way I should declare my subnet, security group, and "associate_public_IP" attributes?
|
I'm having the exact same problem:
Results in following error:
|
@antonosmond and @jcderose - the fix is currently sitting in master but it hasn't been released yet. If you could test the fix locally, I would appreciate it! Add a Gemfile to your cookbook with the following contents: source 'https://rubygems.org'
gem "test-kitchen"
gem "kitchen-ec2", git: "https://github.com/test-kitchen/kitchen-ec2"
gem "berkshelf" Run a |
Actually, scratch all that - I just released kitchen-ec2 0.9.2 (hopefully) with the fix. Can you try the latest version and see if it works for you? |
@tyler-ball, I just updated to kitchen-ec2 0.9.2 and ran kitchen create again - same error message. |
Super weird - @jcderose can you gist the full output of We'll get to the bottom of this! |
Here's the gist for my I edited my local copy of the instance_generator.rb file you referenced and added the |
@jcderose because it did not hit the breakpoint, it makes me think we're running into an issue where an old version of kitchen-ec2 is getting loaded. Are you using the ChefDK? How are you managing and installing gems? |
Yes, I'm using the most recent versions of ChefDK and the kitchen-ec2 driver.
I'm managing and installing gems via |
@tyler-ball, you were right: my shell wasn't using the embedded ruby/gems in the ChefDK directory. I fixed my path and was able to run
|
@jcderose woohoo! I'm going to close this then |
I get the warnings, they have meaning, but this error thats killing me does not. theres nothing in the changelogs or readme as far as I can tell.
The text was updated successfully, but these errors were encountered: