Actions
Bug #8590
closedundefined method `template' for nil:NilClass when listing VMs
Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - VMware
Target version:
Description
Something in vSphere instances seems to have no hardware "config" so triggers the following stack trace when listing VMs for the compute resource:
Operation FAILED: undefined method `template' for nil:NilClass /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:28:in `block in allvmsbyfolder' /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:23:in `each' /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:23:in `allvmsbyfolder' /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:25:in `block in allvmsbyfolder' /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:23:in `each' /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:23:in `allvmsbyfolder' /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:13:in `all' /usr/share/foreman/app/controllers/compute_resources_vms_controller.rb:5:in `index'
(reported by satar on #theforeman)
Updated by The Foreman Bot about 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1997 added
- Pull request deleted (
)
Updated by Dominic Cleal about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset fc94337014d175548746b16f2c70bb133de29497.
Updated by Dominic Cleal about 10 years ago
- Translation missing: en.field_release set to 29
Actions