Project

Profile

Help

Issue #293

Apache Complains On Missing Pulp Modules

Added by Skullman over 5 years ago. Updated over 1 year 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 - DUPLICATE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Has duplicate Pulp - Issue #418: pulp does not start if no plugins that place a file in /etc/pulp/vhosts80 are installedCLOSED - DUPLICATE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 4cc3b7c7 View on GitHub
Added by Jeremy Cline almost 5 years ago

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

Revision 4cc3b7c7 View on GitHub
Added by Jeremy Cline almost 5 years ago

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

History

#1 Updated by Skullman over 5 years ago

  • Severity set to Low
  • Version set to 2.6 Beta

#2 Updated by bmbouter over 5 years ago

  • Triaged changed from No to Yes

#3 Updated by bmbouter over 5 years ago

  • Severity changed from Low to 1. Low

#4 Updated by mhrivnak about 5 years ago

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

#5 Updated by rbarlow about 5 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.

#6 Updated by bmbouter about 5 years ago

rbarlow wrote:

This blocks users from install pulp_docker and no other plugins.

+1 to raising this to High/High

#7 Updated by jcline@redhat.com almost 5 years ago

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

#8 Updated by jcline@redhat.com almost 5 years ago

  • Status changed from ASSIGNED to POST

#9 Updated by jcline@redhat.com almost 5 years ago

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

#10 Updated by Anonymous almost 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#11 Updated by jcline@redhat.com almost 5 years ago

  • Platform Release set to 2.8.0

#12 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from MODIFIED to 5

#13 Updated by pthomas@redhat.com over 4 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>

#14 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#16 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF