Bug 1430540 - [Ocata] openstack-nova-placement-api-15.0.0-1.el7.noarch missing <Directory> parameter
Summary: [Ocata] openstack-nova-placement-api-15.0.0-1.el7.noarch missing <Directory> ...
Keywords:
Status: POST
Alias: None
Product: RDO
Classification: Community
Component: openstack-nova
Version: trunk
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: trunk
Assignee: nlevinki
QA Contact: Prasanth Anbalagan
URL:
Whiteboard:
Depends On:
Blocks: 1434944
TreeView+ depends on / blocked
 
Reported: 2017-03-08 21:51 UTC by Matt Dorn
Modified: 2018-11-02 22:01 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1434944 (view as bug list)
Environment:
Last Closed:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
RDO 5954 None None None 2017-03-24 18:24:10 UTC

Description Matt Dorn 2017-03-08 21:51:43 UTC
Description of problem:
openstack-nova-placement-api-15.0.0-1.el7 places a virtual host file in
/etc/httpd/conf.d/00-nova-placement-api.conf.  This file is missing the
<Directory> parameter.  Should add:

<Directory /usr/bin>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
    </Directory>



Version-Release number of selected component (if applicable):
15.0.0-1.el7 [Ocata]

How reproducible:
yum install openstack-nova-placement-api-

Steps to Reproduce:
1.
2.
3.

Actual results:

Will get an error in /var/log/nova/nova-compute.log

2017-03-07 15:48:34.956 21930 ERROR nova.scheduler.client.report [req-c2cd8993-1c3e-4443-a262-4fa2de789959 - - - - -] Failed to create resource provider record in placement API for UUID cbbf44b0-fad2-4ad3-a9c5-611890b5ab4c. Got 403: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /resource_providers
on this server.</p>
</body></html>

Expected results:


Additional info:

Comment 1 Petr Kovar 2017-03-20 17:27:18 UTC
A related upstream manual installation docs change:

https://review.openstack.org/#/c/438328/


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