Bug 1277827
Summary: | ERF42-5434 [Foreman::Exception]: unknown permission view_katello/kt_environments on editing external capsule | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> | ||||||||
Component: | Foreman Proxy | Assignee: | Katello Bug Bin <katello-bugs> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Sachin Ghai <sghai> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 6.1.4 | CC: | bkearney, cwelton, mmccune, stbenjam | ||||||||
Target Milestone: | Unspecified | Keywords: | Regression | ||||||||
Target Release: | Unused | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2015-11-19 20:35:06 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
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. |
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: