[Bug 1684468] [NEW] apache config in nova-placement-api has missing parameter

Yuuki Mori wrong.int1109 at gmail.com
Thu Apr 20 07:29:55 UTC 2017


Public bug reported:

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>
===

** Affects: cloud-archive
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1684468

Title:
  apache config in nova-placement-api has missing parameter

Status in Ubuntu Cloud Archive:
  New

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>
  ===

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1684468/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list