[chef] Re: Re: ec2 server create fails (instance name not found)


Chronological Thread 
  • From: Maven User < >
  • To: chef < >
  • Subject: [chef] Re: Re: ec2 server create fails (instance name not found)
  • Date: Mon, 18 Mar 2013 21:28:59 -0400

Yeah, fails randomly, I've adjusted my local knife ec2 plugin to make
it wait and am testing now....

If it works, and I get no errors, I'll submit a pull request.....

On Mon, Mar 18, 2013 at 8:24 PM, Adam Ochonicki 
< >
 wrote:
> I have seen this from time to time. It seems to be an annoying race 
> condition where Fog tries to exec against an instance that hasn't become 
> available yet. Try running it again and see how it goes.
>
> On Mar 18, 2013, at 8:13 PM, Maven User 
> < >
>  wrote:
>
>> Full error is here:
>>
>> 00:38:30.897 
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/excon-0.16.10/lib/excon/connection.rb:292:in
>> `request_kernel': The instance ID 'i-7783871c' does not exist
>> (Fog::Compute::AWS::NotFound)
>> 00:38:30.897 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/excon-0.16.10/lib/excon/connection.rb:103:in
>> `request'
>> 00:38:30.898 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/fog-1.9.0/lib/fog/core/connection.rb:21:in
>> `request'
>> 00:38:30.898 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/fog-1.9.0/lib/fog/aws/compute.rb:384:in
>> `_request'
>> 00:38:30.898 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/fog-1.9.0/lib/fog/aws/compute.rb:379:in
>> `request'
>> 00:38:30.898 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/fog-1.9.0/lib/fog/aws/requests/compute/create_tags.rb:36:in
>> `create_tags'
>> 00:38:33.454 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/fog-1.9.0/lib/fog/aws/models/compute/tag.rb:27:in
>> `save'
>> 00:38:35.782 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/fog-1.9.0/lib/fog/core/collection.rb:52:in
>> `create'
>> 00:38:35.853 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/knife-ec2-0.6.2/lib/chef/knife/ec2_server_create.rb:239:in
>> `block in run'
>> 00:38:35.853 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/knife-ec2-0.6.2/lib/chef/knife/ec2_server_create.rb:238:in
>> `each_pair'
>> 00:38:35.854 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/knife-ec2-0.6.2/lib/chef/knife/ec2_server_create.rb:238:in
>> `run'
>> 00:38:35.854 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/knife.rb:408:in
>> `run_with_pretty_exceptions'
>> 00:38:35.854 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/knife.rb:168:in
>> `run'
>> 00:38:35.854 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/lib/chef/application/knife.rb:123:in
>> `run'
>> 00:38:35.854 from
>> /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.16.2/bin/knife:25:in
>> `<top (required)>'
>> 00:38:35.854 from /usr/bin/knife:23:in `load'
>> 00:38:35.854 from /usr/bin/knife:23:in `<main>'
>> 00:38:35.854 Had an issue with razor-ui - exiting
>>
>>
>> On Mon, Mar 18, 2013 at 7:31 PM, Maven User 
>> < >
>>  wrote:
>>> Has anyone else see and/or worked around the following error:
>>>
>>> knife ec2 server create The instance ID <some instance id here> does
>>> not exist (Fog::Compute::AWS::NotFound)
>>>
>>>
>>> I see this:
>>>
>>> http://tickets.opscode.com/browse/KNIFE-207
>>>
>>> We're hitting that exact thing.
>>>
>>> Any suggestions?
>



Archive powered by MHonArc 2.6.16.

§