Bug 916345 - The pulp_nodes.conf Apache file offends Apache 2.4
Summary: The pulp_nodes.conf Apache file offends Apache 2.4
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: Master
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: Jeff Ortel
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-27 21:24 UTC by Randy Barlow
Modified: 2013-04-08 16:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-08 16:02:25 UTC
Embargoed:


Attachments (Terms of Use)

Description Randy Barlow 2013-02-27 21:24:03 UTC
$ sudo systemctl status httpd.service
httpd.service - The Apache HTTP Server
	  Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
	  Active: failed (Result: exit-code) since Wed 2013-02-27 16:12:12 EST; 1s ago
	 Process: 22439 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=1/FAILURE)
	 Process: 22437 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)

Feb 27 16:12:12 where.rdu.redhat.com httpd[22437]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf.d/pulp.conf:52
Feb 27 16:12:12 where.rdu.redhat.com httpd[22437]: AH00526: Syntax error on line 33 of /etc/httpd/conf.d/pulp_nodes.conf:
Feb 27 16:12:12 where.rdu.redhat.com httpd[22437]: Your SSL library does not have support for per-directory CA
Feb 27 16:12:12 where.rdu.redhat.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Feb 27 16:12:12 where.rdu.redhat.com httpd[22439]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf.d/pulp.conf:52
Feb 27 16:12:12 where.rdu.redhat.com httpd[22439]: AH00526: Syntax error on line 33 of /etc/httpd/conf.d/pulp_nodes.conf:
Feb 27 16:12:12 where.rdu.redhat.com httpd[22439]: Your SSL library does not have support for per-directory CA
Feb 27 16:12:12 where.rdu.redhat.com systemd[1]: httpd.service: control process exited, code=exited status=1
Feb 27 16:12:12 where.rdu.redhat.com systemd[1]: Failed to start The Apache HTTP Server.
Feb 27 16:12:12 where.rdu.redhat.com systemd[1]: Unit httpd.service entered failed state

Comment 2 Michael Hrivnak 2013-02-27 22:31:49 UTC
Not having been involved in the discussion thus far, I might be stating the obvious. I think it would be reasonable to remove the offending SSLCACertificateFile line and trust that the platform config has already declared it. Unless pulp_node wants to create its own virtual host (with its own FQDN and/or port), it will be at the mercy of the platform's SSL config.

Comment 3 Sayli Karmarkar 2013-02-27 23:01:35 UTC
(In reply to comment #2)
> Not having been involved in the discussion thus far, I might be stating the
> obvious. I think it would be reasonable to remove the offending
> SSLCACertificateFile line and trust that the platform config has already
> declared it. Unless pulp_node wants to create its own virtual host (with its
> own FQDN and/or port), it will be at the mercy of the platform's SSL config.

Ya, that's exactly what I suggested Jeff. We just need to make sure this config works correctly in both old and new versions of mod_ssl and httpd.

Comment 4 Jeff Ortel 2013-03-02 22:17:23 UTC
Removed SSLCACertificateFile and verified SSL still works in apache 2.2.

https://github.com/pulp/pulp/pull/360

Comment 5 Jeff Ortel 2013-03-06 15:20:46 UTC
build: 2.1.0-0.20.beta

Comment 6 Randy Barlow 2013-03-19 15:03:47 UTC
I can confirm that we can run Pulp in Apache 2.4.

Comment 7 Preethi Thomas 2013-03-19 19:01:14 UTC
[root@ibm-x3550m3-11 ~]# rpm -q pulp-server
pulp-server-2.1.0-0.23.beta.noarch
[root@ibm-x3550m3-11 ~]# 


[root@ibm-x3550m3-11 ~]# sudo systemctl status httpd.service
httpd.service - The Apache HTTP Server
	  Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
	  Active: active (running) since Tue 2013-03-19 20:54:07 EDT; 5min ago
	Main PID: 2127 (httpd)
	  Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
	  CGroup: name=systemd:/system/httpd.service
		  ├─2127 /usr/sbin/httpd -DFOREGROUND
		  ├─2128 (wsgi:pulp)     -DFOREGROUND
		  ├─2129 /usr/sbin/httpd -DFOREGROUND
		  ├─2130 /usr/sbin/httpd -DFOREGROUND
		  ├─2131 /usr/sbin/httpd -DFOREGROUND
		  ├─2132 /usr/sbin/httpd -DFOREGROUND
		  └─2133 /usr/sbin/httpd -DFOREGROUND

Mar 19 20:54:07 ibm-x3550m3-11.lab.eng.brq.redhat.com systemd[1]: Started The...
[root@ibm-x3550m3-11 ~]#

Comment 8 Preethi Thomas 2013-04-08 16:02:25 UTC
Pulp 2.1 released 


http://www.pulpproject.org/2013/04/05/pulp-2-1-0-released/


Note You need to log in before you can comment on or make changes to this bug.