Project

General

Custom queries

Profile

Actions

Bug #5248

closed

1.5 RC1 edit host generates undefined method `class_from_string' for Fog:Module error

Added by Jelle B. about 11 years ago. Updated almost 7 years ago.

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

Description

I just did a upgrade path from 1.4.2 to 1.5 RC 1 on a Debian Wheezy and all went well. Minor issue with a plugin but was no big deal.
Then I tried to look at a host and go edit and it generated the following error :
undefined method `class_from_string' for Fog:Module

trace :
NoMethodError
undefined method `class_from_string' for Fog:Module
app/models/compute_resources/foreman/model/vmware.rb:210:in `new_interface'
app/views/compute_resources_vms/form/_vmware.html.erb:13:in `_065ef164aa9163f8a130e7ef5bb9005c'
app/views/hosts/_compute.html.erb:5:in `block in _3e81053728f343221f0e0a0fd07a9774'
app/views/hosts/_compute.html.erb:1:in `_3e81053728f343221f0e0a0fd07a9774'
app/views/hosts/_unattended.html.erb:2:in `_f7a136f70b874dce5b86db3f817c4965'
app/views/hosts/_form.html.erb:92:in `block (2 levels) in _a0e2484de3577d06d43dae28d996d4b7'
app/helpers/layout_helper.rb:248:in `form_for'
app/views/hosts/_form.html.erb:8:in `block in _a0e2484de3577d06d43dae28d996d4b7'
app/models/taxonomy.rb:48:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:143:in `as_location'
app/models/taxonomy.rb:47:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:108:in `as_org'
app/models/taxonomy.rb:46:in `as_taxonomy'
app/views/hosts/_form.html.erb:6:in `_a0e2484de3577d06d43dae28d996d4b7'
app/views/hosts/edit.html.erb:9:in `_a625d00f3a4561297d09de55d2256efd'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'


Files

1.5 host new vmware trace 1.5 host new vmware trace 32.1 KB Jelle B., 04/20/2014 10:41 AM

Related issues 1 (0 open1 closed)

Related to Foreman - Tracker #5474: Upgrade to fog > 1.22Rejected

Actions
#1

Updated by Dominic Cleal about 11 years ago

  • Subject changed from 1.5 RC1 edit host generates error to 1.5 RC1 edit host generates undefined method `class_from_string' for Fog:Module error
  • Category set to Compute resources
  • Status changed from New to Ready For Testing
  • Assignee set to Dominic Cleal
  • Target version set to 1.8.4
  • Translation missing: en.field_release set to 4
#3

Updated by Jelle B. about 11 years ago

#5

Updated by Anonymous about 11 years ago

  • Target version changed from 1.8.4 to 1.8.3
#6

Updated by Anonymous about 11 years ago

  • Target version changed from 1.8.3 to 1.8.4
#7

Updated by Anonymous about 11 years ago

  • Target version changed from 1.8.4 to 1.8.3
#9

Updated by Dominic Cleal about 11 years ago

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

Updated by Dominic Cleal about 11 years ago

Actions

Also available in: Atom PDF