Bug #9778
closed
unable to associate vms with VMWare compute resource
Added by Alexandre Barth almost 10 years ago.
Updated over 6 years ago.
Category:
Compute resources
|
Description
The "Associate VMs" button in compute resources menu fails with the following error (using a VMWare compute resource) :
Started PUT "/compute_resources/1-vCenter_Bruz/associate?compute_resource_id=1-vCenter_Bruz" for 20.69.20.63 at 2015-03-16 13:17:08 +0100
2015-03-16 13:17:08 [I] Processing by ComputeResourcesController#associate as HTML
2015-03-16 13:17:08 [I] Parameters: {"authenticity_token"=>"M8DXOL2NtW3MR1GtWVh5hwS6r5V+PMCqy96sZ/8qRwI=", "compute_resource_id"=>"1-vCenter_Bruz", "id"=>"1-vCenter_Bruz"}
2015-03-16 13:17:41 [W] Operation FAILED: ActiveRecord::ReadOnlyRecord
2015-03-16 13:17:41 [I] Rendered common/500.html.erb within layouts/application (4.8ms)
2015-03-16 13:17:41 [I] Rendered layouts/base.html.erb (129.7ms)
2015-03-16 13:17:41 [I] Completed 500 Internal Server Error in 32368ms (Views: 137.7ms | ActiveRecord: 235.4ms)
I forgot to mention i found this in 1.8.0 RC1 release
- Category set to Compute resources
- Translation missing: en.field_release set to 28
The same error appears to be occurring with Libvirt resources:
Started PUT "/compute_resources/3-orcrist/associate?compute_resource_id=3-orcrist" for 192.168.4.100 at 2015-03-18 18:30:14 -0500
2015-03-18 18:30:14 [I] Processing by ComputeResourcesController#associate as HTML
2015-03-18 18:30:14 [I] Parameters: {"authenticity_token"=>"dFZmQvYmT6Nig0r2WrvJg7hO+7inuuNhpaVfa6dI3Y0=", "compute_resource_id"=>"3-orcrist", "id"=>"3-orcrist"}
2015-03-18 18:30:14 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-03-18 18:30:14 [W] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2015-03-18 18:30:14 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-03-18 18:30:14 [W] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2015-03-18 18:30:14 [W] Operation FAILED: ActiveRecord::ReadOnlyRecord
2015-03-18 18:30:14 [I] Rendered common/500.html.erb within layouts/application (2.4ms)
2015-03-18 18:30:14 [I] Rendered layouts/base.html.erb (0.7ms)
2015-03-18 18:30:14 [I] Completed 500 Internal Server Error in 389ms (Views: 4.0ms | ActiveRecord: 25.2ms)
- Status changed from New to Assigned
- Assignee set to Dominic Cleal
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2285 added
- Pull request deleted (
)
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF