Project

Profile

Help

Issue #8235

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

Added by daviddavis 3 months ago. Updated 3 months ago.

Status:
NEW
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

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.

History

#1 Updated by daviddavis 3 months ago

  • Project changed from Pulp to Ansible Plugin

#2 Updated by pulpbot 3 months ago

  • Status changed from NEW to POST

#3 Updated by daviddavis 3 months ago

  • Description updated (diff)

#4 Updated by daviddavis 3 months ago

  • Description updated (diff)

#5 Updated by daviddavis 3 months ago

  • Project changed from Ansible Plugin to Pulp

#6 Updated by daviddavis 3 months ago

  • Status changed from POST to NEW

#7 Updated by fao89 3 months ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 90

#8 Updated by daviddavis 3 months ago

  • Sprint deleted (Sprint 90)

Please register to edit this issue

Also available in: Atom PDF