Project

General

Profile

Bug #9824

Unable to show or edit VMWare Compute resource

Added by Alexander Litvinenko over 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Compute resources - VMware
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

VMWare compute resource totally broken (add, view, edit, new host, etc.)

Error is:


cannot load such file -- uglifier (in /usr/share/foreman/app/assets/javascripts/compute_resources/vmware/nic_info.js)

Stack trace:


LoadError
cannot load such file -- uglifier (in /usr/share/foreman/app/assets/javascripts/compute_resources/vmware/nic_info.js)
app/helpers/hosts_helper.rb:24:in `nic_info_js'
app/views/compute_resources_vms/form/vmware/_base.html.erb:26:in `_92da0ed95111691c8444a5b66e700db4'
app/views/compute_attributes/_compute_form.html.erb:3:in `_6e3d8bd9e61516534e34a5812f4c0360'
app/views/compute_attributes/_form.html.erb:10:in `block (2 levels) in _fc3946b057764e0aff757c926784e58a'
app/views/compute_attributes/_form.html.erb:8:in `block in _fc3946b057764e0aff757c926784e58a'
app/helpers/layout_helper.rb:273:in `form_for'
app/views/compute_attributes/_form.html.erb:2:in `_fc3946b057764e0aff757c926784e58a'
app/views/compute_attributes/edit.html.erb:3:in `_f4bc0b96cd7052511137fef88319a047'
app/controllers/concerns/application_shared.rb:13:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Installed 1.8.0-RC1 from debian packages.


Related issues

Related to Foreman - Bug #9480: Fix multiple NICs integration with compute profilesClosed2015-02-20
Related to Foreman - Refactor #9836: Using provider_friendly_name in paths to compute resource related assets can cause problemsClosed2015-03-19

Associated revisions

Revision 8fd8e34d (diff)
Added by Tomáš Strachota over 4 years ago

Fixes #9824 - missing compute resource assets

Revision 86ff9b48 (diff)
Added by Tomáš Strachota over 4 years ago

Fixes #9824 - missing compute resource assets

(cherry picked from commit 8fd8e34d52c0b6370cc0e90cbddb7e6357ce1968)

History

#1 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 28

Looks like none of the app/assets/javascripts/compute_resources/*/nic_info.js files are in the precompilation list in config/environments/production.rb.

#2 Updated by Dominic Cleal over 4 years ago

  • Related to Bug #9480: Fix multiple NICs integration with compute profiles added

#3 Updated by Dominic Cleal over 4 years ago

  • Related to Refactor #9836: Using provider_friendly_name in paths to compute resource related assets can cause problems added

#4 Updated by Tomáš Strachota over 4 years ago

  • Assignee set to Tomáš Strachota

#5 Updated by Tomáš Strachota over 4 years ago

  • Status changed from New to Assigned

#6 Updated by The Foreman Bot over 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2249 added
  • Pull request deleted ()

#7 Updated by Anonymous over 4 years ago

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

Also available in: Atom PDF