-
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
Kitchen Failure: Could not create a spot #475
Comments
@obxh0 Are you biding on the same price as listed or are you increasing the value a bit https://aws.amazon.com/ec2/spot/pricing/ kitchen.yml
Kitchen Test
Gem Setup
|
#470 might resolve this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I'm trying to utilize the
spot_price
configuration option but I am receiving the following error:Creating EC2 Spot Instance..
'------Exception-------
Class: Kitchen::ActionFailed
Message: 1 actions failed.
Failed to complete #create action: [Could not create a spot] on windows2019
------Exception-------
------Backtrace-------
Class: Kitchen::ActionFailed
/usr/lib64/ruby/gems/2.4.0/gems/test-kitchen-2.3.4/lib/kitchen/command.rb:184:in
report_errors' Message: 1 actions failed. /usr/lib64/ruby/gems/2.4.0/gems/test-kitchen-2.3.4/lib/kitchen/command.rb:175:in
run_action'Failed to complete #create action: [Could not create a spot] on base-windows-2019
/usr/lib64/ruby/gems/2.4.0/gems/test-kitchen-2.3.4/lib/kitchen/command/test.rb:42:in
block in call' /usr/lib64/ruby/2.4.0/benchmark.rb:293:in
measure'Please see .kitchen/logs/kitchen.log for more details
/usr/lib64/ruby/gems/2.4.0/gems/test-kitchen-2.3.4/lib/kitchen/command/test.rb:38:in
call' Also try running
kitchen diagnose --allfor configuration /usr/lib64/ruby/gems/2.4.0/gems/test-kitchen-2.3.4/lib/kitchen/cli.rb:52:in
perform'/usr/lib64/ruby/gems/2.4.0/gems/test-kitchen-2.3.4/lib/kitchen/cli.rb:250:in
test' /usr/lib64/ruby/gems/2.4.0/gems/thor-0.20.3/lib/thor/command.rb:27:in
run'/usr/lib64/ruby/gems/2.4.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in
invoke_command' /usr/lib64/ruby/gems/2.4.0/gems/thor-0.20.3/lib/thor.rb:387:in
dispatch'/usr/lib64/ruby/gems/2.4.0/gems/thor-0.20.3/lib/thor/base.rb:466:in
start' /usr/lib64/ruby/gems/2.4.0/gems/test-kitchen-2.3.4/bin/kitchen:13:in
block in <top (required)>'/usr/lib64/ruby/gems/2.4.0/gems/test-kitchen-2.3.4/lib/kitchen/errors.rb:171:in
with_friendly_errors' /usr/lib64/ruby/gems/2.4.0/gems/test-kitchen-2.3.4/bin/kitchen:13:in
<top (required)>'/usr/bin/kitchen:22:in
load' /usr/bin/kitchen:22:in
----End Backtrace-----
-Composite Exception--
Class: Kitchen::ActionFailed
Message: Failed to complete #create action: [Could not create a spot] on base-windows-2019
Environment Info:
test-kitchen 2.3.4
kitchen-ec2 3.2.0
kitchen-inspec 1.3.1
kitchen.yml
driver:
name: ec2
region: us-east-1
availability_zone: a
instance_type: t2.xlarge
spot_price: 0.0967
block_duration_minutes: 60
associate_public_ip: false
interface: private
subnet_id: <%= ENV[''] %>
security_group_ids: [ <%= ENV[''] %> ]
retryable_tries: 120
provisioner:
name: shell
log_level: debug
The text was updated successfully, but these errors were encountered: