Deployment fails due to apache misconfiguration

Bug #1412347 reported by Alexei Sheplyakov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Sergii Golovatiuk

Bug Description

Apache fails to start with the following error:

root@node-1:# service apache2 restart

 * Restarting web server apache2
   ...fail!
 * The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 29 of /etc/apache2/sites-enabled/25-apache_api_proxy.conf:
Invalid command 'AllowCONNECT', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.

The AllowCONNECT directive is defined in the proxy_connect module which should be explicitly enabled.

Revision history for this message
Alexei Sheplyakov (asheplyakov) wrote :
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
importance: Undecided → High
Changed in fuel:
status: New → Triaged
tags: added: low-hanging-fruit
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Alexei Sheplyakov (asheplyakov)
status: Triaged → In Progress
Changed in fuel:
assignee: Alexei Sheplyakov (asheplyakov) → Sergii Golovatiuk (sgolovatiuk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/143957
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=914b5655e9da034bb3076580990f60d16f24091d
Submitter: Jenkins
Branch: master

commit 914b5655e9da034bb3076580990f60d16f24091d
Author: Alexei Sheplyakov <email address hidden>
Date: Mon Jan 19 12:04:15 2015 +0300

    API proxy: enable the proxy_connect module

    AllowCONNECT directive is implemented by mod_proxy_connect since Apache 2.3.5
    Therefore this module must be enabled before using the AllowCONNECT directive.
    Otherwise apache refuses to start due to invalid configuration command.

    blueprint support-ubuntu-trusty
    Closes-Bug: #1412347

    Puppet Labs Ticket: https://tickets.puppetlabs.com/browse/MODULES-1684
    Pull Request: https://github.com/puppetlabs/puppetlabs-apache/pull/987

    Change-Id: I3777b328e919a0955639ded213fd314ad55d8146
    Signed-off-by: Sergii Golovatiuk <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Alexander Nevenchannyy (anevenchannyy) wrote :

Verified on MOS 6.1 ISO #429
Steps to Verify:

root@node-1:/# service apache2 restart
 * Restarting web server apache2 AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/ports.conf:10

Changed in fuel:
status: Fix Committed → Won't Fix
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.