voxpupuli / beaker-aws Goto Github PK
View Code? Open in Web Editor NEWAWS hypervisor library for beaker
License: Apache License 2.0
AWS hypervisor library for beaker
License: Apache License 2.0
I'm facing the error below when trying to launch an instance:
aws-sdk: launch instances requiring no subnet
aws-sdk: Waiting for all hosts to be running
aws-sdk: Wait for node agent to be running
[Aws::EC2::Client 400 0.04402 0 retries] describe_instances(instance_ids:["i-04cdb28ae03230b65"]) Aws::EC2::Errors::InvalidInstanceIDNotFound The instance ID 'i-04cdb28ae03230b65' does not exist
aws-sdk: exception Aws::EC2::Errors::InvalidInstanceIDNotFound: The instance ID 'i-04cdb28ae03230b65' does not exist
[Aws::EC2::Client 200 0.152703 0 retries] describe_instances(instance_ids:["i-04cdb28ae03230b65"])
The instance ID 'i-04cdb28ae03230b65' does not exist
/var/lib/gems/2.5.0/gems/aws-sdk-core-3.114.3/lib/seahorse/client/plugins/raise_response_errors.rb:17:in `call'
/var/lib/gems/2.5.0/gems/aws-sdk-core-3.114.3/lib/aws-sdk-core/plugins/jsonvalue_converter.rb:22:in `call'
/var/lib/gems/2.5.0/gems/aws-sdk-core-3.114.3/lib/aws-sdk-core/plugins/idempotency_token.rb:19:in `call'
/var/lib/gems/2.5.0/gems/aws-sdk-core-3.114.3/lib/aws-sdk-core/plugins/param_converter.rb:26:in `call'
/var/lib/gems/2.5.0/gems/aws-sdk-core-3.114.3/lib/seahorse/client/plugins/request_callback.rb:71:in `call'
/var/lib/gems/2.5.0/gems/aws-sdk-core-3.114.3/lib/aws-sdk-core/plugins/response_paging.rb:12:in `call'
/var/lib/gems/2.5.0/gems/aws-sdk-core-3.114.3/lib/seahorse/client/plugins/response_target.rb:24:in `call'
/var/lib/gems/2.5.0/gems/aws-sdk-core-3.114.3/lib/seahorse/client/request.rb:72:in `send_request'
/var/lib/gems/2.5.0/gems/aws-sdk-ec2-1.244.0/lib/aws-sdk-ec2/client.rb:19229:in `describe_instances'
/var/lib/gems/2.5.0/gems/beaker-aws-0.9.0/lib/beaker/hypervisor/aws_sdk.rb:165:in `instance_by_id'
/var/lib/gems/2.5.0/gems/beaker-aws-0.9.0/lib/beaker/hypervisor/aws_sdk.rb:507:in `block (2 levels) in wait_for_status'
/var/lib/gems/2.5.0/gems/beaker-aws-0.9.0/lib/beaker/hypervisor/aws_sdk.rb:506:in `each'
/var/lib/gems/2.5.0/gems/beaker-aws-0.9.0/lib/beaker/hypervisor/aws_sdk.rb:506:in `block in wait_for_status'
/var/lib/gems/2.5.0/gems/beaker-aws-0.9.0/lib/beaker/hypervisor/aws_sdk.rb:499:in `each'
/var/lib/gems/2.5.0/gems/beaker-aws-0.9.0/lib/beaker/hypervisor/aws_sdk.rb:499:in `wait_for_status'
/var/lib/gems/2.5.0/gems/beaker-aws-0.9.0/lib/beaker/hypervisor/aws_sdk.rb:468:in `launch_all_nodes'
/var/lib/gems/2.5.0/gems/beaker-aws-0.9.0/lib/beaker/hypervisor/aws_sdk.rb:66:in `provision'
/var/lib/gems/2.5.0/gems/beaker-4.29.1/lib/beaker/hypervisor.rb:37:in `create'
/var/lib/gems/2.5.0/gems/beaker-4.29.1/lib/beaker/network_manager.rb:72:in `block in provision'
/var/lib/gems/2.5.0/gems/beaker-4.29.1/lib/beaker/network_manager.rb:71:in `each_key'
/var/lib/gems/2.5.0/gems/beaker-4.29.1/lib/beaker/network_manager.rb:71:in `provision'
/var/lib/gems/2.5.0/gems/beaker-rspec-6.3.0/lib/beaker-rspec/beaker_shim.rb:35:in `provision'
/var/lib/gems/2.5.0/gems/beaker-rspec-6.3.0/lib/beaker-rspec/spec_helper.rb:57:in `block in <top (required)>'
/var/lib/gems/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core.rb:98:in `configure'
/var/lib/gems/2.5.0/gems/beaker-rspec-6.3.0/lib/beaker-rspec/spec_helper.rb:5:in `<top (required)>'
/home/gitlab-runner/builds/MdvzmzZb/0/modules/profiles/spec/spec_helper_acceptance.rb:1:in `require'
/home/gitlab-runner/builds/MdvzmzZb/0/modules/profiles/spec/spec_helper_acceptance.rb:1:in `<top (required)>'
/home/gitlab-runner/builds/MdvzmzZb/0/modules/profiles/spec/acceptance/tests/redis_master/classes/redis_master_one_master_spec.rb:1:in `require'
/home/gitlab-runner/builds/MdvzmzZb/0/modules/profiles/spec/acceptance/tests/redis_master/classes/redis_master_one_master_spec.rb:1:in `<top (required)>'
/var/lib/gems/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2112:in `load'
/var/lib/gems/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2112:in `load_file_handling_errors'
/var/lib/gems/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:1615:in `block in load_spec_files'
/var/lib/gems/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:1613:in `each'
/var/lib/gems/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:1613:in `load_spec_files'
/var/lib/gems/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:102:in `setup'
/var/lib/gems/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:86:in `run'
/var/lib/gems/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'
/var/lib/gems/2.5.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'
/var/lib/gems/2.5.0/gems/rspec-core-3.10.1/exe/rspec:4:in `<top (required)>'
/usr/local/bin/rspec:23:in `load'
/usr/local/bin/rspec:23:in `<main>'
An error occurred while loading ./spec/acceptance/tests/redis_master/classes/redis_master_one_master_spec.rb.
Failure/Error: require 'beaker-rspec/spec_helper'
NoMethodError:
undefined method `close' for #<Array:0x000055ee4278fbc8>
Did you mean? clone
# /var/lib/gems/2.5.0/gems/beaker-4.29.1/lib/beaker/network_manager.rb:116:in `block in cleanup'
# /var/lib/gems/2.5.0/gems/beaker-4.29.1/lib/beaker/network_manager.rb:116:in `each'
# /var/lib/gems/2.5.0/gems/beaker-4.29.1/lib/beaker/network_manager.rb:116:in `cleanup'
# /var/lib/gems/2.5.0/gems/beaker-rspec-6.3.0/lib/beaker-rspec/beaker_shim.rb:85:in `cleanup'
# /var/lib/gems/2.5.0/gems/beaker-rspec-6.3.0/lib/beaker-rspec/spec_helper.rb:61:in `rescue in block in <top (required)>'
# /var/lib/gems/2.5.0/gems/beaker-rspec-6.3.0/lib/beaker-rspec/spec_helper.rb:56:in `block in <top (required)>'
# /var/lib/gems/2.5.0/gems/beaker-rspec-6.3.0/lib/beaker-rspec/spec_helper.rb:5:in `<top (required)>'
# ./spec/spec_helper_acceptance.rb:1:in `require'
# ./spec/spec_helper_acceptance.rb:1:in `<top (required)>'
# ./spec/acceptance/tests/redis_master/classes/redis_master_one_master_spec.rb:1:in `require'
# ./spec/acceptance/tests/redis_master/classes/redis_master_one_master_spec.rb:1:in `<top (required)>'
# ------------------
# --- Caused by: ---
# Aws::EC2::Errors::InvalidInstanceIDNotFound:
# The instance ID 'i-04cdb28ae03230b65' does not exist
# /var/lib/gems/2.5.0/gems/aws-sdk-core-3.114.3/lib/seahorse/client/plugins/raise_response_errors.rb:17:in `call'
The instance_by_id() function does not handle the exception raised by the AWS SDK and it ends up propagating through the code.
beaker-aws/lib/beaker/hypervisor/aws_sdk.rb
Lines 164 to 166 in f2e448b
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.