Bug 1464414
Summary: | Internal Server Error when publishing content view with a user that have all content view permissions | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Djebran Lezzoum <dlezzoum> | ||||
Component: | Content Views | Assignee: | Justin Sherrill <jsherril> | ||||
Status: | CLOSED ERRATA | QA Contact: | Kedar Bidarkar <kbidarka> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.3.0 | CC: | bkearney, egolov, ehelms, jsherril, kbidarka | ||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | tfm-rubygem-katello-3.4.4 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-02-21 16:40:52 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: |
|
Description
Djebran Lezzoum
2017-06-23 11:43:36 UTC
My initial guess would be that the user for some reason cannot see the internal capsule. Either because it is not belonging to his org, or location, or whatever. I had no way to verify this, though, as the machine this happened did not want to load the /smart_proxies page :( Its hard to tell without the production.log output, but i believe this was fixed (for yum content as part of https://bugzilla.redhat.com/show_bug.cgi?id=1437134). However i do still see an issue with puppet content. I will investigate. Connecting redmine issue http://projects.theforeman.org/issues/20198 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20198 has been resolved. Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20198 has been resolved. [root@qe-sat6 ~]# hammer -u admin -p changeme user list ---|----------|----------------|--------------------------------------- ID | LOGIN | NAME | EMAIL ---|----------|----------------|--------------------------------------- 3 | admin | Admin User | root.com 5 | foobar | foobar | foobar 4 | kbidarka | Kedar Bidarkar | kbidarka.com ---|----------|----------------|--------------------------------------- [root@qe-sat6 ~]# hammer -u admin -p changeme user info --id 5 Id: 5 Login: foobar Name: foobar Email: foobar Admin: no Effective admin: no Authorized by: win10452 Locale: default Timezone: Last login: 2017/09/10 20:32:37 Description: Default organization: kbidarka_org Default location: kbidarka_loc Roles: Default role User groups: 1) Usergroup: katello1 Roles: lfe_roles hostgroup_roles cv_roles View hosts Inherited User groups: Locations: Default Location kbidarka_loc Organizations: Default Organization kbidarka_org Created at: 2017/09/10 18:04:12 Updated at: 2017/09/10 18:12:27 [root@qe-sat6 ~]# hammer -u admin -p changeme role filters --id 26 ----|----------------------|--------|------------|-----------|----------|--------------------------------------------------------------------------------- ID | RESOURCE TYPE | SEARCH | UNLIMITED? | OVERRIDE? | ROLE | PERMISSIONS ----|----------------------|--------|------------|-----------|----------|--------------------------------------------------------------------------------- 271 | Katello::ContentView | none | no | no | cv_roles | view_content_views, create_content_views, edit_content_views, destroy_content... ----|----------------------|--------|------------|-----------|----------|--------------------------------------------------------------------------------- [root@qe-sat6 ~]# hammer -u admin -p changeme role filters --id 27 ----|------------------------|--------|------------|-----------|-----------|--------------------------------------------------------------------------------- ID | RESOURCE TYPE | SEARCH | UNLIMITED? | OVERRIDE? | ROLE | PERMISSIONS ----|------------------------|--------|------------|-----------|-----------|--------------------------------------------------------------------------------- 272 | Katello::KTEnvironment | none | no | no | lfe_roles | view_lifecycle_environments, create_lifecycle_environments, edit_lifecycle_en... ----|------------------------|--------|------------|-----------|-----------|--------------------------------------------------------------------------------- [root@qe-sat6 ~]# hammer -u admin -p changeme content-view list ----------------|---------------------------|--------------------------------------|-----------|---------------------|--------------- CONTENT VIEW ID | NAME | LABEL | COMPOSITE | LAST PUBLISHED | REPOSITORY IDS ----------------|---------------------------|--------------------------------------|-----------|---------------------|--------------- 4 | Capsule RHEL 7 CV | Capsule_RHEL_7_CV | | 2017/09/09 18:54:04 | 6, 3, 7 5 | Default Organization View | 9e0b4abc-42ef-4cd2-bd02-d0c2f3f72618 | | 2017/09/10 16:31:14 | 1 | Default Organization View | Default_Organization_View | | 2017/09/09 17:28:52 | 3 | RHEL 6 CV | RHEL_6_CV | | 2017/09/09 18:39:49 | 2, 4, 5 2 | RHEL 7 CV | RHEL_7_CV | | 2017/09/09 18:31:37 | 6, 1, 3 ----------------|---------------------------|--------------------------------------|-----------|---------------------|--------------- NOTE: 1) All the above commands were executed with ADMIN user, whic is showcase the perms for the user being used. 2) the publish was done via the non-admin user by assigning roles to it. ------------------ [root@qe-sat6 ~]# hammer -u foobar -p Secret@777 content-view publish --id=2 [..........................................................................................................................................................................................................] [100%] VERIFIED with Sat6.3.0 snap15.0 successfully Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
>
> For information on the advisory, and where to find the updated files, follow the link below.
>
> If the solution does not work for you, open a new bug report.
>
> https://access.redhat.com/errata/RHSA-2018:0336
|