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> ...
Status: POST
Alias: None
Product: RDO
Classification: Community
Component: openstack-nova
Version: trunk
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: trunk
Assignee: nlevinki
QA Contact: nova-maint
Depends On:
Blocks: 1434944
TreeView+ depends on / blocked
Reported: 2017-03-08 21:51 UTC by Matt Dorn
Modified: 2021-05-19 21:51 UTC (History)
10 users (show)

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

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
RDO 5954 0 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 < 2.4>
            Order allow,deny
            Allow from all

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:

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">
<title>403 Forbidden</title>
<p>You don't have permission to access /resource_providers
on this server.</p>

Expected results:

Additional info:

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


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