Project

General

Profile

Actions

Bug #30785

closed

Missed slash at the end of the repos

Added by jeschero please_edit_me over 3 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Hello,

i have a bug/problem with the repo url on the clients.

My enviroment:
- Centos 7
- Foreman 2.1
- Katello 3.16

I have create a product for Centos 7 and repository for this. After this i have create a content-view and an activation-key for this product.
Now add i a client and the registration is successful, but i can't install any programms.

Night a few tests i have found the problem:
subscription-manager create this url: "https://<hostname>/pulp/repos/<domain>/Library/CentOS7_CV/custom/CentOS7/CentOS7_OS", but in a browser i get the message "404: Not Found".
But if a add a slash at the end of the url (https://&lt;hostname&gt;/pulp/repos/&lt;domain&gt;/Library/CentOS7_CV/custom/CentOS7/CentOS7_OS/) i can see the repos in the browser and add i the slash in the redhat.repo i can install programs and update the system.
After a "subscription-manager refresh/subscription-manager repos --list" the subscription-manager remove the slash und i can't install programs and update.

Actions

Also available in: Atom PDF