Project

General

Profile

Actions

Bug #34541

closed

CDN loading error for non-admin user and non-default org

Added by Samir Jha almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
An errors occurs at the downstream Satellite when updating the Upstream Foreman server with non-admin user and non-default org provided.

Version-Release number of selected component (if applicable):
7.0.0 snap 9

How reproducible:
always

Steps to Reproduce:
1. Have an upstream Satellite with non-default org created (optionally with uploaded manifest and synced RH repos).
2. In this Satellite create a role with these permissions:
view_products, view_organizations, edit_organizations
3. Within the non-default organization create a non-admin user and assign the role from 2. to him.
4. On the downstream Satellite create the SSL CA Content Credential for the Default organization (wget cert + hammer content-credentials create).
5. In the downstream Satellite's UI go to Content > Subscription > Manage Manifest > CDN Configuration > Upstream Foreman server and provide all fields:
URL: <url of the upstream SAT>
Username: <user from 3.>
Password: <his pass>
Organization label: <the non-default org from 1.>
LCE label: Library
CV label: Default_Organization_View
SSL CA CC: <the one created in 4.>
6. Click Upload

Actual results:
An error occurs:
CDN loading error: https://&lt;UPSTREAM_SAT_FQDN&gt;:443/katello/api/v2/organizations/3/download_debug_certificate not found

Expected results:
no errors

Additional info:
When you provide the user from point 3. with Admin rights on the upstream Satellite, the upload passes without errors.

Actions #1

Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Samir Jha
  • Pull request https://github.com/Katello/katello/pull/9994 added
Actions #2

Updated by Samir Jha over 2 years ago

  • Subject changed from CDN loading error for non-admin user and non-default org to CDN loading error for non-admin user and non-default org
  • Target version set to Katello 4.3.2
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.5.0 added
Actions #4

Updated by Samir Jha over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Chris Roberts over 2 years ago

  • Target version changed from Katello 4.3.2 to Katello 4.3.1
  • Difficulty set to medium
Actions #6

Updated by Chris Roberts over 2 years ago

  • Target version changed from Katello 4.3.1 to Katello 4.3.2
Actions #7

Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/Katello/katello/pull/10043 added
Actions

Also available in: Atom PDF