Project

Profile

Help

Issue #522

closed

Changing relative URL doesn't remove old URL.

Added by akegata@gmail.com about 9 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.4.0
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:
If a repo is published over http/https and the relative URL is later changed and the repo republished, the old relative URL still exists (although not everything published it still there, seems like only the listing files and the folders are left).

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

How reproducible:
Easily

Steps to Reproduce:
1. Create repo with relative URL RHEL
2. pulp-admin rpm repo publish run --repo-id RHEL
3. pulp-admin rpm repo update --relative-url RedHat --repo-id RHEL
4. pulp-admin rpm repo publish run --repo-id RHEL
5. Check the available folders at <server>/pulp/repos

Actual results:
Both folders RHEL and RedHat exist.

Expected results:
Only the RedHat folder should remain.

Additional info:

+ This bug was cloned from Bugzilla Bug #1141252 +


Related issues

Related to Pulp - Issue #671: On sync and delete, relative urls conflict with relative urls of deleted reposCLOSED - CURRENTRELEASEamacdona@redhat.comActions
Has duplicate Pulp - Issue #1946: pulp-admin rpm repo update --relative-url doesn't clean up after itselfCLOSED - DUPLICATEActions

Also available in: Atom PDF