Comment 0 for bug 1700999

Revision history for this message
pini (pkomarov) wrote :

- [X] This doc is inaccurate in this way:

please remove the section below , it breaks the openstack client cli :
details further down ...

"""

    Due to a packaging bug, you must enable access to the Placement API by adding the following configuration to /etc/httpd/conf.d/00-nova-placement-api.conf:

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

    Restart the httpd service:

    # systemctl restart httpd

"""

this bug is for version nova packages ver.15.0.0, the current packages which are supplied by : yum install centos-release-openstack-ocata on centos7.3 are version
15.0.3 , for the latest versions this bug is fixed.
https://bugzilla.redhat.com/show_bug.cgi?id=1430540

furthermore , when you do add this <directory> section to the named httpd conf file. it causes the following error on all openstack client cli :

#openstack endpoint list;openstack catalog list
Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
Internal Server Error (HTTP 500)
Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
Internal Server Error (HTTP 500)

The solution is to undo && redo the following part of the identity service install :
https://docs.openstack.org/ocata/install-guide-rdo/keystone-install.html

OS details :
CentOS Linux release 7.3.1611 (Core)
Derived from Red Hat Enterprise Linux 7.3 (Source)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)
cpe:/o:centos:centos:7

-----------------------------------
Release: 15.0.0 on 2017-06-22 12:09
SHA: 33b12839643984b75465df265ee355683e40c6cf
Source: https://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/install-guide/source/nova-controller-install.rst
URL: https://docs.openstack.org/ocata/install-guide-rdo/nova-controller-install.html