Project

General

Profile

Actions

Bug #2612

closed

VirtualMachine Tab empty when trying to create VM using fog 1.8.0-3 or 1.11.1

Added by Ronny M over 11 years ago. Updated over 11 years ago.

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

Description

  1. VMWare Esxi 5.0.0 managed by VSphere (VMware vCenter Server 5.0.0.16964)
  2. CentOS release 6.2 (Final)
  3. Foreman 1.2 RC1 without passenger/ssl

VirtualMachine TAB empty when trying to create Vmware VM with foreman 1.2 RC1. ((Using old Fog 1.8.0-3 (in RC1 yum repo) and newer fog-1.11-1 from http://koji.katello.org)

In /var/log/foreman/production.log.

Started GET "/hosts/user.jpg" for 192.168.88.1 at 2013-06-04 09:47:14 -0700
Processing by HostsController#show as HTML
Parameters: {"id"=>"user.jpg"}
Rendered common/404.html.erb within layouts/application (0.7ms)
Rendered home/_user_dropdown.html.erb (1.2ms)
Read fragment views/tabs_and_title_records-1 (0.2ms)
Rendered home/_topbar.html.erb (1.3ms)
Filter chain halted as :find_by_name rendered or redirected
Completed 404 Not Found in 12ms (Views: 6.1ms | ActiveRecord: 0.9ms)

Started POST "/hosts/compute_resource_selected" for 192.168.88.1 at 2013-06-04 09:47:18 -0700
Processing by HostsController#compute_resource_selected as */*
Parameters: {"architecture_id"=>"", "compute_resource_id"=>"1", "operatingsystem_id"=>""}
Rendered compute_resources_vms/form/_vmware.html.erb (162.0ms)
Rendered hosts/_compute.html.erb (201.9ms)
Operation FAILED: undefined method `init' for #<Class:0x000000081328d0>
Rendered common/500.html.erb (11.0ms)
Completed 500 Internal Server Error in 226ms (Views: 13.3ms | ActiveRecord: 0.0ms)
Connecting to database specified by database.yml

cat /usr/share/foreman-installer/foreman_installer/answers.yaml
---
foreman:
ssl: false
passenger: false
foreman_proxy:
dns: true
dhcp: true
puppetca: true
tftp: true
puppetrun: true
puppetmaster: true
puppet: true

Attached debug log (test with fog-1.11.1):


Files

foreman-debug-Dh54X.tar.xz foreman-debug-Dh54X.tar.xz 85.4 KB Ronny M, 06/04/2013 02:58 PM
foreman-vmware.png View foreman-vmware.png 162 KB Ronny M, 06/04/2013 03:03 PM
compute_resource_vmware_show_existing_vm.png View compute_resource_vmware_show_existing_vm.png 127 KB Ronny M, 06/04/2013 03:14 PM
production.log production.log 78.2 KB Ronny M, 06/04/2013 03:25 PM
production-debug.log production-debug.log 66.5 KB Ronny M, 06/04/2013 03:33 PM
production-fog-1.8.0-3.log production-fog-1.8.0-3.log 34.9 KB Ronny M, 06/05/2013 03:36 PM
production-foreman1.1-fog-1.9.0.log production-foreman1.1-fog-1.9.0.log 4.98 KB Ronny M, 06/05/2013 03:43 PM
production_debug_foreman1.2_RC2.log production_debug_foreman1.2_RC2.log 23.9 KB Ronny M, 06/10/2013 06:00 AM
fog-1.9.0-foreman1.1-stable.txt fog-1.9.0-foreman1.1-stable.txt 9.05 KB fog 1.9.0 foreman-1.1-stable Ronny M, 06/10/2013 02:58 PM
fog-1.11.1-foreman1.2-RC2.txt fog-1.11.1-foreman1.2-RC2.txt 3.47 KB fog 1.11.1 foreman-1.2-RC2 Ronny M, 06/10/2013 02:58 PM
fog-1.8.0-3-foreman-1.2-RC1 fog-1.8.0-3-foreman-1.2-RC1 3.52 KB Ronny M, 06/10/2013 03:15 PM
production_rbvmomi-1.6.0-1.log production_rbvmomi-1.6.0-1.log 64.6 KB Ronny M, 06/11/2013 01:35 PM

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #2680: Unable to provisioning host using UI - vSphere 4.1.0ClosedDominic Cleal06/19/201306/20/2013Actions
Actions

Also available in: Atom PDF