-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publication base_url does not point to proper URI #1350
Comments
This also means that generated config.repo has wrong URI in it
baseurl should be: "https://pulp3.domain.tld/pulp/content/mongo-6/tst/" |
When letting pulp-operator to create the ingress, base_url/baseurl is correct.
|
The fix is to allow users to specify |
Not the same issue, but somehow related: pulp/pulpcore#5931 |
Version
$ helm -n pulp list
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
pulp pulp 1 2024-09-03 16:54:04.919341315 +0300 EEST deployed pulp-operator-0.1.0 1.0.1-beta.4
Stable pulp images.
Describe the bug
Distribution "base_url" value is useless and wrong (or maybe I'm wrong).
Also, it is strange that "Not all 1 entries were shown" is displayed, but this is another issue of pulp cli.
The base_url value "http://pulp-web-svc.pulp.svc.cluster.local:24880/pulp/content/mongo-6/tst/" does not make sense. Pulp CR is not configured to enable web at all, no pulp-web is running. There should be nothing available at that URI.
I can see from pulp-content logs that actual content is served from proper base url:
This deployment has custom ingress based on Pulp CR config, not using one created by Pulp CR due to issues with annotations I had initially.
To Reproduce
Deploy Pulp CR without web and ingress resources, but specify "ingress_host"
Create rpm remote, repo, sync and publish, create distribution.
Check properties of a distribution to see that base_url does not point to host variable ingress_host.
Expected behavior
A Pulp distribution field base_url should have proper value "https://pulp3.domain.tld/pulp/content/mongo-6/tst/"
where "pulp3.domain.tld" is actual proper hostname of the ingress by using "ingress_host" value for hostname.
The text was updated successfully, but these errors were encountered: