apache config in nova-placement-api has missing parameter

Bug #1684468 reported by Yuuki Mori
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
Medium
Unassigned
Ocata
Won't Fix
Undecided
Unassigned
Pike
Won't Fix
Undecided
Unassigned
Queens
Fix Released
Undecided
Unassigned

Bug Description

I'm trying OpenStack Ocata on xenial. And I faced 404 response when components of nova access nova-placement-api.
The endpoint URL is "http://controller/placement".

nova-placement-api/xenial-updates,now 2:15.0.2-0ubuntu1~cloud0 places a apache2 virtual host config in /etc/apache2/sites-available/nova-placement-api.conf.

These below lines should be added in the config.

===
Alias /placement /usr/bin/nova-placement-api
<Directory /usr/bin>
    <IfVersion >= 2.4>
        Require all granted
    </IfVersion>
    <IfVersion < 2.4>
        Order allow,deny
        Allow from all
    </IfVersion>
</Directory>
<Location /placement>
  SetHandler wsgi-script
  Options +ExecCGI
  WSGIProcessGroup nova-placement
  WSGIApplicationGroup %{GLOBAL}
  WSGIPassAuthorization On
</Location>
===

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hi Yuuki,

Thanks for reporting this bug.

We made similar updates to the keystone package in commit 2f18ab3c2156ab3815d5cf4dc570d488a622ab77 to align with the upstream recommendations, so it seems we should do the same with nova-placement-api.

Thanks,
Corey

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Keystone package for reference: lp:~ubuntu-server-dev/ubuntu/+source/keystone

Changed in cloud-archive:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hi Yuuki,

I've uploaded a fix for this to bionic (OpenStack Queens). For releases prior to OpenStack Queens, you can still register an endpoint with the port, ie. http://controller:8778.

Thanks,
Corey

Changed in cloud-archive:
importance: High → Medium
Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

I'm marking this wontfix for Ocata and Pike as those are end of life.

Changed in cloud-archive:
status: Triaged → 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.