Project

General

Profile

Actions

Bug #2657

closed

Cannot assign puppet classes from the Edit Host/Hostgroups menus

Added by Jeremy Schrama over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
High
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When assigning puppet classes through the "Edit Host" or "Edit Hostgroup" menus the little plus sign ( + ) does not appear, making it impossible to assign classes this way.

In /var/log/foreman/production.log we can see that Foreman somehow concatenates two paths while trying to load the picture for the plus sign button, as a result it cannot find it.

Excerpt from the log:

ActionController::RoutingError (No route matches [GET] "/assets/twitter/bootstrap/assets/twitter/bootstrap/glyphicons-halflings-2851b489e8c39f8fad44fc10efb99c3e.png"):
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:118:in `run'
/usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:65:in `spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:58:in `spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/rack/application_spawner.rb:41:in `spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:159:in `spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61

The path should be: /assets/twitter/bootstrap/glyphicons-halflings-2851b489e8c39f8fad44fc10efb99c3e.png

Additional information, as requested:

OS: Debian 6.0.6 Squeeze, 3.2.0-0.bpo.4-amd64
Packages: foreman 1.2.0+debian0.2, foreman-mysql2 1.2.0+debian0.2, foreman-proxy 1.2.0+debian0.2

(the foreman packages were downloaded and installed through the package manager, "deb http://deb.theforeman.org/ squeeze rc")

Actions #1

Updated by Anonymous over 11 years ago

I'm also seeing this with 1.2RC2 on Debian/wheezy and Ubuntu/precise.

Actions #2

Updated by Dominic Cleal over 11 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Dominic Cleal over 11 years ago

  • Status changed from New to Assigned
  • Assignee set to Greg Sutcliffe
Actions #4

Updated by Greg Sutcliffe over 11 years ago

I can confirm this - however, it is cosmetic - the button is still there and can be clicked if you can find it ;)

Investigating what's going on now....

Actions #5

Updated by Greg Sutcliffe over 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF