Actions
Issue #2104
closedCannot sync repo from root of host
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
Consider this reproducer:
pulp-admin rpm repo create --repo-id zoo --feed http://localhost/
That will produce the following user visible error in pulp-admin
Value for [relative_url] must be be a relative path: /zoo
Also this traceback is produced on the server side:
Causes this 500 error:
Jul 25 14:49:27 dev pulp[17151]: pulp.server.controllers.repository:ERROR: (17151-89792) Exception adding distributor to repo [zoo]; the repo will be deleted
Jul 25 14:49:27 dev pulp[17151]: pulp.server.controllers.repository:ERROR: (17151-89792) Traceback (most recent call last):
Jul 25 14:49:27 dev pulp[17151]: pulp.server.controllers.repository:ERROR: (17151-89792) File "/home/vagrant/devel/pulp/server/pulp/server/controllers/repository.py", line 425, in create_repo
Jul 25 14:49:27 dev pulp[17151]: pulp.server.controllers.repository:ERROR: (17151-89792) dist_controller.add_distributor(repo_id, type_id, plugin_config, auto_publish, dist_id)
Jul 25 14:49:27 dev pulp[17151]: pulp.server.controllers.repository:ERROR: (17151-89792) File "/home/vagrant/devel/pulp/server/pulp/server/controllers/distributor.py", line 77, in add_distributor
Jul 25 14:49:27 dev pulp[17151]: pulp.server.controllers.repository:ERROR: (17151-89792) raise exceptions.PulpDataException(message)
Jul 25 14:49:27 dev pulp[17151]: pulp.server.controllers.repository:ERROR: (17151-89792) PulpDataException: Value for [relative_url] must be be a relative path: /zoo
Actions