Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1489805 - Missing configuration keys prevents sahara from spawning clusters
Missing configuration keys prevents sahara from spawning clusters
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-sahara (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
urgent Severity urgent
: beta
: 12.0 (Pike)
Assigned To: Telles Nobrega
Luigi Toscano
: Regression, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-08 08:12 EDT by Luigi Toscano
Modified: 2018-02-05 14:12 EST (History)
6 users (show)

See Also:
Fixed In Version: openstack-sahara-7.0.1-0.20170912230210.bdc7d83.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 17:08:14 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1715681 None None None 2017-09-08 08:12 EDT
OpenStack gerrit 502101 None None None 2017-09-08 12:48 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Luigi Toscano 2017-09-08 08:12:41 EDT
Description of problem:
Due to some change forced by the switch to newer keystone version (see https://review.openstack.org/#/c/485521/), the trust mechanism in Sahara uses the configuration values from the section [keystone_authtoken] (this may change in the future).
Two of the values that are needed by Sahara (user_domain_name and project_domain_name) are not filled (even with default values) by default by puppet-sahara. sahara-engine tries to read them when starting to create a cluster (two KeyError exceptions visible in sahara-engine.log).

A simple fix is change the function which retrieves those values to accept a default value (which is easier than changing all systems which writes sahara.conf).

A fix was proposed upstream but it's not yet in stable/pike; this is to ensure that it will be imported.

Version-Release number of selected component (if applicable):
openstack-sahara-common-7.0.0-0.20170821133416.c07f479.el7ost.noarch
python-saharaclient-1.3.0-0.20170821151147.4275d17.el7ost.noarch
python-sahara-7.0.0-0.20170821133416.c07f479.el7ost.noarch
openstack-sahara-engine-7.0.0-0.20170821133416.c07f479.el7ost.noarch


Additional info:
Comment 2 Luigi Toscano 2017-09-08 12:48:29 EDT
Fix merged in master, backport for pike proposed.
Comment 3 Paul Grist 2017-09-12 20:46:47 EDT
Stable Pike merged, moving to POST to move this forward.
Comment 6 Luigi Toscano 2017-10-20 05:03:49 EDT
The patch landed in a format that could be tested (and it's not going away from that branch).

It is now possible to spawn clusters.

Tested with a containerized deployment (Spark and CDH 5.7):
openstack-sahara-api-7.0.1-0.20170912230210.bdc7d83.el7ost.noarch
openstack-sahara-engine-7.0.1-0.20170912230210.bdc7d83.el7ost.noarch
python-saharaclient-1.3.0-0.20170821151147.4275d17.el7ost.noarch
openstack-sahara-common-7.0.1-0.20170912230210.bdc7d83.el7ost.noarch
python-sahara-7.0.1-0.20170912230210.bdc7d83.el7ost.noarch
Comment 10 errata-xmlrpc 2017-12-13 17:08:14 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462

Note You need to log in before you can comment on or make changes to this bug.