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

Intermittent Kitchen::ActionFailed - eventually consistent GCE API? #3

Closed
anl opened this issue Dec 3, 2013 · 4 comments
Closed

Intermittent Kitchen::ActionFailed - eventually consistent GCE API? #3

anl opened this issue Dec 3, 2013 · 4 comments

Comments

@anl
Copy link
Contributor

anl commented Dec 3, 2013

>>>>>> Create failed on instance <default-centos-6>.
>>>>>> Please see .kitchen/logs/default-centos-6.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: The resource 'projects/angular-argon-373/zones/us-central2-a/instances/default-centos-6-9413a27c-62bf-4102-ac90-1bf62277f4b4' was not found
>>>>>> ----------------------
@anl
Copy link
Contributor Author

anl commented Dec 9, 2013

This appears to happen most often in europe-west1, but also occasionally in us-central.

@anl
Copy link
Contributor Author

anl commented Dec 10, 2013

Exception is raised within Fog, during a create (using Fog from git at 5346176f109bda4c6de99e78078673cac55ef3e7):

/Users/anl/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/fog-5346176f109b/lib/fog/google/compute.rb:90:in `build_excon_response': The resource 'projects/angular-argon-373/zones/europe-west1-b/instances/gce-277e0b59-1a74-4278-8f90-6c417aab1404' was not found (Fog::Errors::NotFound)
    from /Users/anl/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/fog-5346176f109b/lib/fog/google/compute.rb:855:in `build_response'
    from /Users/anl/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/fog-5346176f109b/lib/fog/google/requests/compute/get_server.rb:75:in `get_server'
    from /Users/anl/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/fog-5346176f109b/lib/fog/google/models/compute/server.rb:135:in `block in save'
    from /Users/anl/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/fog-5346176f109b/lib/fog/google/compute.rb:103:in `call'
    from /Users/anl/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/fog-5346176f109b/lib/fog/google/compute.rb:103:in `backoff_if_unfound'
    from /Users/anl/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/fog-5346176f109b/lib/fog/google/models/compute/server.rb:135:in `save'
    from /Users/anl/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/fog-5346176f109b/lib/fog/core/collection.rb:52:in `create'
    from ./gce.rb:13:in `<main>'

@anl
Copy link
Contributor Author

anl commented Dec 11, 2013

See fog/fog#2474.

@anl
Copy link
Contributor Author

anl commented Dec 12, 2013

Until the next release of Fog is out, specifying Fog's commit "c5e6e2ae868b7fdec8e4fd8ef729fcab3b199b15" or later in your Gemfile works around this.

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

1 participant