← Back to team overview

yahoo-eng-team team mailing list archive

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

 

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

** Also affects: nova/rocky
   Importance: Undecided
       Status: New

** Also affects: nova/pike
   Importance: Undecided
       Status: New

** Also affects: nova/queens
   Importance: Undecided
       Status: New

** Changed in: nova
       Status: In Progress => Invalid

** Changed in: nova/rocky
   Importance: Undecided => Low

** Changed in: nova/rocky
       Status: New => In Progress

** Changed in: nova/rocky
     Assignee: (unassigned) => Harshavardhan Metla (harsha24)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1700999

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

Status in OpenStack Compute (nova):
  Invalid
Status in OpenStack Compute (nova) pike series:
  New
Status in OpenStack Compute (nova) queens series:
  New
Status in OpenStack Compute (nova) rocky series:
  In Progress

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1700999/+subscriptions