Project

Profile

Help

Issue #6601

closed

pulp_installer has an unneeded 'pulp_webserver_static_dir' variable

Added by dkliban@redhat.com over 4 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 71
Quarter:

Description

After installing pulp 3 using pulp_installer, the following error message is emitted by the web server.

AH01276: Cannot serve directory /usr/local/lib/pulp/lib/python3.7/site-packages/rest_framework/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive

This is due to these extra lines being present in the server configs:

https://github.com/pulp/pulp_installer/blob/master/roles/pulp-webserver/templates/nginx.conf.j2#L46

https://github.com/pulp/pulp_installer/blob/c7692921f2e740ad5bce8b9153e8f0a5054131d9/roles/pulp-webserver/templates/pulp-vhost.conf.j2#L7-L14

https://github.com/pulp/pulp_installer/blob/c7692921f2e740ad5bce8b9153e8f0a5054131d9/roles/pulp-webserver/defaults/main.yml#L9

We should also remove this variable from the README.

https://github.com/pulp/pulp_installer/blob/c7692921f2e740ad5bce8b9153e8f0a5054131d9/roles/pulp-webserver/README.md

Also available in: Atom PDF