Project

General

Profile

Actions

Bug #15250

closed

No Route Matches error when viewing salt states or environments on 1.12 nightly

Added by Alex Thompson almost 8 years ago. Updated almost 6 years ago.

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

Description

I encountered this error while working on a prototype for a future deployment, this isn't a high priority issue for me, but it looks like a fairly general problem that would need to be fixed in the salt plugin before it is ready for 1.12 .

Host is Ubuntu 16.04, foreman nightly, foreman-salt v 5.0.1.

Steps performed until bug occurred:
  1. Normal Foreman-installer setup, smart proxy setup, provision setup.
  2. Followed docs in foreman-salt manual for 5.0 setup after enabling the nightly repository for plugins.
  3. Set up salt master with some basic environments, added a single simple haproxy class.
  4. Go to salt states page in foreman, click to import from proxy.
  5. Select class, click submit.

Both the environments page and the states page now return similar errors (differing only in the 'search' param):

Oops, we're sorry but something went wrong No route matches {:action=>"index", :controller=>"foreman_salt/hosts", :search=>"salt_state = haproxy"}

Full trace is attached.

Debug at:

http://debugs.theforeman.org/foreman-debug-mGvAX.tar.xz

If you need any more information, or want me to apply/test any patches, I'll try and keep and eye on this issue.


Files

trace.txt trace.txt 17.1 KB Full Trace from web debug Alex Thompson, 05/31/2016 04:58 PM
Actions

Also available in: Atom PDF