Issue #293
closed
Apache Complains On Missing Pulp Modules
Status:
CLOSED - CURRENTRELEASE
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>
- Severity set to Low
- Version set to 2.6 Beta
- Triaged changed from No to Yes
- Severity changed from Low to 1. Low
- Has duplicate Issue #1001: httpd pulp.conf: use IncludeOptional instead of Include added
- 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.
rbarlow wrote:
This blocks users from install pulp_docker and no other plugins.
+1 to raising this to High/High
- Status changed from NEW to ASSIGNED
- Assignee set to jcline@redhat.com
- Status changed from ASSIGNED to POST
- Has duplicate Issue #418: pulp does not start if no plugins that place a file in /etc/pulp/vhosts80 are installed added
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Platform Release set to 2.8.0
- Status changed from MODIFIED to 5
- 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>
- Status changed from 6 to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
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