Actions
Bug #15250
closedNo Route Matches error when viewing salt states or environments on 1.12 nightly
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:- Normal Foreman-installer setup, smart proxy setup, provision setup.
- Followed docs in foreman-salt manual for 5.0 setup after enabling the nightly repository for plugins.
- Set up salt master with some basic environments, added a single simple haproxy class.
- Go to salt states page in foreman, click to import from proxy.
- 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
Actions