Project

General

Profile

Actions

Bug #1654

closed

Failed to list puppet environments: hash modified during iteration

Added by Florent Castelli over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Puppet
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Happens when trying to import environments and classes from foreman git using smart-proxy git.
Probably because of lib/proxy/puppet/environment.rb:59 "env.delete(environment)"

E, [2012-05-28T09:42:51.699475 #3577] ERROR -- : Failed to list puppet environments: hash modified during iteration
/home/orphis/smart-proxy/bin/../lib/proxy/puppet/environment.rb:45:in `each'
/home/orphis/smart-proxy/bin/../lib/proxy/puppet/environment.rb:45:in `puppet_environments'
/home/orphis/smart-proxy/bin/../lib/proxy/puppet/environment.rb:11:in `all'
/home/orphis/smart-proxy/bin/../lib/puppet_api.rb:15:in `GET /puppet/environments'
/usr/lib/ruby/1.8/sinatra/base.rb:863:in `call'
/usr/lib/ruby/1.8/sinatra/base.rb:863:in `route'
/usr/lib/ruby/1.8/sinatra/base.rb:521:in `instance_eval'
/usr/lib/ruby/1.8/sinatra/base.rb:521:in `route_eval'
/usr/lib/ruby/1.8/sinatra/base.rb:500:in `route!'
/usr/lib/ruby/1.8/sinatra/base.rb:497:in `catch'
/usr/lib/ruby/1.8/sinatra/base.rb:497:in `route!'
/usr/lib/ruby/1.8/sinatra/base.rb:476:in `each'
/usr/lib/ruby/1.8/sinatra/base.rb:476:in `route!'
/usr/lib/ruby/1.8/sinatra/base.rb:601:in `dispatch!'
/usr/lib/ruby/1.8/sinatra/base.rb:411:in `call!'
/usr/lib/ruby/1.8/sinatra/base.rb:566:in `instance_eval'
/usr/lib/ruby/1.8/sinatra/base.rb:566:in `invoke'
/usr/lib/ruby/1.8/sinatra/base.rb:566:in `catch'
/usr/lib/ruby/1.8/sinatra/base.rb:566:in `invoke'
/usr/lib/ruby/1.8/sinatra/base.rb:411:in `call!'
/usr/lib/ruby/1.8/sinatra/base.rb:399:in `call'
/usr/lib/ruby/1.8/rack/showexceptions.rb:24:in `call'
/usr/lib/ruby/1.8/rack/commonlogger.rb:18:in `call'
/usr/lib/ruby/1.8/sinatra/base.rb:979:in `call'
/usr/lib/ruby/1.8/sinatra/base.rb:1005:in `synchronize'
/usr/lib/ruby/1.8/sinatra/base.rb:979:in `call'
/usr/lib/ruby/1.8/rack/content_length.rb:13:in `call'
/usr/lib/ruby/1.8/rack/handler/webrick.rb:48:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
/usr/lib/ruby/1.8/rack/handler/webrick.rb:14:in `run'
/home/orphis/smart-proxy/bin/../lib/sinatra-patch.rb:36:in `run!'
/home/orphis/smart-proxy/bin/smart-proxy:102

Actions #1

Updated by Ohad Levy over 12 years ago

  • Category set to Puppet
  • Target version set to 1.0
Actions #2

Updated by Ohad Levy over 12 years ago

  • Assignee set to Florent Castelli
Actions #3

Updated by Florent Castelli over 12 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF