Project

Profile

Help

Issue #8235

closed

AttributeError: 'Settings' object has no attribute 'CONTENT_ORIGIN'

Added by daviddavis about 3 years ago. Updated about 2 years ago.

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:

  1. Have pulpcore and pulp_ansible installed
  2. 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 #1

Updated by daviddavis about 3 years ago

  • Project changed from Pulp to Ansible Plugin
Actions #2

Updated by pulpbot about 3 years ago

  • Status changed from NEW to POST
Actions #3

Updated by daviddavis about 3 years ago

  • Description updated (diff)
Actions #4

Updated by daviddavis about 3 years ago

  • Description updated (diff)
Actions #5

Updated by daviddavis about 3 years ago

  • Project changed from Ansible Plugin to Pulp
Actions #6

Updated by daviddavis about 3 years ago

  • Status changed from POST to NEW
Actions #7

Updated by fao89 about 3 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 90
Actions #8

Updated by daviddavis about 3 years ago

  • Sprint deleted (Sprint 90)
Actions #9

Updated by pulpbot about 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF