Hi all,
I'm hitting a bug with aggregator. Here's how I get it:
1) wipe database and create new user, slinabery, via web ui 2) rake dc:site_admin[slinabery] 3) create a new provider, mocc, using mock provider 4) there is a default pool created named slinabery. click it. 5) follow link "Back End Accounts". follow link "Add a New Cloud Account". 6) get error "Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id" at URL http://localhost:3000/cloud_accounts/new_from_pool?pool_id=1 7) Click entry in left-hand list for Provider "mocc" 8) Follow link "Accounts", then link "Add an account" 9) complete form using "mockuser" and "mockpassword" 10) click pool 'slinabery', follow link "Back End Accounts" 11) click "view/add existing cloud accounts" 12) click "Add this account" link next to 'mocc' provider entry 13) get error "Validation failed: Name has already been taken" at URL http://localhost:3000/pool/add_account?cloud_account=1&pool=1
Here's the trace from the aggregator server stdout: ActiveRecord::RecordInvalid (Validation failed: Name has already been taken): app/models/pool.rb:113:in `populate_realms_and_images' app/models/pool.rb:104:in `populate_realms_and_images' app/models/pool.rb:67:in `populate_realms_and_images' app/models/pool.rb:58:in `each' app/models/pool.rb:58:in `populate_realms_and_images' app/controllers/pool_controller.rb:110:in `add_account' app/controllers/pool_controller.rb:107:in `add_account' /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'
Thank you, Steve.