Project

Profile

Help

Issue #2072

closed

changing yum distributor to not publish via http leaves broken symlink

Added by jsherril@redhat.com almost 8 years ago. Updated about 5 years ago.

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

Description

changing a repo from serve via http from true to false results in a broken symlink:

pulp-admin rpm repo create --serve-http=true --repo-id=bar
pulp-admin rpm repo publish run --repo-id=bar
pulp-admin rpm repo update --serve-http=false --repo-id=bar
pulp-admin rpm repo publish run --repo-id=bar

notice broken symlink:

ls -l /var/lib/pulp/published/yum/http/repos/ -l

Not a huge issue, but exposed a bug in our yum_clone_distributor that was a bit tricky to track down, this can be worked around

Also available in: Atom PDF