Project

General

Profile

Actions

Bug #33102

closed

Can"t import "paid" content in disconnected mode

Added by Chris Roberts over 2 years ago. Updated over 2 years ago.

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

Description

Description of problem:
"Paid" content can't be imported on airgapped (disconnected) satellite

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

How reproducible:
always

Steps to Reproduce:
1. Prepare an export of "paid" content (e.g. RHSCL repository) - (use valid manifest, sync the repo, set download policy to immediate, do the export)
hammer content-export complete library --organization-id <id>
2. Prepare airgapped(disconnected) machine (hammer settings set --name content_disconnected --value true)
3. Copy the exported content to airgapped(disconnected) machine (scp ...)
4a. Use "invalid" manifest (i.e. does not have rights to access RHSCL repository)
4b. Disable outgoing connection on port 443
firewall-cmd --direct --add-rule ipv4 filter OUTPUT 0 -p tcp -m tcp --dport=443 -j DROP
firewall-cmd --direct --add-rule ipv4 filter OUTPUT 1 -j ACCEPT
5. Try to import
hammer content-import library --organization-id <id> --path /var/lib/pulp/imports/<path>

Actual results:
Could not import the archive.:
a) Forbidden - server refused to process the request.
b) Request Timeout

Expected results:
The content should be imported in both cases, Satellite should not try to contact RH CDN, when it's in "Disconnected mode"

Actions #1

Updated by James Jeffers over 2 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot over 2 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9484 added
Actions #3

Updated by Jeremy Lenz over 2 years ago

  • Target version changed from Katello 4.1.2 to Katello 4.1.3
Actions #4

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.3.0 added
Actions #5

Updated by Chris Roberts over 2 years ago

  • Status changed from Ready For Testing to Closed
  • Difficulty changed from trivial to easy
Actions

Also available in: Atom PDF