← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1700999] [NEW] during nova service install , an unneeded httpd conf bug fix causes openstack client cli crash

 

You have been subscribed to a public bug:

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

Hi ,

Please MOVE the quoted section below from :

https://docs.openstack.org/ocata/install-guide-rdo/nova-controller-
install.html#install-and-configure-components

To:

https://docs.openstack.org/ocata/install-guide-rdo/nova-verify.html
(before no.5).

reason:

When the patch is done at the original location it breaks the openstack
client cli , breaking openstack configuration cli (openstack user create
...etc.):

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

"""

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)

Bug suggested solution :
Please MOVE the mentioned section to https://docs.openstack.org/ocata/install-guide-rdo/nova-verify.html (before no.5 - nova-status upgrade check).
Adding the httpd section patch at this step works flawlessly.

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

openstack vers. :
#rpm -qa |grep openstack-nova
openstack-nova-common-15.0.3-2.el7.noarch
openstack-nova-conductor-15.0.3-2.el7.noarch
openstack-nova-api-15.0.3-2.el7.noarch
openstack-nova-console-15.0.3-2.el7.noarch
openstack-nova-scheduler-15.0.3-2.el7.noarch
openstack-nova-novncproxy-15.0.3-2.el7.noarch

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

** Affects: nova
     Importance: High
         Status: Confirmed


** Tags: httpd install install-guide nova
-- 
during nova service install ,an unneeded httpd conf bug fix causes openstack client cli crash
https://bugs.launchpad.net/bugs/1700999
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova).