Project

Profile

Help

Issue #6601

closed

pulp_installer has an unneeded 'pulp_webserver_static_dir' variable

Added by dkliban@redhat.com over 2 years ago. Updated over 2 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

Actions #1

Updated by mdellweg over 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to mdellweg

Added by mdellweg over 2 years ago

Revision add6a7f0

Remove pulp_webserver_static_dir

fixes #6601 https://pulp.plan.io/issues/6601

Added by mdellweg over 2 years ago

Revision add6a7f0

Remove pulp_webserver_static_dir

fixes #6601 https://pulp.plan.io/issues/6601

Actions #2

Updated by mdellweg over 2 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #3

Updated by mdellweg over 2 years ago

  • Sprint set to Sprint 71
Actions #4

Updated by bmbouter over 2 years ago

  • Category set to Installer - Moved to GitHub issues
  • Tags deleted (Pulp 3 installer)
Actions #5

Updated by dkliban@redhat.com over 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF