Project

General

Profile

Actions

Bug #17795

closed

"Failed to fetch vm information" while trying to deploy a VM

Added by Jan Maria Rokita over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi All,

I am trying to get Foreman working with XenServer 6.2.0.
I am able to add my xen server as a compute resource and I can see the connection is successful.
Moreover, I can see the VMs which are already running on this host. So far so good :-)

Next, I am trying to deploy a regular VM on this host.
I am always getting the following message:

2016-12-20T11:22:57 77ee588d [app] [W] Failed to fetch vm information
| ActionView::Template::Error: undefined method `name' for nil:NilClass
| /usr/share/foreman/vendor/ruby/2.3.0/gems/foreman_xen-0.4.0/app/views/compute_resources_vms/show/_xenserver.html.erb:1:in `_e52ac537341dabfcf2653f5b781af5d9'
| /usr/share/foreman/vendor/ruby/2.3.0/gems/actionview-4.2.7.1/lib/action_view/template.rb:145:in `block in render'

Which finally ends with status code 500 on the server side.
VM is hanging in 'Pending installation' state, but nothing seems to happen, checking on the server side there is no new VM created etc.

I attach foreman and foreman-proxy logs.

Cheers,
Lukasz


Files

foreman_proxy.txt foreman_proxy.txt 1.87 KB Jan Maria Rokita, 12/20/2016 05:48 AM
foreman_err.txt foreman_err.txt 41.5 KB Jan Maria Rokita, 12/20/2016 05:48 AM
Actions

Also available in: Atom PDF