Actions
Issue #8235
closedAttributeError: 'Settings' object has no attribute 'CONTENT_ORIGIN'
Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Ticket moved to GitHub: "pulp/pulpcore/1968":https://github.com/pulp/pulpcore/issues/1968
Reproducer:
- Have pulpcore and pulp_ansible installed
- Unset
CONTENT_ORIGIN
in your settings file.
Observe that you get an ugly AttributeError instead of the user friendly error that pulpcore raises.
This is caused because pulpcore loads the plugin settings before checking if CONTENT_ORIGIN is defined.
Actions