Project

Profile

Help

Story #2538

Search paths other than EL defaults for configuration

Added by sysadmind almost 4 years ago. Updated over 1 year ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

I've been testing running pulp on systems other than EL and this was one of the major blockers to getting pulp-admin to run. Pulp assumes that certain directories and paths will exist and where certain files will be on the filesystem.

Notable Examples:
https://github.com/pulp/pulp/blob/master/client_admin/pulp/client/admin/config.py#L8 - client-admin DEFAULT config hard codes many paths like extension directory, ca_path
https://github.com/pulp/pulp/blob/master/client_admin/pulp/client/admin/config.py#L81 - this if statement assumes that several paths exist.
https://github.com/pulp/pulp/blob/master/server/pulp/server/config.py#L47 - similar to the client-admin DEFAULT config

I believe that these paths should instead default to a list of potential paths that these requirements could be found by default. This is similar in concept to how $PATH works in a shell. I think that a list of paths could be used and iterated over to find a good default value for the system before being loaded into the DEFAULT config object.


Related issues

Related to RPM Support - Task #2699: Ensure all default CA_PATH settings to work with multiple distribution default locations in Pulp3NEW

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by sysadmind almost 4 years ago

#2 Updated by bizhang over 3 years ago

  • Related to Task #2699: Ensure all default CA_PATH settings to work with multiple distribution default locations in Pulp3 added

#3 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

#4 Updated by bmbouter over 1 year ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#5 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF