Project

Profile

Help

Issue #3981

closed

Switch Pulp3 settings to Dynaconf

Added by bmbouter about 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
(Total: 0:00 h)
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 43
Quarter:

Description

Problem

The .yaml format for the settings file is creating several challenges:

Proposal:

Have Pulp use the Dynaconf Django: plugin.https://dynaconf.readthedocs.io/en/latest/guides/django.html#settings-files Users would still specify DJANGO_SETTINGS_MODULE=pulpcore.app.settings but dynaconf would be overlaying settings from a dynaconf config file or from environment variables.

This would give us environment variable support and allow some installs to run without any config file at all.

Also the docs need updating so users know they can use dynaconf to configure Pulp with and to refer to their docs.


Sub-issues 4 (0 open4 closed)

Issue #3618: database configuration docs are confusingCLOSED - CURRENTRELEASEdkliban@redhat.comActions
Issue #3879: Cannot opt out of settings defaults due to merging of settingsCLOSED - CURRENTRELEASEdkliban@redhat.comActions
Story #3943: As a user, I can configure Pulp using environment variablesCLOSED - CURRENTRELEASEdkliban@redhat.com

Actions
Issue #3980: Redis only works on localhostCLOSED - CURRENTRELEASEdkliban@redhat.comActions

Also available in: Atom PDF