Created attachment 1089432 [details] UI raises execption on editing a newly configured external capsule Description of problem: I was trying to configure external capsule with satellite 6.1.4. Capsule was configured properly and visible on webUI and hammer cli. But when I tried to select the capsule, I got following error on webUI: ERF42-5434 [Foreman::Exception]: unknown permission view_katello/kt_environments production.log: ============= ==> /var/log/foreman/production.log <== 2015-11-04 02:54:41 [I] Processing by SmartProxiesController#edit as */* 2015-11-04 02:54:41 [I] Parameters: {"id"=>"2-cloud-qe-21-idmqe-lab-eng-bos-redhat-com"} 2015-11-04 02:54:41 [I] Rendered taxonomies/_loc_org_tabs.html.erb (13.0ms) 2015-11-04 02:54:41 [I] Deface: 2 overrides found for 'smart_proxies/_form' 2015-11-04 02:54:41 [I] Deface: 'add_smart_proxies_tab' matched 1 times with 'ul.nav > li:first' 2015-11-04 02:54:41 [I] Deface: 'add_smart_proxies_tab_pane' matched 1 times with 'code[erb-loud]:contains("render"):contains("taxonomies/loc_org_tabs")' 2015-11-04 02:54:41 [I] Rendered smart_proxies/_form.html.erb (23.5ms) 2015-11-04 02:54:41 [I] Rendered smart_proxies/edit.html.erb (23.8ms) 2015-11-04 02:54:41 [W] Operation FAILED: ERF42-5434 [Foreman::Exception]: unknown permission view_katello/kt_environments 2015-11-04 02:54:41 [I] Rendered common/500.html.erb (4.2ms) 2015-11-04 02:54:41 [I] Completed 500 Internal Server Error in 42ms (Views: 4.6ms | ActiveRecord: 3.8ms) 2015-11-04 02:56:11 [I] Client disconnected. Version-Release number of selected component (if applicable): satellite 6.1.4 (COMPOSE 2 - Fri Oct 30, 2015) How reproducible: always Steps to Reproduce: 1. Install/configure Satellite6.1.4 2. configure external capsule 3. once configured, select from webUI to edit the capsule Actual results: ERF42-5434 [Foreman::Exception]: unknown permission view_katello/kt_environments Expected results: user should be able to edit the capsule. Additional info:
Created attachment 1089433 [details] complete exception by enabling debug logs
Created attachment 1089445 [details] foreman-debug
You probably need these https://github.com/Katello/katello/pull/5533 https://github.com/theforeman/foreman/pull/2803
Verified in 6.1.5 compose 5
This fix was delivered in 6.1.4 on 19 November in https://access.redhat.com/errata/RHBA-2015:2474.