during nova service install ,an unneeded httpd conf bug fix causes openstack client cli crash

Bug #1700999 reported by pini
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Low
Harshavardhan Metla
Pike
New
Undecided
Unassigned
Queens
New
Undecided
Unassigned
Rocky
In Progress
Low
Harshavardhan Metla

Bug Description

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

pini (pkomarov)
description: updated
pini (pkomarov)
description: updated
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Petr Kovar (pmkovar) wrote :

The content in question is being moved to the nova repository, see https://review.openstack.org/#/c/477488/.

I'm also not sure about the suggested fix, the nova placement configuration is not a verification step.

affects: openstack-manuals → nova
Changed in nova:
assignee: nobody → Harshavardhan Metla (harsha24)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/737215

Changed in nova:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.opendev.org/738081

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Harshavardhan Metla (<email address hidden>) on branch: master
Review: https://review.opendev.org/738081

Revision history for this message
melanie witt (melwitt) wrote :

This bug is from 2017 and affects only older releases: Rocky, Queens, Pike so I'm setting the importance to Low.

Note: For ocata, this text is in the openstack-manuals repo (not nova).

Changed in nova:
importance: High → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Harshavardhan Metla (<email address hidden>) on branch: master
Review: https://review.opendev.org/737215
Reason: since the change needs to be done on openstack-manuals and older verions

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/744681

Revision history for this message
melanie witt (melwitt) wrote :

This is not an issue on the master branch, so marking it as Invalid for master.

Changed in nova:
status: In Progress → Invalid
no longer affects: openstack-manuals
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (stable/rocky)

Change abandoned by "Elod Illes <email address hidden>" on branch: stable/rocky
Review: https://review.opendev.org/c/openstack/nova/+/744681
Reason: This branch transitioned to End of Life for this project, open patches needs to be closed to be able to delete the branch.

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.