Project

General

Profile

Actions

Bug #1343

closed

undefined method `vcpu' for nil:NilClass

Added by Jakob N over 12 years ago. Updated over 12 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

I'm testing foreman with ubuntu 11.04 and "deb http://deb.theforeman.org/ testing main"

Installation went fine, but when I try to add a new host on a virtual machine I get the following trace:

ActionView::TemplateError
undefined method `vcpu' for nil:NilClass
app/views/common/_hypervisor.html.erb:10
app/views/common/_hypervisor.html.erb:1
app/views/hosts/_unattended.html.erb:2
app/views/hosts/_form.html.erb:57
app/views/hosts/_form.html.erb:1
app/views/hosts/new.html.erb:3
app/controllers/application_controller.rb:214:in `process_error'
app/controllers/application_controller.rb:210:in `process_error'
app/controllers/hosts_controller.rb:97:in `create'

The hypervisor ist connected with qemu+ssh:/system

Thanks for your help


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Bug #1302: undefined method `vcpu' for nil:NilClassClosed11/09/2011Actions
Actions #1

Updated by Gaël Gustin over 12 years ago

I have the same "bug" :http://theforeman.org/issues/1302
I hope you find something

Actions #2

Updated by Ohad Levy over 12 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF