Project

Profile

Help

Issue #9217

closed

Can't download content from pulp-operator on OCP

Added by fao89 over 2 years ago. Updated over 2 years ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
-
Category:
Operator - Moved to Github Issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Steps:

  • basic install:
  • create a route for pulp-web service
  • sync/upload content
  • publish and distribute the content
  • try to download
pip install --trusted-host pulp -i https://pulp.apps.cluster-bebc.bebc.sandbox596.opentlc.com/pypi/foo/simple/ shelf-reader
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
WARNING: Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/lib64/python3.9/site-packages
sysconfig: /usr/lib64/python3.9/site-packages
WARNING: Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/lib/python3.9/site-packages
sysconfig: /usr/lib/python3.9/site-packages
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/include/python3.9/UNKNOWN
sysconfig: /usr/include/python3.9/UNKNOWN
WARNING: Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/bin
sysconfig: /usr/bin
WARNING: Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local
sysconfig: /usr
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pulp.apps.cluster-bebc.bebc.sandbox596.opentlc.com/pypi/foo/simple/
ERROR: Could not find a version that satisfies the requirement shelf-reader (from versions: none)
ERROR: No matching distribution found for shelf-reader

Download link is redirecting to: http://example-web-svc.openshift-operators.svc.cluster.local:24880/pulp/content/foo/simple/

Which is the internal address of the pulp-web service


Files

Actions #1

Updated by fao89 over 2 years ago

the address is being set here: https://github.com/pulp/pulp-operator/blob/main/roles/pulp-api/tasks/get_node_ip.yml#L94-L100

if we could get the ingress_type dynamically, it would get the correct address

Actions #2

Updated by pulpbot over 2 years ago

  • Status changed from NEW to POST

Added by Fabricio Aguiar over 2 years ago

Revision b9377171 | View on GitHub

Make Ingress config visible on the main screen

closes #9217

Actions #3

Updated by Anonymous over 2 years ago

  • Status changed from POST to MODIFIED

Also available in: Atom PDF