Project

General

Profile

Actions

Bug #9778

closed

unable to associate vms with VMWare compute resource

Added by Alexandre Barth about 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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)

Actions #1

Updated by Alexandre Barth about 9 years ago

I forgot to mention i found this in 1.8.0 RC1 release

Actions #2

Updated by Dominic Cleal about 9 years ago

  • Category set to Compute resources
  • translation missing: en.field_release set to 28
Actions #3

Updated by Martin Jackson about 9 years ago

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)

Actions #4

Updated by Dominic Cleal about 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Dominic Cleal
Actions #5

Updated by The Foreman Bot about 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2285 added
  • Pull request deleted ()
Actions #6

Updated by Dominic Cleal about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF