Project

General

Profile

Bug #1948 » add_disk_failure.txt

Siert Z., 11/23/2012 02:58 PM

 
Unable to save

Failed to create a compute VMware_GR00 (VMWare) instance test07.virtual.lan:
failed to create vm: InvalidDeviceSpec: Invalid configuration for device '3'.
/usr/share/foremandev/vendor/ruby/1.8/bundler/gems/fog-825ff121195a/lib/fog/vsphere/requests/compute/create_vm.rb:26:in
`create_vm'
/usr/share/foremandev/vendor/ruby/1.8/bundler/gems/fog-825ff121195a/lib/fog/vsphere/models/compute/server.rb:161:in
`save' /usr/share/foremandev/lib/foreman/model/vmware.rb:73:in `create_vm'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/associations/association_proxy.rb:227:in
`send'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/associations/association_proxy.rb:227:in
`method_missing'
/usr/share/foremandev/app/models/orchestration/compute.rb:59:in `setCompute'
/usr/share/foremandev/app/models/orchestration.rb:155:in `send'
/usr/share/foremandev/app/models/orchestration.rb:155:in `execute'
/usr/share/foremandev/app/models/orchestration.rb:95:in `process'
/usr/share/foremandev/app/models/orchestration.rb:87:in `each'
/usr/share/foremandev/app/models/orchestration.rb:87:in `process'
/usr/share/foremandev/app/models/orchestration.rb:32:in `on_save'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:515:in
`_run_save_callbacks'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/callbacks.rb:273:in
`create_or_update'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/persistence.rb:40:in
`save'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/validations.rb:43:in
`save'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/attribute_methods/dirty.rb:21:in
`save'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/transactions.rb:240:in
`save'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/transactions.rb:292:in
`with_transaction_returning_status'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in
`transaction'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/transactions.rb:207:in
`transaction'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/transactions.rb:290:in
`with_transaction_returning_status'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/transactions.rb:240:in
`save'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/transactions.rb:251:in
`rollback_active_record_state!'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/transactions.rb:239:in
`save' /usr/share/foremandev/app/controllers/hosts_controller.rb:89:in
`create'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/implicit_render.rb:4:in
`send_action'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/implicit_render.rb:4:in
`send_action'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/abstract_controller/base.rb:150:in
`process_action'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/rendering.rb:11:in
`process_action'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/abstract_controller/callbacks.rb:18:in
`process_action'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:458:in
`_run__1126900249__process_action__956403873__callbacks'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:221:in
`_conditional_callback_around_3490'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:331:in
`around'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:315:in
`send'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:315:in
`_callback_around_3043'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:220:in
`_conditional_callback_around_3490'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:457:in
`_run__1126900249__process_action__956403873__callbacks'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:221:in
`_conditional_callback_around_3489'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:331:in
`around'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:315:in
`send'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:315:in
`_callback_around_13'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:220:in
`_conditional_callback_around_3489'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:436:in
`_run__1126900249__process_action__956403873__callbacks'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:410:in
`send'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:410:in
`_run_process_action_callbacks'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:94:in
`send'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:94:in
`run_callbacks'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/abstract_controller/callbacks.rb:17:in
`process_action'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/rescue.rb:17:in
`process_action'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/instrumentation.rb:30:in
`process_action'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/notifications.rb:52:in
`instrument'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/notifications/instrumenter.rb:21:in
`instrument'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/notifications.rb:52:in
`instrument'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/instrumentation.rb:29:in
`process_action'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/abstract_controller/base.rb:119:in
`process'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/abstract_controller/rendering.rb:41:in
`process'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_controller/metal.rb:138:in
`dispatch'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_controller/metal/rack_delegation.rb:14:in
`dispatch'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_controller/metal.rb:178:in
`action'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/routing/route_set.rb:68:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/routing/route_set.rb:68:in
`dispatch'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/routing/route_set.rb:33:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93:in
`recognize'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:194:in
`optimized_each'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92:in
`recognize'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/routing/route_set.rb:499:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/apipie-rails-0.0.13/lib/apipie/static_dispatcher.rb:57:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/best_standards_support.rb:17:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/head.rb:14:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-1.2.5/lib/rack/methodoverride.rb:24:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/params_parser.rb:21:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/flash.rb:182:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/session/abstract_store.rb:149:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/cookies.rb:302:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/query_cache.rb:32:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in
`cache'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/query_cache.rb:12:in
`cache'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/query_cache.rb:31:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/activerecord-3.0.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/callbacks.rb:46:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/callbacks.rb:416:in
`_run_call_callbacks'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/callbacks.rb:44:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-1.2.5/lib/rack/sendfile.rb:106:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/remote_ip.rb:48:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/show_exceptions.rb:47:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/rack/logger.rb:13:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-1.2.5/lib/rack/runtime.rb:17:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/activesupport-3.0.17/lib/active_support/cache/strategy/local_cache.rb:72:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-1.2.5/lib/rack/lock.rb:13:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-1.2.5/lib/rack/lock.rb:13:in
`synchronize'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-1.2.5/lib/rack/lock.rb:13:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/actionpack-3.0.17/lib/action_dispatch/middleware/static.rb:30:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/application.rb:168:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/application.rb:77:in
`send'
/usr/share/foremandev/vendor/ruby/1.8/gems/railties-3.0.17/lib/rails/application.rb:77:in
`method_missing'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-1.2.5/lib/rack/urlmap.rb:47:in
`call'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-1.2.5/lib/rack/urlmap.rb:41:in
`each'
/usr/share/foremandev/vendor/ruby/1.8/gems/rack-1.2.5/lib/rack/urlmap.rb:41:in
`call'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/rack/request_handler.rb:96:in
`process_request'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_request_handler.rb:513:in
`accept_and_process_next_request'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_request_handler.rb:274:in
`main_loop'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb:206:in
`start_request_handler'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb:171:in
`send'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb:171:in
`handle_spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb:479:in
`safe_fork'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb:166:in
`handle_spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:357:in
`__send__'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:357:in
`server_main_loop'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:206:in
`start_synchronously'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:180:in
`start'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb:129:in
`start'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:253:in
`spawn_rack_application'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server_collection.rb:132:in
`lookup_or_add'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:246:in
`spawn_rack_application'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server_collection.rb:82:in
`synchronize'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server_collection.rb:79:in
`synchronize'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:244:in
`spawn_rack_application'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:137:in
`spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:275:in
`handle_spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:357:in
`__send__'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:357:in
`server_main_loop'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:206:in
`start_synchronously'
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.12/helper-scripts/passenger-spawn-server:99
(1-1/3)