Project

Profile

Help

Issue #293

closed

Apache Complains On Missing Pulp Modules

Added by Skullman over 9 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.6 Beta
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

Pulp modules are included using:

<VirtualHost *:80>
    Include /etc/pulp/vhosts80/*.conf
</VirtualHost>

This leads to failure in case no module is loaded - eg. not present rpm/puppet.conf. This can be easily avoided by using different configuration notation - for example IncludeOptional:

<VirtualHost *:80>
    IncludeOptional /etc/pulp/vhosts80/*.conf
</VirtualHost>

Related issues

Has duplicate Pulp - Issue #1001: httpd pulp.conf: use IncludeOptional instead of IncludeCLOSED - DUPLICATEActions
Has duplicate Pulp - Issue #418: pulp does not start if no plugins that place a file in /etc/pulp/vhosts80 are installedCLOSED - DUPLICATEActions
Actions #1

Updated by Skullman over 9 years ago

  • Severity set to Low
  • Version set to 2.6 Beta
Actions #2

Updated by bmbouter over 9 years ago

  • Triaged changed from No to Yes
Actions #3

Updated by bmbouter over 9 years ago

  • Severity changed from Low to 1. Low
Actions #4

Updated by mhrivnak over 9 years ago

  • Has duplicate Issue #1001: httpd pulp.conf: use IncludeOptional instead of Include added
Actions #5

Updated by rbarlow about 9 years ago

  • Priority changed from Low to High
  • Severity changed from 1. Low to 3. High

This blocks users from install pulp_docker and no other plugins.

Actions #6

Updated by bmbouter about 9 years ago

rbarlow wrote:

This blocks users from install pulp_docker and no other plugins.

+1 to raising this to High/High

Actions #7

Updated by jcline@redhat.com about 9 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jcline@redhat.com

Added by Jeremy Cline about 9 years ago

Revision 4cc3b7c7 | View on GitHub

Apache 2.4 now starts without a conf file in /etc/pulp/vhost80/

In Apache 2.4 when an 'Include' command fails to match any file Apache will fail to start. This is avoided by using the 'IncludeOptional' command. In 2.2 the 'Include' command acts in a similar fashion to the 'IncludeOptional' command in 2.4, so that configuration remains unchanged.

Closes #293

Added by Jeremy Cline about 9 years ago

Revision 4cc3b7c7 | View on GitHub

Apache 2.4 now starts without a conf file in /etc/pulp/vhost80/

In Apache 2.4 when an 'Include' command fails to match any file Apache will fail to start. This is avoided by using the 'IncludeOptional' command. In 2.2 the 'Include' command acts in a similar fashion to the 'IncludeOptional' command in 2.4, so that configuration remains unchanged.

Closes #293

Actions #8

Updated by jcline@redhat.com about 9 years ago

  • Status changed from ASSIGNED to POST
Actions #9

Updated by jcline@redhat.com about 9 years ago

  • Has duplicate Issue #418: pulp does not start if no plugins that place a file in /etc/pulp/vhosts80 are installed added
Actions #10

Updated by Anonymous about 9 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #11

Updated by jcline@redhat.com about 9 years ago

  • Platform Release set to 2.8.0
Actions #12

Updated by dkliban@redhat.com over 8 years ago

  • Status changed from MODIFIED to 5
Actions #13

Updated by pthomas@redhat.com over 8 years ago

  • Status changed from 5 to 6

Verified
[root@mgmt3 ~]# rpm -qa pulp-server
pulp-server-2.8.0-0.6.beta.git.40.28675fb.el7.noarch
[root@mgmt3 ~]#

/etc/httpd/conf.d/pulp.conf

<VirtualHost :80>
IncludeOptional /etc/pulp/vhosts80/
.conf
</VirtualHost>

Actions #14

Updated by dkliban@redhat.com over 8 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #16

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF